Decompile currentPlayerGiveProp

This commit is contained in:
Ryan Dwyer
2020-02-05 17:34:12 +10:00
parent 7a79cebf64
commit 5fa623cea3
6 changed files with 53 additions and 48 deletions
+4
View File
@@ -517,6 +517,10 @@
#define INVENTORYFUNCTYPE_SPECIAL 0x0004
#define INVENTORYFUNCTYPE_VISUAL 0x0005
#define INVITEMTYPE_1 1
#define INVITEMTYPE_PROP 2
#define INVITEMTYPE_3 3
// These actions are assigned to chr->myaction
#define MA_NONE 0
#define MA_NORMAL 1
+2 -2
View File
@@ -7,7 +7,7 @@ void func0f111600(void);
u32 func0f11165c(void);
void func0f11179c(struct invitem *item);
u32 func0f1118cc(void);
struct invitem *func0f111928(void);
struct invitem *currentPlayerCreateInvitem(void);
void currentPlayerSetAllGuns(bool enable);
u32 func0f1119d0(void);
bool func0f111a28(s32 weaponnum);
@@ -22,7 +22,7 @@ bool func0f111cf8(s32 weapon1, s32 weapon2);
bool currentPlayerGiveWeapon(s32 weaponnum);
bool currentPlayerGiveWeaponWithArgument(s32 weapon1, s32 weapon2);
void func0f111ea4(u32 arg0);
u32 func0f111fcc(void);
bool currentPlayerGiveProp(struct prop *prop);
u32 func0f112054(void);
u32 func0f1120f0(void);
u32 func0f1122ec(void);
+5
View File
@@ -5072,6 +5072,10 @@ struct invitem_type1 {
s16 weapon2;
};
struct invitem_typeprop {
struct prop *prop;
};
struct invitem_type3 {
s32 weapon1;
s32 weapon2;
@@ -5082,6 +5086,7 @@ struct invitem {
union {
struct invitem_type1 type1;
struct invitem_typeprop type_prop;
struct invitem_type3 type3;
};
};