Decompile explosionGetVerticalRangeAtFrame

This commit is contained in:
Ryan Dwyer
2020-06-11 23:58:46 +10:00
parent 3670dc8478
commit 17ad57d96b
4 changed files with 30 additions and 35 deletions
+4 -3
View File
@@ -553,9 +553,10 @@
#define ENTITYTYPE_DONTTURN 0x0040 // don't do a shooting animation that would change the chr's direction
#define ENTITYTYPE_TARGET 0x0200 // aim/shoot at whatever is in the chr's `target` field
#define EXPLOSIONTYPE_0 0
#define EXPLOSIONTYPE_3 3
#define EXPLOSIONTYPE_8 8
#define EXPLOSIONTYPE_0 0
#define EXPLOSIONTYPE_3 3
#define EXPLOSIONTYPE_8 8
#define EXPLOSIONTYPE_14 14
#define EYESPYMODE_CAMSPY 0
#define EYESPYMODE_DRUGSPY 1
+1 -1
View File
@@ -6,7 +6,7 @@
bool explosionCreateSimple(struct prop *prop, struct coord *pos, s16 *rooms, s16 type, s32 playernum);
bool explosionCreateComplex(struct prop *prop, struct coord *pos, s16 *rooms, s16 type, s32 playernum);
u32 func0f129b08(void);
u32 func0f129ba4(void);
f32 explosionGetVerticalRangeAtFrame(struct explosion *exp, s32 frame);
u32 func0f129c08(void);
void alertNearbyChrsToNoise(f32 *radius, struct coord *noisepos);
bool explosionCreate(struct prop *prop, struct coord *pos, s16 *rooms, s16 type, s32 playernum, bool arg5, struct coord *arg6, s16 arg7, struct coord *arg8);
+9
View File
@@ -4529,6 +4529,15 @@ struct explosiontype {
/*0x28*/ f32 damage;
};
struct explosion {
u8 unk[0x3c8];
/*0x3c8*/ s32 frame60;
/*0x3cc*/ s8 type;
/*0x3cd*/ s8 makescorch;
/*0x3ce*/ s8 owner;
/*0x3cf*/ s8 numbb;
};
struct smoketype {
u16 duration;
u16 fadespeed;