Decompile func0f0b0268

This commit is contained in:
Ryan Dwyer
2021-03-02 17:56:32 +10:00
parent ec73279242
commit 8836a9dbeb
8 changed files with 70 additions and 108 deletions
+1 -1
View File
@@ -5,7 +5,7 @@
#include "types.h"
void func0f0147d0(void);
void laserdotsReset(void);
void lasersightsReset(void);
void mpRemoveAllSimulants(void);
void aibotAllocate(s32 chrnum, s32 aibotnum);
void aibotAllocateInventory(struct chrdata *chr, s32 maxitems);
+4 -4
View File
@@ -21,11 +21,11 @@ u32 func0f0aeda4(void);
void func0f0aeea8(s32 index, f32 arg1);
Gfx *func0f0aeed8(Gfx *gdl);
void func0f0aefb8(void);
bool laserdotExists(s32 id, s32 *index);
bool lasersightExists(s32 id, s32 *index);
Gfx *func0f0af158(Gfx *gdl);
u32 func0f0afa4c(void);
u32 func0f0b0268(void);
void laserdotSetPosition(s32 arg0, struct coord *pos, struct coord *rot);
void laserdotFree(s32 arg0);
void func0f0b0268(s32 id, s32 arg1, struct coord *near, struct coord *far);
void lasersightSetDot(s32 arg0, struct coord *pos, struct coord *rot);
void lasersightFree(s32 arg0);
#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 laserdot g_LaserDots[4];
extern struct lasersight g_LaserSights[4];
extern u32 var8009dd00;
extern u32 var8009dd04;
extern u32 var8009dd10;
+6 -12
View File
@@ -6053,20 +6053,14 @@ struct var80094ed8 {
/*0x104*/ u32 unk104;
};
struct laserdot {
struct lasersight {
s32 id;
u32 unk04;
u32 unk08;
u32 unk0c;
u32 unk10;
u32 unk14;
u32 unk18;
u32 unk1c;
u32 unk20;
u32 unk24;
struct coord unk04;
struct coord beamnear;
struct coord beamfar;
f32 unk28;
struct coord pos;
struct coord rot;
struct coord dotpos;
struct coord dotrot;
u32 unk44;
};