Decompile explosionGetBboxAtFrame

This commit is contained in:
Ryan Dwyer
2020-06-12 19:31:27 +10:00
parent 8c987a3371
commit f63ebddd68
16 changed files with 52 additions and 95 deletions
+5 -5
View File
@@ -2186,11 +2186,11 @@
#define PORTALMODE_SHOW 0
#define PORTALMODE_HIDE 1
#define PROPFLAG_02 0x02
#define PROPFLAG_HIDDEN 0x04
#define PROPFLAG_08 0x08
#define PROPFLAG_40 0x40
#define PROPFLAG_80 0x80
#define PROPFLAG_02 0x02
#define PROPFLAG_TANGIBLE 0x04
#define PROPFLAG_08 0x08
#define PROPFLAG_40 0x40
#define PROPFLAG_80 0x80
#define PROPTYPE_OBJ 1
#define PROPTYPE_DOOR 2
+2 -2
View File
@@ -7,8 +7,8 @@ bool explosionCreateSimple(struct prop *prop, struct coord *pos, s16 *rooms, s16
bool explosionCreateComplex(struct prop *prop, struct coord *pos, s16 *rooms, s16 type, s32 playernum);
f32 explosionGetHorizontalRangeAtFrame(struct explosion *exp, s32 frame);
f32 explosionGetVerticalRangeAtFrame(struct explosion *exp, s32 frame);
u32 func0f129c08(void);
void alertNearbyChrsToNoise(f32 *radius, struct coord *noisepos);
void explosionGetBboxAtFrame(struct coord *lower, struct coord *upper, s32 frame, struct prop *prop);
void explosionAlertChrs(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);
u32 func0f12acec(void);
u32 func0f12af5c(void);
+1 -1
View File
@@ -4,7 +4,7 @@
#include "types.h"
u32 func0f0601b0(void);
void propHide(struct prop *prop);
void propShow(struct prop *prop);
void func0f060300(struct prop *prop);
struct prop *propAllocate(void);
void propFree(struct prop *prop);
+2
View File
@@ -22,6 +22,7 @@ struct bbox {
struct weaponobj;
struct prop;
struct explosion;
/**
* Most, if not all, entity types (chrs, objs, weapons etc) have a pointer to a
@@ -43,6 +44,7 @@ struct prop {
struct defaultobj *obj;
struct doorobj *door;
struct weaponobj *weapon;
struct explosion *explosion;
};
/*0x08*/ struct coord pos;