Decompile beamCreate

This commit is contained in:
Ryan Dwyer
2021-06-23 23:46:36 +10:00
parent 26adadd06f
commit 8ff32f4fa8
5 changed files with 108 additions and 227 deletions
+1 -1
View File
@@ -3804,7 +3804,7 @@ enum weaponnum {
/*0x57*/ WEAPON_BRIEFCASE2,
/*0x58*/ WEAPON_SKROCKET,
/*0x59*/ WEAPON_59,
/*0x5a*/ WEAPON_5A,
/*0x5a*/ WEAPON_WATCHLASER,
/*0x5b*/ WEAPON_MPSHIELD,
/*0x5c*/ WEAPON_DISABLED,
/*0x5d*/ WEAPON_SUICIDEPILL
+1 -1
View File
@@ -4,7 +4,7 @@
#include "data.h"
#include "types.h"
void beamCreate(struct beam *beam, s32 weaponnum, struct coord *arg4, struct coord *arg5);
void beamCreate(struct beam *beam, s32 weaponnum, struct coord *from, struct coord *to);
u32 func0f0ac138(void);
Gfx *func0f0ac4b8(Gfx *gdl, struct textureconfig *arg1, f32 arg2, struct coord *arg3, u32 colour1, f32 arg5, struct coord *arg6, u32 colour2);
Gfx *func0f0acb90(Gfx *gdl, struct beam *beam, bool arg2, u32 arg3);
+4 -8
View File
@@ -2151,16 +2151,12 @@ struct threat {
struct beam {
/*0x00*/ s8 age;
/*0x01*/ s8 unk01;
/*0x04*/ u32 unk04;
/*0x08*/ u32 unk08;
/*0x0c*/ u32 unk0c;
/*0x10*/ u32 unk10;
/*0x14*/ u32 unk14;
/*0x18*/ u32 unk18;
/*0x01*/ s8 weaponnum;
/*0x04*/ struct coord from;
/*0x10*/ struct coord dir;
/*0x1c*/ f32 maxdist;
/*0x20*/ f32 speed;
/*0x24*/ u32 unk24;
/*0x24*/ f32 mindist;
/*0x28*/ f32 dist;
};