[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
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 … ?
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 ?
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
Archived author: 4bhorrent • Posted: 2023-05-06T07:32:51.785000+00:00
Original source
could be too ofc
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
Archived author: Intemporel • Posted: 2023-05-06T07:35:00.421000+00:00
Original source
That’s look like good
Archived author: Intemporel • Posted: 2023-05-06T07:35:37.495000+00:00
Original source
Why did you ask if it’s wrong or good?
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?)
Archived author: 4bhorrent • Posted: 2023-05-06T07:37:11.273000+00:00
Original source
(was the first screenshot)
Archived author: Intemporel • Posted: 2023-05-06T07:37:21.128000+00:00
Original source
Ohhh I understand why