Decompile laserdotExists

This commit is contained in:
Ryan Dwyer
2021-03-02 17:39:40 +10:00
parent 857d34ef08
commit 6ce1333c33
9 changed files with 76 additions and 87 deletions
+1 -1
View File
@@ -5,7 +5,7 @@
#include "types.h"
void func0f0147d0(void);
void func0f0147f8(void);
void laserdotsReset(void);
void mpRemoveAllSimulants(void);
void aibotAllocate(s32 chrnum, s32 aibotnum);
void aibotAllocateInventory(struct chrdata *chr, s32 maxitems);
+1 -1
View File
@@ -150,7 +150,7 @@ void currentPlayerSetAimType(u32 aimtype);
void handSetAimPos(struct coord *coord);
void func0f0a9464(struct coord *coord);
void func0f0a9494(u32 operation);
void func0f0a94d0(u32 operation, struct coord *a, struct coord *b);
void func0f0a94d0(u32 operation, struct coord *pos, struct coord *rot);
void func0f0a95ec(u32 arg0, bool enable);
void currentPlayerSetAmmoQuantity(s32 ammotype, s32 quantity);
s32 ammoGetQuantity(s32 type);
+2 -2
View File
@@ -21,11 +21,11 @@ u32 func0f0aeda4(void);
void func0f0aeea8(s32 index, f32 arg1);
Gfx *func0f0aeed8(Gfx *gdl);
void func0f0aefb8(void);
bool func0f0af0d4(s32 arg0, s32 *arg1);
bool laserdotExists(s32 id, s32 *index);
Gfx *func0f0af158(Gfx *gdl);
u32 func0f0afa4c(void);
u32 func0f0b0268(void);
void func0f0b0340(s32 arg0, struct coord *a, struct coord *b);
void laserdotSetPosition(s32 arg0, struct coord *pos, struct coord *rot);
u32 func0f0b03d8(void);
#endif
+1 -1
View File
@@ -574,7 +574,7 @@ extern u32 var8009d144;
extern struct fireslot g_Fireslots[NUM_FIRESLOTS];
extern struct casing g_Casings[20];
extern struct var8009da60 var8009da60[8];
extern struct var8009dbe0 var8009dbe0[4];
extern struct laserdot g_LaserDots[4];
extern u32 var8009dd00;
extern u32 var8009dd04;
extern u32 var8009dd10;
+4 -4
View File
@@ -6053,8 +6053,8 @@ struct var80094ed8 {
/*0x104*/ u32 unk104;
};
struct var8009dbe0 {
s32 unk00;
struct laserdot {
s32 id;
u32 unk04;
u32 unk08;
u32 unk0c;
@@ -6065,8 +6065,8 @@ struct var8009dbe0 {
u32 unk20;
u32 unk24;
f32 unk28;
struct coord unk2c;
struct coord unk38;
struct coord pos;
struct coord rot;
u32 unk44;
};