EvilEngine/MPHT: Difference between revisions
Content added Content deleted
No edit summary |
EnergyDrink (talk | contribs) No edit summary |
||
(One intermediate revision by one other user not shown) | |||
Line 14: | Line 14: | ||
! Offset !! Type !! Variable !! Description |
! Offset !! Type !! Variable !! Description |
||
|- |
|- |
||
| |
| 0x00 || u32 || '''Magic''' || |
||
|- |
|- |
||
| |
| 0x04 || u16 || '''NumTargets''' || Number of targets. |
||
|- |
|- |
||
| |
| 0x06 || u16 || '''NumVerts''' || Number of verts. |
||
|- |
|- |
||
| |
| 0x08 || u32 || '''Flags''' || |
||
|- |
|- |
||
| |
| 0x0C || f32 || '''Scale''' || |
||
|- |
|- |
||
| |
| 0x10 || [[Vector3]] || '''Center''' || |
||
|- |
|- |
||
| |
| 0x1C || f32 || '''Radius''' || |
||
|- |
|||
! 0x20 || Target[NumTargets] || || Aligned to 16-byte boundary |
|||
|- |
|||
| 0x00 || f32[NumVerts][3] or s16[NumVerts][3] || Vertices || If Scale == 0: Three floats<br>If Scale > 0: Three signed short integers. |
|||
|} |
|} |
||
Latest revision as of 16:00, 26 December 2023
MPHT | |
---|---|
Morph Target | |
Type | Binary |
Games used | Night of 100 Frights |
Format
Offset | Type | Variable | Description |
---|---|---|---|
0x00 | u32 | Magic | |
0x04 | u16 | NumTargets | Number of targets. |
0x06 | u16 | NumVerts | Number of verts. |
0x08 | u32 | Flags | |
0x0C | f32 | Scale | |
0x10 | Vector3 | Center | |
0x1C | f32 | Radius | |
0x20 | Target[NumTargets] | Aligned to 16-byte boundary | |
0x00 | f32[NumVerts][3] or s16[NumVerts][3] | Vertices | If Scale == 0: Three floats If Scale > 0: Three signed short integers. |