EvilEngine/DYNA/ui:asset: Difference between revisions

Content added Content deleted
No edit summary
No edit summary
Line 1: Line 1:
<source lang=cpp>
struct zUIAsset : xDynAsset
{
float32 x;
float32 y;
float32 z;
float32 width;
float32 height;
int32 flags;
uint32 color;
uint32 selectedMotion;
uint32 unselectedMotion;
uint8 brightness;
uint8 pad[3];
uint32 autoMenuUp;
uint32 autoMenuDown;
uint32 autoMenuLeft;
uint32 autoMenuRight;
uint32 custom;
uint32 customWidget;
};
</source>

{| class="wikitable"
{| class="wikitable"
! Offset !! Type !! Variable !! Description
! Offset !! Type !! Variable !! Description
Line 22: Line 45:
| 0x24 || char || '''brightness''' ||
| 0x24 || char || '''brightness''' ||
|-
|-
| 0x28 || pad[3] || '''padding''' ||
| 0x25 || pad[3] || '''padding''' ||
|-
|-
| 0x34 || int || '''autoMenuUp''' ||
| 0x28 || int || '''autoMenuUp''' ||
|-
|-
| 0x38 || int || '''autoMenuDown''' ||
| 0x2C || int || '''autoMenuDown''' ||
|-
|-
| 0x3C || int || '''autoMenuLeft''' ||
| 0x30 || int || '''autoMenuLeft''' ||
|-
|-
| 0x40 || int || '''autoMenuRight''' ||
| 0x34 || int || '''autoMenuRight''' ||
|-
|-
| 0x44 || int || '''custom''' ||
| 0x38 || int || '''custom''' ||
|-
|-
| 0x48 || int || '''customWidget''' ||
| 0x3C || int || '''customWidget''' ||
|}
|}