EvilEngine/SPLP: Difference between revisions

format
No edit summary
(format)
 
Line 9:
</onlyinclude>
{{AutoAssetInfobox}}
 
==Format==
 
<source lang=cpp>
class spline_path : public xBaseAsset
{
public:
unsigned char exclusive;
unsigned char used;
unsigned char has_hover;
unsigned short forwards_count;
unsigned short backwards_count;
float speed;
float hover_time;
xVec3 hover_point;
union
{
struct
{
unsigned int spline_id;
unsigned int* forward_ids;
unsigned int* backward_ids;
};
NURBS* spline;
};
spline_path** forward_paths;
spline_path** backward_paths;
};
</source>
 
{| class="wikitable"
! Offset !! Type !! Variable !! Description
|-
| 0x08 || u8 || '''exclusive''' ||
|-
| 0x09 || u8 || '''used''' ||
|-
| 0x0A || u8 || '''has_hover''' ||
|-
| 0x0B || u8 || null || padding
|-
| 0x0C || u16 || '''forwards_count''' ||
|-
| 0x0E || u16 || '''backwards_count''' ||
|-
| 0x10 || f32 || '''speed''' ||
|-
| 0x14 || f32 || '''hover_time''' ||
|-
| 0x18 || [[Vector3]] || '''hover_point''' ||
|-
| 0x24 || [[AssetID]] || '''spline_id''' || [[SPLN]]
|-
| 0x28 || u32 || '''forward_ids''' ||
|-
| 0x2C || u32 || '''backwards_ids''' ||
|}
 
{{Assets}}