Decompile weaponGetPickupAmmoQty

This commit is contained in:
Ryan Dwyer
2020-03-07 21:26:25 +10:00
parent 8ce87cb17e
commit c818eaaf83
13 changed files with 1290 additions and 988 deletions
+1
View File
@@ -43,6 +43,7 @@ extern u32 var80069924;
extern u32 var80069928;
extern u32 var8006992c;
extern u32 var8006993c;
extern f32 g_AmmoMultiplier;
extern u32 var80069964;
extern u32 var80069968;
extern u32 var80069970;
+1 -12
View File
@@ -243,7 +243,7 @@ u32 func0f087e40(void);
u32 func0f087fb0(void);
u32 func0f088028(void);
u32 func0f08819c(void);
u32 func0f088254(void);
s32 weaponGetPickupAmmoQty(struct weaponobj *weapon);
u32 func0f08841c(void);
u32 func0f0887c8(void);
u32 func0f088840(struct prop *prop, s32 arg1);
@@ -339,16 +339,5 @@ void func0f0910ac(void);
u32 func0f091250(void);
u32 func0f0912dc(void);
u32 objSetPartVisible(struct defaultobj *obj, u32 arg1, u32 arg2);
u32 setupGetCommandLength(u32 *cmd);
u32 *setupGetPtrToCommandByIndex(u32 cmdindex);
u32 func0f092098(struct tag *tag);
u32 func0f092124(void);
bool propLoad(s32 propnum);
bool func0f09220c(struct defaultobj *obj, struct coord *pos, f32 *realrot, u32 arg3, u32 arg4);
bool func0f092304(struct defaultobj *obj, u32 arg1, u32 arg2);
void func0f09233c(struct defaultobj *obj, struct coord *pos, f32 *realrot, s16 *rooms);
void func0f0923d4(struct defaultobj *obj);
struct defaultobj *setupCommandGetObject(u32 cmdindex);
u32 func0f092484(void);
#endif
+18
View File
@@ -0,0 +1,18 @@
#ifndef IN_GAME_GAME_091e10_H
#define IN_GAME_GAME_091e10_H
#include <ultra64.h>
#include "types.h"
u32 setupGetCommandLength(u32 *cmd);
u32 *setupGetPtrToCommandByIndex(u32 cmdindex);
u32 func0f092098(struct tag *tag);
u32 func0f092124(void);
bool propLoad(s32 propnum);
bool func0f09220c(struct defaultobj *obj, struct coord *pos, f32 *realrot, u32 arg3, u32 arg4);
bool func0f092304(struct defaultobj *obj, u32 arg1, u32 arg2);
void func0f09233c(struct defaultobj *obj, struct coord *pos, f32 *realrot, s16 *rooms);
void func0f0923d4(struct defaultobj *obj);
struct defaultobj *setupCommandGetObject(u32 cmdindex);
u32 func0f092484(void);
#endif
+1 -1
View File
@@ -157,7 +157,7 @@ s32 currentPlayerGetAmmoCount(s8 arg0);
u32 func0f0a98f4(void);
bool ammotypeAllowsUnlimitedAmmo(u32 ammotype);
u32 func0f0a9980(void);
u32 func0f0a9a14(void);
s32 weaponGetAmmoType(s32 weaponnum, u32 func);
u32 func0f0a9a74(void);
u32 func0f0a9ac4(void);
u32 func0f0a9b10(void);