mirror of
https://gitlab.com/ryandwyer/perfect-dark
synced 2026-08-02 16:26:26 -04:00
Decompile chrRunFromPos
This commit is contained in:
+12
-10
@@ -2784,17 +2784,19 @@
|
||||
#define WEAPON_DISABLED 0x5c
|
||||
#define WEAPON_SUICIDEPILL 0x5d
|
||||
|
||||
#define WEAPONFLAG_ONEHANDED 0x00000008
|
||||
#define WEAPONFLAG_ONEHANDED 0x00000008 // Makes guards carry the gun with one hand
|
||||
#define WEAPONFLAG_00000010 0x00000010
|
||||
#define WEAPONFLAG_TRACKTIMEUSED 0x00000200
|
||||
#define WEAPONFLAG_DUALWIELD 0x00001000
|
||||
#define WEAPONFLAG_00040000 0x00040000
|
||||
#define WEAPONFLAG_DETERMINER_S_AN 0x00200000
|
||||
#define WEAPONFLAG_DETERMINER_F_AN 0x00400000
|
||||
#define WEAPONFLAG_DETERMINER_S_THE 0x00800000
|
||||
#define WEAPONFLAG_DETERMINER_F_THE 0x01000000
|
||||
#define WEAPONFLAG_DETERMINER_S_SOME 0x10000000
|
||||
#define WEAPONFLAG_DETERMINER_F_SOME 0x20000000
|
||||
#define WEAPONFLAG_TRACKTIMEUSED 0x00000200 // Allow tracking how long gun is used, for weapon of choice
|
||||
#define WEAPONFLAG_DUALWIELD 0x00001000 // Allow dual wielding
|
||||
#define WEAPONFLAG_HIDEMENUMODEL 0x00040000 // Don't display the rotating model in the inventory menu
|
||||
#define WEAPONFLAG_HOLDSIDEWAYS 0x00080000 // Allow turning the gun sideways at close range
|
||||
#define WEAPONFLAG_DETERMINER_S_AN 0x00200000 // "An ..." (short version - when vertically split)
|
||||
#define WEAPONFLAG_DETERMINER_F_AN 0x00400000 // "Picked up an ..." (full version)
|
||||
#define WEAPONFLAG_DETERMINER_S_THE 0x00800000 // "The ..." (short version - when vertically split)
|
||||
#define WEAPONFLAG_DETERMINER_F_THE 0x01000000 // "Picked up the ..." (full version)
|
||||
#define WEAPONFLAG_DETERMINER_S_SOME 0x10000000 // "Some ..." (short version - when vertically split)
|
||||
#define WEAPONFLAG_DETERMINER_F_SOME 0x20000000 // "Picked up some ..." (full version)
|
||||
#define WEAPONFLAG_AIMTRACK 0x40000000 // Allow drawing red box around targets in aim mode
|
||||
#define WEAPONFLAG_80000000 0x80000000
|
||||
|
||||
#define WEAPONFUNCFLAG_00000040 0x00000040 // related to auto aim
|
||||
|
||||
@@ -200,7 +200,7 @@ bool chrMoveToPos(struct chrdata *chr, struct coord *pos, s16 *room, f32 arg3, u
|
||||
bool chrCheckCoverOutOfSight(struct chrdata *chr, s32 covernum, bool arg2);
|
||||
s32 func0f04ba34(struct chrdata *chr, u16 arg1, u32 arg2);
|
||||
u32 func0f04bffc(struct chrdata *chr, u32 arg1, u32 arg2);
|
||||
void chrRunFromPos(struct chrdata *chr, u32 speed, f32 distance, struct coord *pos);
|
||||
bool chrRunFromPos(struct chrdata *chr, u32 speed, f32 distance, struct coord *frompos);
|
||||
u32 func0f04c784(void);
|
||||
void func0f04c874(struct chrdata *chr, u32 flags, struct coord *pos, s32 arg3, s32 arg4);
|
||||
u32 rebuildTeams(void);
|
||||
|
||||
@@ -113,7 +113,7 @@ u32 func0002dc18(struct coord *coord, s16 *room, struct coord *coord2, s32 arg3)
|
||||
bool hasLineOfSight(struct coord *coord, s16 *room, struct coord *coord2, s16 *room2, s32 arg4, s32 arg5);
|
||||
u32 func0002dcd0(void);
|
||||
bool func0002dcfc(struct coord *pos, s16 *rooms, struct coord *pos2, s16 *rooms2, s16 *rooms3, u32 arg5, u32 arg6);
|
||||
u32 func0002dd90(void);
|
||||
u32 func0002dd90(struct coord *pos, s16 *rooms, struct coord *pos2, u32 arg3, u32 arg4);
|
||||
u32 func0002de10(void);
|
||||
u32 func0002de34(void);
|
||||
u32 func0002deac(void);
|
||||
|
||||
Reference in New Issue
Block a user