Decompile beamRenderGeneric

This commit is contained in:
Ryan Dwyer
2022-07-15 08:16:36 +10:00
parent af3d3e33e5
commit be2c057d7a
5 changed files with 214 additions and 562 deletions
+5 -5
View File
@@ -9,7 +9,7 @@ void lasersightsReset(void);
void beamCreate(struct beam *beam, s32 weaponnum, struct coord *from, struct coord *to);
void beamCreateForHand(s32 handnum);
Gfx *func0f0ac4b8(Gfx *gdl, struct textureconfig *arg1, f32 arg2, struct coord *arg3, u32 colour1, f32 arg5, struct coord *arg6, u32 colour2);
Gfx *beamRenderGeneric(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);
void beamTick(struct beam *beam);
@@ -20,10 +20,10 @@ void casingsRender(Gfx **gdlptr);
s32 boltbeamFindByProp(struct prop *prop);
s32 boltbeamCreate(struct prop *prop);
void func0f0aed3c(s32 index, struct coord *pos);
void func0f0aed70(s32 index, struct coord *pos);
void func0f0aeda4(s32 arg0, f32 arg1, bool arg2);
void func0f0aeea8(s32 index, f32 arg1);
void boltbeamSetHeadPos(s32 beamnum, struct coord *pos);
void boltbeamSetTailPos(s32 beamnum, struct coord *pos);
void boltbeamIncrementHeadPos(s32 beamnum, f32 newlength, bool arg2);
void boltbeamSetAutomatic(s32 beamnum, f32 speed);
Gfx *boltbeamsRender(Gfx *gdl);
void boltbeamsTick(void);
+4 -4
View File
@@ -5424,13 +5424,13 @@ struct boltbeam {
};
u8 unk04;
u8 unk05;
u8 tickmode;
u32 unk08;
u32 unk0c;
u32 unk10;
struct coord unk14;
struct coord unk20;
f32 unk2c;
struct coord headpos;
struct coord tailpos;
f32 speed;
};
struct var800a4ce8 {