Discover more chrflags

This commit is contained in:
Ryan Dwyer
2023-01-16 19:10:31 +10:00
parent 47f8b83062
commit c78ff83fc8
30 changed files with 179 additions and 173 deletions
+9 -9
View File
@@ -582,16 +582,16 @@
#define CHRH2FLAG_HEADSHOTTED 0x1000
// chr->chrflags
#define CHRCFLAG_00000001 0x00000001 // Villa takers, Attack Ship Cass and skedar - both set at end of intros
#define CHRCFLAG_FORCETOGROUND 0x00000001
#define CHRCFLAG_CLONEABLE 0x00000002
#define CHRCFLAG_NEAR_MISS 0x00000004
#define CHRCFLAG_EVERONSCREEN 0x00000008
#define CHRCFLAG_INVINCIBLE 0x00000010
#define CHRCFLAG_LOSEXTRAHEIGHT 0x00000020 // Chicago, Infiltration, AF1, Ruins, WAR
#define CHRCFLAG_00000040 0x00000040 // Used quite a lot
#define CHRCFLAG_LOSEXTRAHEIGHT 0x00000020
#define CHRCFLAG_NOFRIENDLYFIRE 0x00000040 // Chr can only hurt enemies
#define CHRCFLAG_CANFACEWALL 0x00000080 // Defection programmer, Rescue lab techs, globals when doing idle animation
#define CHRCFLAG_JUST_INJURED 0x00000100
#define CHRCFLAG_00000200 0x00000200 // Set on clones
#define CHRCFLAG_CANCHANGEACTDURINGARGH 0x00000200
#define CHRCFLAG_HIDDEN 0x00000400
#define CHRCFLAG_NOAUTOAIM 0x00000800
#define CHRCFLAG_UNEXPLODABLE 0x00001000
@@ -600,19 +600,19 @@
#define CHRCFLAG_DIEWITHFORCE 0x00008000 // When killed with a weak weapon, fling the chr as if it was a strong weapon
#define CHRCFLAG_PERIMDISABLEDTMP 0x00010000 // Collisions disabled temporarily
#define CHRCFLAG_FORCEAUTOAIM 0x00020000 // Allow auto aim even if chr is unarmed
#define CHRCFLAG_00040000 0x00040000 // Used a lot
#define CHRCFLAG_NEVERSLEEP 0x00040000
#define CHRCFLAG_RUNFASTER 0x00080000
#define CHRCFLAG_KILLCOUNTABLE 0x00100000
#define CHRCFLAG_TRIGGERSHOTLIST 0x00200000
#define CHRCFLAG_00400000 0x00400000 // Not used in scripts
#define CHRCFLAG_00400000 0x00400000 // Not used
#define CHRCFLAG_UNPLAYABLE 0x00800000
#define CHRCFLAG_PUSHABLE 0x01000000 // Typically set on allies during init
#define CHRCFLAG_SHIELDDAMAGED 0x02000000
#define CHRCFLAG_KEEPCORPSEKO 0x04000000
#define CHRCFLAG_CONSIDER_DODGE 0x08000000
#define CHRCFLAG_10000000 0x10000000 // Not used in scripts
#define CHRCFLAG_20000000 0x20000000 // Not used in scripts
#define CHRCFLAG_40000000 0x40000000 // Not used in scripts
#define CHRCFLAG_AVOIDING 0x10000000
#define CHRCFLAG_DELAYANIM 0x20000000 // Never set, but would cause a chr to pause their animation for one frame
#define CHRCFLAG_40000000 0x40000000 // Not used
#define CHRCFLAG_INJUREDTARGET 0x80000000
#define CIQUIP_GREETING 0