Decompile aiDuplicateChr

This commit is contained in:
Ryan Dwyer
2020-05-11 22:31:50 +10:00
parent 30024feb93
commit 2b2c559f6d
15 changed files with 119 additions and 224 deletions
+1 -1
View File
@@ -395,7 +395,7 @@
// chr->chrflags
#define CHRCFLAG_00000001 0x00000001 // Villa takers, Attack Ship Cass and skedar - both set at end of intros
#define CHRCFLAG_00000002 0x00000002 // Seems to be set on guards who can spawn clones?
#define CHRCFLAG_CLONEABLE 0x00000002
#define CHRCFLAG_NEAR_MISS 0x00000004
#define CHRCFLAG_NEVER_BEEN_ON_SCREEN 0x00000008
#define CHRCFLAG_INVINCIBLE_TO_GUNFIRE 0x00000010
+2 -2
View File
@@ -253,7 +253,7 @@ u32 func0f089a94(void);
u32 func0f089c70(void);
u32 func0f089d64(void);
u32 func0f089db8(void);
u32 chrTryEquipHat(struct chrdata *chr, u32 thing, u32 flags);
u32 chrTryEquipHat(struct chrdata *chr, u32 model, u32 flags);
u32 func0f089f8c(void);
u32 func0f08a38c(void);
u32 func0f08a724(void);
@@ -265,7 +265,7 @@ u32 func0f08ab64(void);
u32 func0f08ab9c(void);
u32 func0f08abd4(void);
u32 func0f08acb0(void);
u32 func0f08adac(void);
void func0f08adac(struct weaponobj *weapon1, struct weaponobj *weapon2);
u32 func0f08adc8(void);
u32 func0f08ae0c(void);
u32 func0f08ae54(struct defaultobj *obj, struct chrdata *chr);
+1
View File
@@ -921,6 +921,7 @@ struct weaponobj { // objtype 0x08
/*0x5f*/ u8 dragonthrown;
/*0x60*/ s16 unk60;
/*0x62*/ s16 team;
/*0x64*/ struct weaponobj *dual; // other weapon when dual wielding
};
struct singlemonitorobj { // objtype 0x0a