Decompile invGiveWeaponsByProp

This commit is contained in:
Ryan Dwyer
2021-01-02 20:12:00 +10:00
parent 2f61b2daa3
commit 49d55c4cfd
5 changed files with 83 additions and 149 deletions
+1
View File
@@ -2296,6 +2296,7 @@
#define OBJFLAG_08000000 0x08000000 // Not used in scripts
#define OBJFLAG_DEACTIVATED 0x10000000
#define OBJFLAG_DOOR_HASPORTAL 0x10000000
#define OBJFLAG_WEAPON_10000000 0x10000000
#define OBJFLAG_20000000 0x20000000 // Editor: "Door Opens Backwards/Special Function/Conceal Weapon"
#define OBJFLAG_40000000 0x40000000
#define OBJFLAG_DOOR_KEEPOPEN 0x40000000 // Editor: "Door open by default/Empty weapon"
+1 -1
View File
@@ -24,7 +24,7 @@ bool invGiveDoubleWeapon(s32 weapon1, s32 weapon2);
void invRemoveItemByNum(s32 weaponnum);
bool invGiveProp(struct prop *prop);
void invRemoveProp(struct prop *prop);
u32 func0f1120f0(struct prop *prop);
s32 invGiveWeaponsByProp(struct prop *prop);
u32 func0f1122ec(void);
u32 func0f11253c(void);
bool invHasKeyFlags(u32 wantkeyflags);