mirror of
https://gitlab.com/ryandwyer/perfect-dark
synced 2026-06-20 15:31:10 -04:00
Decompile explosionGetBboxAtFrame
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user