Decompile smokeRender

This commit is contained in:
Ryan Dwyer
2021-01-07 09:37:03 +10:00
parent 229afe5858
commit d0e1a8a091
4 changed files with 100 additions and 269 deletions
+1 -1
View File
@@ -3,7 +3,7 @@
#include <ultra64.h>
#include "types.h"
u32 func0f12d3f0(void);
Gfx *smokeRenderPart(struct smoke *smoke, struct smokepart *part, Gfx *gdl, struct coord *coord, f32 size);
struct smoke *smokeCreate(struct coord *pos, s16 *rooms, s16 type);
bool func0f12e454(struct coord *pos, s16 *rooms, s16 type, u32 arg4);
bool smokeCreateAtPropIfNecessary(struct prop *prop, struct coord *pos, s16 *rooms, s16 type, u32 arg4);
+2 -2
View File
@@ -4795,7 +4795,7 @@ struct smoketype {
/*0x20*/ f32 unk20;
};
struct smokebit {
struct smokepart {
/*0x00*/ struct coord pos;
/*0x0c*/ f32 size;
/*0x10*/ u32 rot;
@@ -4812,7 +4812,7 @@ struct smoke {
/*0x006*/ u16 type : 7;
/*0x006*/ u16 unk06_07 : 1;
/*0x007*/ u16 unk06_08 : 8;
/*0x008*/ struct smokebit smokebits[10];
/*0x008*/ struct smokepart parts[10];
/*0x198*/ struct prop *srcprop; // Prop of the thing generating smoke
};