mirror of
https://gitlab.com/ryandwyer/perfect-dark
synced 2026-08-17 12:59:41 -04:00
Decompile propObjGetBbox
This commit is contained in:
@@ -1384,6 +1384,9 @@
|
||||
#define OBJHFLAG_ACTIVATED_BY_COOP 0x00040000
|
||||
#define OBJHFLAG_00200000 0x00200000
|
||||
|
||||
// obj->hidden2
|
||||
#define OBJH2FLAG_08 0x08
|
||||
|
||||
#define OBJTYPE_DOOR 0x01
|
||||
#define OBJTYPE_DOORSCALE 0x02
|
||||
#define OBJTYPE_BASIC 0x03
|
||||
|
||||
@@ -27,7 +27,7 @@ f32 func0001ae44(struct chr020 *chr020);
|
||||
void func0001ae90(struct chr020 *chr020, f32 arg1);
|
||||
u32 func0001af58(void);
|
||||
u32 func0001af64(void);
|
||||
u32 func0001af80(void);
|
||||
f32 func0001af80(struct chr020 *chr020);
|
||||
u32 func0001af98(void);
|
||||
f32 func0001afe8(f32 arg0, f32 distance, f32 arg2);
|
||||
u32 func0001b07c(void);
|
||||
|
||||
+3
-7
@@ -465,6 +465,7 @@ struct act_skjump {
|
||||
|
||||
struct geo {
|
||||
/*0x134*/ s8 type;
|
||||
/*0x135*/ u8 unk01;
|
||||
/*0x136*/ u16 unk136;
|
||||
/*0x138*/ f32 ymax;
|
||||
/*0x13c*/ f32 ymin;
|
||||
@@ -670,11 +671,6 @@ struct chrdata {
|
||||
/*0x364*/ u32 unk364;
|
||||
};
|
||||
|
||||
struct obj44 {
|
||||
u8 unk00;
|
||||
u8 unk01;
|
||||
};
|
||||
|
||||
struct obj48 {
|
||||
u32 flags;
|
||||
u32 unk04;
|
||||
@@ -697,10 +693,10 @@ struct defaultobj {
|
||||
/*0x0c*/ u32 flags2;
|
||||
/*0x10*/ u32 flags3;
|
||||
/*0x14*/ struct prop *prop;
|
||||
/*0x18*/ void *unk18; // probably same struct as chrdata->unk020
|
||||
/*0x18*/ struct chr020 *unk18;
|
||||
/*0x1c*/ f32 realrot[9];
|
||||
/*0x40*/ u32 hidden; // most significant nibble is the playernum who holds the obj
|
||||
/*0x44*/ struct obj44 *unk44;
|
||||
/*0x44*/ struct geo *geo;
|
||||
/*0x48*/ struct obj48 *unk48;
|
||||
/*0x4c*/ s16 damage;
|
||||
/*0x4e*/ s16 maxdamage;
|
||||
|
||||
Reference in New Issue
Block a user