mirror of
https://gitlab.com/ryandwyer/perfect-dark
synced 2026-06-09 20:40:35 -04:00
Rename symbols relating to hearing targets
This commit is contained in:
@@ -542,9 +542,9 @@
|
||||
label,
|
||||
|
||||
/**
|
||||
* Checks if the chr has heard gunfire.
|
||||
* Checks if the chr has heard their target (eg. due to gunfire).
|
||||
*/
|
||||
#define if_hears_gunfire(label) \
|
||||
#define if_hears_target(label) \
|
||||
mkshort(0x003c), \
|
||||
label,
|
||||
|
||||
|
||||
@@ -354,7 +354,7 @@
|
||||
|
||||
// chr->hidden
|
||||
#define CHRHFLAG_00000001 0x00000001 // Set when chr drops weapon
|
||||
#define CHRHFLAG_00000002 0x00000002 // Not used in scripts
|
||||
#define CHRHFLAG_IS_HEARING_TARGET 0x00000002 // Not used in scripts
|
||||
#define CHRHFLAG_00000004 0x00000004 // Related to firing - hand 1
|
||||
#define CHRHFLAG_00000008 0x00000008 // Related to firing - hand 0
|
||||
#define CHRHFLAG_00000010 0x00000010 // Not used in scripts
|
||||
|
||||
@@ -297,7 +297,7 @@ bool chrHasFlagById(struct chrdata *ref, u32 chrnum, u32 flag, u32 bank);
|
||||
void chrSetStageFlag(struct chrdata *chr, u32 flag);
|
||||
void chrUnsetStageFlag(struct chrdata *chr, u32 flag);
|
||||
bool chrHasStageFlag(struct chrdata *chr, u32 flag);
|
||||
bool chrHasHiddenFlag00000002(struct chrdata *chr);
|
||||
bool chrIsHearingTarget(struct chrdata *chr);
|
||||
void chrRestartTimer(struct chrdata *chr);
|
||||
u32 chrResetNearMiss(struct chrdata *chr);
|
||||
s32 chrGetNumArghs(struct chrdata *chr);
|
||||
|
||||
@@ -63,7 +63,7 @@
|
||||
/*0x0039*/ bool aiIfCanHearAlarm(void);
|
||||
/*0x003a*/ bool aiIfAlarmActive(void);
|
||||
/*0x003b*/ bool ai003b(void);
|
||||
/*0x003c*/ bool ai003c(void);
|
||||
/*0x003c*/ bool aiIfHearsTarget(void);
|
||||
/*0x003d*/ bool aiIfSawInjury(void);
|
||||
/*0x003e*/ bool aiIfSawDeath(void);
|
||||
/*0x003f*/ bool aiIfSeesPlayer(void);
|
||||
|
||||
Reference in New Issue
Block a user