mirror of
https://gitlab.com/ryandwyer/perfect-dark
synced 2026-07-30 23:54:40 -04:00
Decompile aiIfLiftStationary
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user