EvilEngine/DYNA/effect:water body: Difference between revisions
< EvilEngine | DYNA
Content added Content deleted
m (Seil moved page DYNA/effect:water body to EvilEngine/DYNA/effect:water body) |
No edit summary |
||
Line 12: | Line 12: | ||
<source lang=cpp> |
<source lang=cpp> |
||
⚫ | |||
struct zWaterBody : xBase |
|||
{ |
{ |
||
public: |
|||
⚫ | |||
unsigned int flags; |
|||
{ |
|||
unsigned int motion_type; |
|||
unsigned int body; |
|||
uint32 motion_type; |
|||
unsigned int facade_refract; |
|||
⚫ | |||
uint32 facade_refract; |
|||
⚫ | |||
⚫ | |||
}; |
|||
⚫ | |||
}; |
|||
</source> |
</source> |
||
Line 28: | Line 27: | ||
! Offset !! Type !! Variable !! Description |
! Offset !! Type !! Variable !! Description |
||
|- |
|- |
||
| |
| 0x10 || u32 || '''flags''' || |
||
|- |
|- |
||
| |
| 0x14 || [[AssetID]] || '''motion_type''' || |
||
|- |
|- |
||
| |
| 0x18 || [[AssetID]] || '''body''' || |
||
|- |
|- |
||
| |
| 0x1C || [[AssetID]] || '''facade_refract''' || |
||
|- |
|- |
||
| |
| 0x20 || [[AssetID]] || '''facade_reflect''' || |
||
|- |
|- |
||
| |
| 0x24 || [[AssetID]] || '''light_dir''' || |
||
|} |
|} |
||
Latest revision as of 00:54, 24 March 2024
effect:water_body | |
---|---|
Hash | 0x90D4BA5B |
Games used | The SpongeBob SquarePants Movie Rise of the Underminer |
Format
class asset_type : public xDynAsset
{
public:
unsigned int flags;
unsigned int motion_type;
unsigned int body;
unsigned int facade_refract;
unsigned int facade_reflect;
unsigned int light_dir;
};
Offset | Type | Variable | Description |
---|---|---|---|
0x10 | u32 | flags | |
0x14 | AssetID | motion_type | |
0x18 | AssetID | body | |
0x1C | AssetID | facade_refract | |
0x20 | AssetID | facade_reflect | |
0x24 | AssetID | light_dir |