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:41] jesusyoshi54 [Object] |
super_mario_64:structs [2019/11/02 06:04] jesusyoshi54 [Mario] |
||
---|---|---|---|
Line 21: | Line 21: | ||
| 0x20 | float | normal_y | | | 0x20 | float | normal_y | | ||
| 0x24 | float | normal_z | | | 0x24 | float | normal_z | | ||
- | | 0x28 | float | negdot | | + | | 0x28 | float | origin offset | |
- | | 0x2C | u32 | unused? | | + | | 0x2C | u32 | *object | |
===== Controller ===== | ===== Controller ===== | ||
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 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 ===== |