This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
super_mario_64:structs [2019/10/28 23:44] jesusyoshi54 [Collision Triangle] |
super_mario_64:structs [2019/12/20 19:47] jesusyoshi54 [Object] |
||
---|---|---|---|
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 156: | Line 155: | ||
| 0x10C | u32 | | | | 0x10C | u32 | | | ||
| 0x110 | u32 | | | | 0x110 | u32 | | | ||
- | | 0x114 | s32 | Moves Mario in Z direction while ontop of the object | | + | | 0x114 | s32 | Moves Mario's pitch while ontop of the object | |
| 0x118 | s32 | Spins Mario around while ontop of the object | | | 0x118 | s32 | Spins Mario around while ontop of the object | | ||
- | | 0x11C | s32 | Moves Mario in X direction while ontop of the object | | + | | 0x11C | s32 | Moves Mario's roll while ontop of the object | |
| 0x120 | u32 | animation_list_ptr (set by 0x27 26 behavior command)| | | 0x120 | u32 | animation_list_ptr (set by 0x27 26 behavior command)| | ||
| 0x124 | u32 | Held State | | | 0x124 | u32 | Held State | | ||
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 | u16 | 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 ===== |