mirror of
https://gitlab.com/ryandwyer/perfect-dark
synced 2026-06-09 04:29:29 -04:00
Decompile aiIfSeesSuspiciousItem
This commit is contained in:
@@ -627,9 +627,14 @@
|
||||
label,
|
||||
|
||||
/**
|
||||
* Checks if the chr is dying.
|
||||
* Checks if the chr has detected evidence that the player has been there.
|
||||
*
|
||||
* It looks for props in the same room:
|
||||
* - Guns on the guard
|
||||
* - Explosion scorch marks
|
||||
* - And other unknown things
|
||||
*/
|
||||
#define if_dying(label) \
|
||||
#define if_sees_suspicious_item(label) \
|
||||
mkshort(0x004c), \
|
||||
label,
|
||||
|
||||
|
||||
@@ -1382,6 +1382,7 @@
|
||||
#define OBJHFLAG_00000800 0x00000800
|
||||
#define OBJHFLAG_ACTIVATED_BY_BOND 0x00004000
|
||||
#define OBJHFLAG_ACTIVATED_BY_COOP 0x00040000
|
||||
#define OBJHFLAG_00100000 0x00100000
|
||||
#define OBJHFLAG_00200000 0x00200000
|
||||
|
||||
// obj->hidden2
|
||||
|
||||
@@ -79,7 +79,7 @@
|
||||
/*0x0049*/ bool ai0049(void);
|
||||
/*0x004a*/ bool ai004a(void);
|
||||
/*0x004b*/ bool aiIfNearMiss(void);
|
||||
/*0x004c*/ bool ai004c(void);
|
||||
/*0x004c*/ bool aiIfSeesSuspiciousItem(void);
|
||||
/*0x004d*/ bool ai004d(void);
|
||||
/*0x004e*/ bool ai004e(void);
|
||||
/*0x004f*/ bool ai004f(void);
|
||||
|
||||
@@ -96,7 +96,7 @@ u32 func0f0391ec(struct chrdata *chr, struct coord *pos, s16 *room, u32 arg3);
|
||||
u32 func0f03922c(struct chrdata *chr, void *arg1, s32 arg2);
|
||||
u32 func0f0393b4(struct chrdata *chr, struct coord *pos, s16 *room);
|
||||
u32 func0f039474(void);
|
||||
u32 func0f039558(void);
|
||||
bool func0f039558(struct chrdata *chr, struct prop *prop);
|
||||
bool chrIsStopped(struct chrdata *chr);
|
||||
u32 func0f03978c(struct chrdata *chr);
|
||||
u32 func0f039a18(struct chrdata *chr);
|
||||
|
||||
@@ -53,7 +53,7 @@ u32 func0f065dd8(void);
|
||||
u32 func0f065dfc(void);
|
||||
u32 func0f065e74(void);
|
||||
u32 func0f065e98(void);
|
||||
u32 func0f065f80(void);
|
||||
void func0f065f80(s16 *room, s16 *propnums, u32 size);
|
||||
u32 func0f066054(void);
|
||||
void propGetBbox(struct prop *prop, f32 *width, f32 *ymax, f32 *ymin);
|
||||
u32 func0f066290(void);
|
||||
|
||||
Reference in New Issue
Block a user