EvilEngine/DYNA/ui:asset: Difference between revisions

From Heavy Iron Modding
Content added Content deleted
No edit summary
m (MinecraftFreak73 moved page EvilEngine/DYNA/zUIAsset to EvilEngine/DYNA/ui:asset)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<onlyinclude>
{{#vardefine:name|ui:asset}}<nowiki/>
{{#vardefine:version|}}<nowiki/>
{{#vardefine:hash|0xA7E09FF6}}<nowiki/>
{{#vardefine:games|TSSM Incredibles ROTU RatProto}}<nowiki/>
{{#vardefine:sourcecode|}}<nowiki/>
{{#vardefine:image|}}<nowiki/>
</onlyinclude>
{{AutoDynaInfobox}}

==Format==
<source lang=cpp>
<source lang=cpp>
struct zUIAsset : xDynAsset
class zUIAsset : public xDynAsset
{
{
public:
float32 x;
float32 y;
float x;
float32 z;
float y;
float32 width;
float z;
float32 height;
float width;
int32 flags;
float height;
uint32 color;
signed int flags;
uint32 selectedMotion;
unsigned int color;
unsigned int selectedMotion;
uint32 unselectedMotion;
unsigned int unselectedMotion;
uint8 brightness;
uint8 pad[3];
unsigned char brightness;
uint32 autoMenuUp;
unsigned char pad[3];
uint32 autoMenuDown;
unsigned int autoMenuUp;
unsigned int autoMenuDown;
uint32 autoMenuLeft;
unsigned int autoMenuLeft;
uint32 autoMenuRight;
unsigned int autoMenuRight;
uint32 custom;
uint32 customWidget;
unsigned int custom;
unsigned int customWidget;
};
};
</source>
</source>
Line 25: Line 37:
! Offset !! Type !! Variable !! Description
! Offset !! Type !! Variable !! Description
|-
|-
| 0x00 || float || '''x''' ||
| 0x10 || f32 || '''x''' ||
|-
|-
| 0x04 || float || '''y''' ||
| 0x14 || f32 || '''y''' ||
|-
|-
| 0x08 || float || '''z''' ||
| 0x18 || f32 || '''z''' ||
|-
|-
| 0x0C || float || '''width''' ||
| 0x1C || f32 || '''width''' ||
|-
|-
| 0x10 || float || '''height''' ||
| 0x20 || f32 || '''height''' ||
|-
|-
| 0x14 || int || '''flags''' || 1 - Visible
| 0x24 || s32 || '''flags''' || 1 - Visible
|-
|-
| 0x18 || int || '''color''' ||
| 0x28 || u32 || '''color''' ||
|-
|-
| 0x1C || int || '''selectedMotion''' ||
| 0x2C || u32 || '''selectedMotion''' ||
|-
|-
| 0x20 || int || '''unselectedMotion''' ||
| 0x30 || u32 || '''unselectedMotion''' ||
|-
|-
| 0x24 || char || '''brightness''' ||
| 0x34 || u8 || '''brightness''' ||
|-
|-
| 0x25 || pad[3] || '''padding''' ||
| 0x35 || pad[3] || '''padding''' ||
|-
|-
| 0x28 || int || '''autoMenuUp''' ||
| 0x38 || u32 || '''autoMenuUp''' ||
|-
|-
| 0x2C || int || '''autoMenuDown''' ||
| 0x3C || u32 || '''autoMenuDown''' ||
|-
|-
| 0x30 || int || '''autoMenuLeft''' ||
| 0x40 || u32 || '''autoMenuLeft''' ||
|-
|-
| 0x34 || int || '''autoMenuRight''' ||
| 0x44 || u32 || '''autoMenuRight''' ||
|-
|-
| 0x38 || int || '''custom''' ||
| 0x48 || u32 || '''custom''' ||
|-
|-
| 0x3C || int || '''customWidget''' ||
| 0x4C || u32 || '''customWidget''' ||
|}
|}



Latest revision as of 16:17, 23 March 2024

ui:asset
Hash0xA7E09FF6
Games usedThe SpongeBob SquarePants Movie

The Incredibles
Rise of the Underminer

Ratatouille Prototype

Format

class zUIAsset : public xDynAsset
{
public:
    float x;
    float y;
    float z;
    float width;
    float height;
    signed int flags;
    unsigned int color;
    unsigned int selectedMotion;
    unsigned int unselectedMotion;
    unsigned char brightness;
    unsigned char pad[3];
    unsigned int autoMenuUp;
    unsigned int autoMenuDown;
    unsigned int autoMenuLeft;
    unsigned int autoMenuRight;
    unsigned int custom;
    unsigned int customWidget;
};
Offset Type Variable Description
0x10 f32 x
0x14 f32 y
0x18 f32 z
0x1C f32 width
0x20 f32 height
0x24 s32 flags 1 - Visible
0x28 u32 color
0x2C u32 selectedMotion
0x30 u32 unselectedMotion
0x34 u8 brightness
0x35 pad[3] padding
0x38 u32 autoMenuUp
0x3C u32 autoMenuDown
0x40 u32 autoMenuLeft
0x44 u32 autoMenuRight
0x48 u32 custom
0x4C u32 customWidget