EvilEngine/DYNA/effect:water body: Difference between revisions

no edit summary
No edit summary
 
Line 12:
 
<source lang=cpp>
structclass asset_type : public xDynAsset
struct zWaterBody : xBase
{
public:
struct asset_type : xDynAsset
unsigned int flags;
{
unsigned int uint32 flagsmotion_type;
unsigned int body;
uint32 motion_type;
unsigned int uint32 bodyfacade_refract;
unsigned uint32int facade_reflect;
uint32 facade_refract;
unsigned uint32int light_dir;
uint32 facade_reflect;
};
uint32 light_dir;
};
</source>
 
Line 28 ⟶ 27:
! Offset !! Type !! Variable !! Description
|-
| 0x000x10 || uint32u32 || '''flags''' ||
|-
| 0x040x14 || uint32[[AssetID]] || '''motion_type''' ||
|-
| 0x080x18 || uint32[[AssetID]] || '''body''' ||
|-
| 0x0C0x1C || uint32[[AssetID]] || '''facade_refract''' ||
|-
| 0x100x20 || uint32[[AssetID]] || '''facade_reflect''' ||
|-
| 0x140x24 || uint32[[AssetID]] || '''light_dir''' ||
|}