Forums WoW Modding Support Archives WoWModding Support Archives [DiscordArchive] I dont know for what this structure is used, but right now both look like logical, top value is same

[DiscordArchive] I dont know for what this structure is used, but right now both look like logical, top value is same

[DiscordArchive] I dont know for what this structure is used, but right now both look like logical, top value is same

Pages (2): 1 2 Next
rektbyfaith
Administrator
0
05-06-2023, 07:30 AM
#1
Archived author: Intemporel • Posted: 2023-05-06T07:30:12.682000+00:00
Original source

I dont know for what this structure is used, but right now both look like logical, top value is same things at miny, left and minx, …
I speak about when we use this for interface creation.
But why there are each time 2 members for the same things … ?
rektbyfaith
05-06-2023, 07:30 AM #1

Archived author: Intemporel • Posted: 2023-05-06T07:30:12.682000+00:00
Original source

I dont know for what this structure is used, but right now both look like logical, top value is same things at miny, left and minx, …
I speak about when we use this for interface creation.
But why there are each time 2 members for the same things … ?

rektbyfaith
Administrator
0
05-06-2023, 07:32 AM
#2
Archived author: Intemporel • Posted: 2023-05-06T07:32:28.116000+00:00
Original source

Maybe it’s for Lua shit, when we use the `anchors="TOP"`, then the engine search for the top members in this struct ?
rektbyfaith
05-06-2023, 07:32 AM #2

Archived author: Intemporel • Posted: 2023-05-06T07:32:28.116000+00:00
Original source

Maybe it’s for Lua shit, when we use the `anchors="TOP"`, then the engine search for the top members in this struct ?

rektbyfaith
Administrator
0
05-06-2023, 07:32 AM
#3
Archived author: 4bhorrent • Posted: 2023-05-06T07:32:38.431000+00:00
Original source

those are union structs: means you can access the int/long/float as either "r" or "maxx" (talking about the first screenshot).
maybe they used that to make source files compatible when developers access them with different names before (having the same struct defined twice, but with different member names)... otherwise i don't have a clue why they did that
rektbyfaith
05-06-2023, 07:32 AM #3

Archived author: 4bhorrent • Posted: 2023-05-06T07:32:38.431000+00:00
Original source

those are union structs: means you can access the int/long/float as either "r" or "maxx" (talking about the first screenshot).
maybe they used that to make source files compatible when developers access them with different names before (having the same struct defined twice, but with different member names)... otherwise i don't have a clue why they did that

rektbyfaith
Administrator
0
05-06-2023, 07:32 AM
#4
Archived author: 4bhorrent • Posted: 2023-05-06T07:32:51.785000+00:00
Original source

could be too ofc
rektbyfaith
05-06-2023, 07:32 AM #4

Archived author: 4bhorrent • Posted: 2023-05-06T07:32:51.785000+00:00
Original source

could be too ofc

rektbyfaith
Administrator
0
05-06-2023, 07:34 AM
#5
Archived author: Intemporel • Posted: 2023-05-06T07:34:44.658000+00:00
Original source

uVar11 is just the calculation to know how many pixel is in the square
rektbyfaith
05-06-2023, 07:34 AM #5

Archived author: Intemporel • Posted: 2023-05-06T07:34:44.658000+00:00
Original source

uVar11 is just the calculation to know how many pixel is in the square

rektbyfaith
Administrator
0
05-06-2023, 07:35 AM
#6
Archived author: Intemporel • Posted: 2023-05-06T07:35:00.421000+00:00
Original source

That’s look like good
rektbyfaith
05-06-2023, 07:35 AM #6

Archived author: Intemporel • Posted: 2023-05-06T07:35:00.421000+00:00
Original source

That’s look like good

rektbyfaith
Administrator
0
05-06-2023, 07:35 AM
#7
Archived author: Intemporel • Posted: 2023-05-06T07:35:37.495000+00:00
Original source

Why did you ask if it’s wrong or good?
rektbyfaith
05-06-2023, 07:35 AM #7

Archived author: Intemporel • Posted: 2023-05-06T07:35:37.495000+00:00
Original source

Why did you ask if it’s wrong or good?

rektbyfaith
Administrator
0
05-06-2023, 07:36 AM
#8
Archived author: 4bhorrent • Posted: 2023-05-06T07:36:23.527000+00:00
Original source

look at the screenshot from wowdev.wiki:
it is defined as an 8 int struct (prb bc the information about the used union struct got lost somewhere?)
rektbyfaith
05-06-2023, 07:36 AM #8

Archived author: 4bhorrent • Posted: 2023-05-06T07:36:23.527000+00:00
Original source

look at the screenshot from wowdev.wiki:
it is defined as an 8 int struct (prb bc the information about the used union struct got lost somewhere?)

rektbyfaith
Administrator
0
05-06-2023, 07:37 AM
#9
Archived author: 4bhorrent • Posted: 2023-05-06T07:37:11.273000+00:00
Original source

(was the first screenshot)
rektbyfaith
05-06-2023, 07:37 AM #9

Archived author: 4bhorrent • Posted: 2023-05-06T07:37:11.273000+00:00
Original source

(was the first screenshot)

rektbyfaith
Administrator
0
05-06-2023, 07:37 AM
#10
Archived author: Intemporel • Posted: 2023-05-06T07:37:21.128000+00:00
Original source

Ohhh I understand why
rektbyfaith
05-06-2023, 07:37 AM #10

Archived author: Intemporel • Posted: 2023-05-06T07:37:21.128000+00:00
Original source

Ohhh I understand why

Pages (2): 1 2 Next
Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)