mirror of
https://gitlab.com/ryandwyer/perfect-dark
synced 2026-07-29 07:32:16 -04:00
Decompile currentPlayerGetAmmoQuantityForWeapon
This commit is contained in:
@@ -519,6 +519,10 @@
|
||||
#define FLOORFLAG_0100 0x0100
|
||||
#define FLOORFLAG_4000 0x4000
|
||||
|
||||
// Weapon functions
|
||||
#define FUNC_PRIMARY 0
|
||||
#define FUNC_SECONDARY 1
|
||||
|
||||
#define GAILIST_IDLE 0x0000
|
||||
#define GAILIST_UNALERTED_0001 0x0001
|
||||
#define GAILIST_UNALERTED_0002 0x0002
|
||||
|
||||
@@ -158,7 +158,7 @@ s32 ammotypeGetMaxCapacity(u32 ammotype);
|
||||
bool ammotypeAllowsUnlimitedAmmo(u32 ammotype);
|
||||
u32 func0f0a9980(void);
|
||||
s32 weaponGetAmmoType(s32 weaponnum, u32 func);
|
||||
s32 func0f0a9a74(s32 weaponnum, s32 arg1);
|
||||
u32 currentPlayerGetAmmoQuantityForWeapon(u32 weaponnum, u32 func);
|
||||
void currentPlayerGiveAmmoForWeapon(u32 weaponnum, u32 func, u32 quantity);
|
||||
u32 func0f0a9b10(void);
|
||||
u32 func0f0a9b68(void);
|
||||
|
||||
+1
-1
@@ -958,7 +958,7 @@ struct autogunobj { // objtype 0d
|
||||
/*0xa0*/ u32 unka0;
|
||||
/*0xa4*/ u32 unka4;
|
||||
/*0xa8*/ u8 autogun_type;
|
||||
/*0xa9*/ u8 unka9;
|
||||
/*0xa9*/ u8 ammoquantity;
|
||||
};
|
||||
|
||||
struct multiammocrateobj { // objtype 14
|
||||
|
||||
Reference in New Issue
Block a user