EvilEngine/DYNA/ui:asset: Difference between revisions
< EvilEngine | DYNA
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> |
||
class zUIAsset : public xDynAsset |
|||
{ |
{ |
||
public: |
|||
float32 x; |
|||
float x; |
|||
float y; |
|||
float z; |
|||
float width; |
|||
float height; |
|||
signed int flags; |
|||
unsigned int color; |
|||
unsigned int selectedMotion; |
|||
unsigned int unselectedMotion; |
|||
uint8 brightness; |
|||
unsigned char brightness; |
|||
unsigned char pad[3]; |
|||
unsigned int autoMenuUp; |
|||
unsigned int autoMenuDown; |
|||
unsigned int autoMenuLeft; |
|||
unsigned int autoMenuRight; |
|||
uint32 custom; |
|||
unsigned int custom; |
|||
unsigned int customWidget; |
|||
}; |
}; |
||
</source> |
</source> |
||
Line 25: | Line 37: | ||
! Offset !! Type !! Variable !! Description |
! 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''' || |
||
|} |
|} |
||
Latest revision as of 16:17, 23 March 2024
ui:asset | |
---|---|
Hash | 0xA7E09FF6 |
Games used | The SpongeBob SquarePants Movie The Incredibles |
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 |