Decompile tagGetCommandIndex

This commit is contained in:
Ryan Dwyer
2020-05-30 13:00:52 +10:00
parent 376ae2d7c7
commit f72b9300d6
6 changed files with 50 additions and 75 deletions
+1 -1
View File
@@ -5,7 +5,7 @@
u32 setupGetCommandLength(u32 *cmd);
u32 *setupGetPtrToCommandByIndex(u32 cmdindex);
u32 func0f092098(struct tag *tag);
s32 tagGetCommandIndex(struct tag *tag);
u32 func0f092124(void);
bool propLoad(s32 propnum);
bool func0f09220c(struct defaultobj *obj, struct coord *pos, f32 *realrot, u32 arg3, u32 arg4);
+1 -1
View File
@@ -16,7 +16,7 @@ u32 func0f093508(void);
u32 func0f093630(void);
u32 func0f093790(void);
u32 func0f0938ec(void);
u32 func0f0939f8(void *arg0, struct prop *prop, s16 sound, s32 arg3, s32 arg4, s32 arg5, s32 arg6, s32 arg7, s32 arg8, f32 arg9, s32 arg10, s32 arg11, f32 arg12, f32 arg13, f32 arg14);
u32 func0f0939f8(void *arg0, struct prop *prop, s16 sound, s32 padnum, s32 arg4, s32 arg5, s32 arg6, s32 arg7, s32 arg8, f32 arg9, s32 arg10, s32 arg11, f32 arg12, f32 arg13, f32 arg14);
void audioMuteChannel(s32 channel);
u32 audioIfChannelIdle(s32 channel);
bool audioPlayFromProp2(s8 channel_id, s32 audio_id, s32 volumemaybe, struct prop *prop, u32 arg4, s32 arg5, s32 arg6, s32 arg7);
+5 -7
View File
@@ -1131,13 +1131,11 @@ struct chopperobj {
};
struct tag {
// These three words are possibly the same values as defined in the setup
// file, but this just a guess.
u32 unk00;
u16 unk04;
s16 unk06;
u32 unk08;
struct defaultobj *obj;
/*0x00*/ u32 identifier; // always 0x00000016
/*0x04*/ u16 tagnum;
/*0x06*/ s16 cmdoffset;
/*0x08*/ u32 unk08;
/*0x0c*/ struct defaultobj *obj;
};
struct eyespy {