This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
super_mario_64:structs [2019/10/28 23:44] jesusyoshi54 [Collision Triangle] |
super_mario_64:structs [2019/12/14 14:30] jesusyoshi54 [Mario] |
||
---|---|---|---|
Line 68: | Line 68: | ||
| 0x20 | u32* | object_spawn_info_ptr (objects linked list head)| | | 0x20 | u32* | object_spawn_info_ptr (objects linked list head)| | ||
| 0x24 | u32* | LevelCameraPointer (generated at run-time) | | | 0x24 | u32* | LevelCameraPointer (generated at run-time) | | ||
- | | 0x28 | u32 | | | + | | 0x28 | u32 | unused | |
| 0x2C | u32* | Whirlpool_1_ptr | | | 0x2C | u32* | Whirlpool_1_ptr | | ||
| 0x30 | u32* | Whirlpool_2_ptr | | | 0x30 | u32* | Whirlpool_2_ptr | | ||
| 0x34 | u8 | Level start dialog number (see: [[super_mario_64:level_commands#show_dialog|Level command 0x30]]) | | | 0x34 | u8 | Level start dialog number (see: [[super_mario_64:level_commands#show_dialog|Level command 0x30]]) | | ||
- | | 0x35 | u8 | Always 0xFF? | | + | | 0x35 | u8 | Level start dialog 2 (unused?) | |
| 0x36 | s16 | music_param | | | 0x36 | s16 | music_param | | ||
| 0x38 | s16 | music_param2 (title screen,etc) | | | 0x38 | s16 | music_param2 (title screen,etc) | | ||
- | | 0x3A | u16 | unused (padding) | | ||
===== Object ===== | ===== Object ===== | ||
Line 248: | Line 247: | ||
| 0x1A | u16 | action variable (different uses based on Mario->0x0C) | | | 0x1A | u16 | action variable (different uses based on Mario->0x0C) | | ||
| 0x1C | u16 | Front tilt (just visuals?) | | | 0x1C | u16 | Front tilt (just visuals?) | | ||
- | | 0x1E | u32 | squish_timer | | + | | 0x1E | s16 | squish_timer | |
| 0x20 | float | analogTilt | | | 0x20 | float | analogTilt | | ||
| 0x24 | s16 | Yaw (Facing) rotation | | | 0x24 | s16 | Yaw (Facing) rotation | | ||
Line 302: | Line 301: | ||
| 0xBA | u16 | unused? | | | 0xBA | u16 | unused? | | ||
| 0xBC | float | highest y_pos achieved while gaining height | | | 0xBC | float | highest y_pos achieved while gaining height | | ||
- | | 0xC0 | float | y_pos offset (usually always 0.0f, but can be modified during cut-scenes) | | + | | 0xC0 | float | y_pos offset (modified while in quicksand or cutscenes, otherwise 0.0f) | |
===== References ===== | ===== References ===== |