Decompile chraiGetListIdByList

This commit is contained in:
Ryan Dwyer
2019-12-17 18:47:29 +10:00
parent 9fbd4a8732
commit e62cac4ddc
134 changed files with 188 additions and 214 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
#define _IN_CHR_CHRAI_H
#include <ultra64.h>
s32 chraiEndList(u8 *ailist, u64 *unk);
s32 chraiGetListIdByList(u8 *ailist, bool *is_global);
u32 chraiGoToLabel(u8 *ailist, u32 aioffset, u8 label);
void chraiExecute(void *entity, s32 entity_type);
u32 chraiGetCommandLength(u8 *ailist, u32 aioffset);
+1 -3
View File
@@ -587,9 +587,7 @@ extern u32 var8009ce88;
extern u32 var8009ce98;
extern u32 var8009cf10;
extern u32 var8009cf88;
extern u32 var8009d030;
extern u32 *g_LvSetupPtr_8009d040;
extern struct ailist *g_LvAilists;
extern struct stagesetup g_StageSetup;
extern u32 var8009d050;
extern u32 var8009d060;
extern u32 var8009d088;
+11
View File
@@ -2291,6 +2291,17 @@ struct aipaths {
u8 type;
};
struct stagesetup {
/*0x00*/ void *unk00;
/*0x04*/ void *unk04;
/*0x08*/ void *unk08;
/*0x0c*/ u8 *intro;
/*0x10*/ u8 *props;
/*0x14*/ struct aipaths *paths;
/*0x18*/ struct ailist *ailists;
/*0x1c*/ void *unk1c;
};
struct inventory_menupos {
float x;
float y;