mirror of
https://gitlab.com/ryandwyer/perfect-dark
synced 2026-06-07 03:47:21 -04:00
Discover if_lift_at_stop AI command and attempt to decompile aiIfLiftAtStop
This commit is contained in:
@@ -3155,10 +3155,13 @@
|
||||
lift, \
|
||||
u1,
|
||||
|
||||
#define cmd018a(object, u1, label) \
|
||||
/**
|
||||
* Checks if the lift is stopped at the given stop number.
|
||||
*/
|
||||
#define if_lift_at_stop(lift, stopnum, label) \
|
||||
mkshort(0x018a), \
|
||||
object, \
|
||||
u1, \
|
||||
lift, \
|
||||
stopnum, \
|
||||
label,
|
||||
|
||||
/**
|
||||
|
||||
@@ -371,7 +371,7 @@
|
||||
/*0x0187*/ bool ai0187(void);
|
||||
/*0x0188*/ bool aiIfLiftStationary(void);
|
||||
/*0x0189*/ bool ai0189(void);
|
||||
/*0x018a*/ bool ai018a(void);
|
||||
/*0x018a*/ bool aiIfLiftAtStop(void);
|
||||
/*0x018b*/ bool aiConfigureRain(void);
|
||||
/*0x018c*/ bool aiChrToggleProp(void);
|
||||
/*0x018d*/ bool aiActivateLift(void);
|
||||
|
||||
+9
-2
@@ -839,13 +839,20 @@ struct heliobj {
|
||||
|
||||
struct liftobj { // objtype 30
|
||||
struct defaultobj base;
|
||||
/*0x5c*/ u32 unk5c;
|
||||
/*0x5c*/ u32 pad;
|
||||
/*0x60*/ u32 unk60;
|
||||
/*0x64*/ u32 unk64;
|
||||
/*0x68*/ u32 unk68;
|
||||
/*0x6c*/ u32 unk6c;
|
||||
/*0x70*/ u32 unk70;
|
||||
/*0x74*/ f32 unk74;
|
||||
/*0x74*/ f32 dist;
|
||||
/*0x78*/ u32 speed;
|
||||
/*0x7c*/ u32 accel;
|
||||
/*0x80*/ u32 maxspeed;
|
||||
/*0x84*/ u8 soundtype;
|
||||
/*0x85*/ s8 levelcur;
|
||||
/*0x85*/ s8 levelaim;
|
||||
/*0x88*/ struct coord prevpos;
|
||||
};
|
||||
|
||||
struct hovercarobj {
|
||||
|
||||
Reference in New Issue
Block a user