Decompile func0f08e0c4

This commit is contained in:
Ryan Dwyer
2020-01-23 22:54:30 +10:00
parent cd59c12e12
commit b516dca6da
4 changed files with 37 additions and 68 deletions
+1
View File
@@ -705,6 +705,7 @@
// obj->hidden
#define OBJHIDDENFLAG_00000080 0x00000080
#define OBJHIDDENFLAG_00000200 0x00000200
#define OBJHIDDENFLAG_ACTIVATED_BY_BOND 0x00004000
#define OBJHIDDENFLAG_ACTIVATED_BY_COOP 0x00040000
#define OBJHIDDENFLAG_00200000 0x00200000
+3 -3
View File
@@ -294,14 +294,14 @@ u32 func0f08c54c(struct doorobj *door);
u32 func0f08cb20(void);
u32 func0f08d3dc(void);
u32 func0f08d460(void);
u32 func0f08d4e8(struct doorobj *door);
void func0f08d4e8(struct doorobj *door);
void func0f08d514(struct doorobj *door);
u32 func0f08d540(void);
u32 func0f08d784(void);
u32 func0f08d784(s8 soundtype, struct prop *prop);
void func0f08daa8(s8 soundtype, struct prop *prop);
void func0f08dd44(s8 soundtype, struct prop *prop);
void func0f08df10(s8 soundtype, struct prop *prop);
u32 func0f08e0c4(void);
void func0f08e0c4(struct doorobj *door);
void func0f08e1a0(struct doorobj *door);
u32 decodeXorAaaaaaaa(u32 value);
void func0f08e224(struct doorobj *door);
+7 -2
View File
@@ -656,6 +656,11 @@ struct chrdata {
/*0x364*/ u32 unk364;
};
struct obj44 {
u8 unk00;
u8 unk01;
};
struct obj48 {
u32 flags;
u32 unk04;
@@ -681,7 +686,7 @@ struct defaultobj {
/*0x18*/ void *unk18; // probably same struct as chrdata->unk020
/*0x1c*/ f32 realrot[9];
/*0x40*/ u32 hidden; // most significant nibble is the playernum who holds the obj
/*0x44*/ u32 unk44;
/*0x44*/ struct obj44 *unk44;
/*0x48*/ struct obj48 *unk48;
/*0x4c*/ s16 damage;
/*0x4e*/ s16 maxdamage;
@@ -694,7 +699,7 @@ struct defaultobj {
struct doorobj { // objtype 0x01
struct defaultobj base;
/*0x5c*/ f32 maxfrac;
/*0x60*/ u32 perimfrac;
/*0x60*/ f32 perimfrac;
/*0x64*/ u32 accel;
/*0x68*/ u32 decel;
/*0x6c*/ u32 maxspeed;