mirror of
https://github.com/n64decomp/mk64
synced 2026-07-09 05:13:17 -04:00
Lots of matches related to the object list (#284)
Identified a couple more lists of object list indices, added some comments indicating what they're used for. Those comments are most likely non-exhaustive so there's still some investigation to be done there. Signed-off-by: Taggerung <tyler.taggerung@gmail.com>
This commit is contained in:
@@ -96,4 +96,57 @@ extern s32 D_80183F28[];
|
||||
extern s32 D_8018BFA8[];
|
||||
extern s32 D_8018C030[];
|
||||
|
||||
#define D_8018C1B0_SIZE 0x80
|
||||
#define NUM_MOLES 0x1F
|
||||
#define NUM_SNOWFLAKES 0x32
|
||||
/**
|
||||
* List of object list indices used for:
|
||||
* Moles in Moo Moo Farm
|
||||
* Snow flakes in Frappe Snowland
|
||||
* Segments of the fire breath from the statues in Bowser's Castle
|
||||
* Potentially other things
|
||||
**/
|
||||
extern s32 D_8018C1B0[];
|
||||
// Next free spot in D_8018C1B0? Wraps back around to 0 if it gets bigger than D_8018C1B0_SIZE
|
||||
extern s32 D_80183E38;
|
||||
// Used for cycling through snowflakes in func_80078790
|
||||
extern s16 D_8018D174;
|
||||
|
||||
#define D_8018C3F0_SIZE 0x80
|
||||
/**
|
||||
* List of object list indices used for:
|
||||
* Bats in Banshee's Boardwalk (but only 1 player mode?)
|
||||
**/
|
||||
extern s32 D_8018C3F0[];
|
||||
// Next free spot in D_8018C3F0? Wraps back around to 0 if it gets bigger than D_8018C3F0_SIZE
|
||||
extern s32 D_80183E4C;
|
||||
|
||||
#define D_8018C630_SIZE 0x80
|
||||
extern s32 D_8018C630[];
|
||||
// Next free spot in D_8018C630?
|
||||
extern s32 D_80183E5C;
|
||||
extern s16 D_80165730;
|
||||
// Tracking a count of some object type, don't know what object type yet
|
||||
extern s16 D_80165738;
|
||||
|
||||
#define D_8018C870_SIZE 0x40
|
||||
/**
|
||||
* List of object list indices. Used both for the fires in the DK Jungle cave
|
||||
* and, seemingly for the trail that shells leave behind them.
|
||||
* I think they're using the same texture, which would explain the dual use
|
||||
**/
|
||||
extern s32 D_8018C870[];
|
||||
// Next free spot in D_8018C870? Wraps back around to 0 if it gets bigger than D_8018C870_SIZE
|
||||
extern s32 D_80183E6C;
|
||||
|
||||
// Maximum number of leaves that can be falling?
|
||||
#define D_8018C970_SIZE 0x40
|
||||
// Number of leaves to spawn each bonk?
|
||||
#define D_8018C970_SPAWN_SIZE 0x14
|
||||
// Seemingly a list of object list indices used for the leaves that sometimes fall
|
||||
// trees when you bonk into them
|
||||
extern s32 D_8018C970[];
|
||||
// Next free spot in D_8018C970? Wraps back around to 0 if it gets bigger than D_8018C970_SIZE
|
||||
extern s32 D_80183E7C;
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user