Decompile aiIfLiftStationary

This commit is contained in:
Ryan Dwyer
2019-10-21 20:34:30 +10:00
parent 54d83a2f3c
commit 2a046e3b45
5 changed files with 36 additions and 59 deletions
+1
View File
@@ -449,6 +449,7 @@
#define OBJTYPE_WEAPON 0x08
#define OBJTYPE_SINGLEMONITOR 0x0a
#define OBJTYPE_MULTIMONITOR 0x0b
#define OBJTYPE_LIFT 0x30
#define OPERATOR_LESS_THAN 0
#define OPERATOR_GREATER_THAN 1
+1 -1
View File
@@ -369,7 +369,7 @@
/*0x0185*/ bool ai0185(void);
/*0x0186*/ bool aiIfSoundTimer(void);
/*0x0187*/ bool ai0187(void);
/*0x0188*/ bool ai0188(void);
/*0x0188*/ bool aiIfLiftStationary(void);
/*0x0189*/ bool ai0189(void);
/*0x018a*/ bool ai018a(void);
/*0x018b*/ bool ai018b(void);
+11
View File
@@ -392,6 +392,17 @@ struct multimonitorobj { // objtype 0b
struct singlemonitorobj subobjs[4];
};
struct liftobj {
struct defaultobj base;
/*0x5c*/ u32 unk5c;
/*0x60*/ u32 unk60;
/*0x64*/ u32 unk64;
/*0x68*/ u32 unk68;
/*0x6c*/ u32 unk6c;
/*0x70*/ u32 unk70;
/*0x74*/ float unk74;
};
struct tag {
// These three words are possibly the same values as defined in the setup
// file, but this just a guess.