Decompile func0f08e224

This commit is contained in:
Ryan Dwyer
2020-01-23 21:14:52 +10:00
parent 11a45d1e28
commit 8c10703847
5 changed files with 35 additions and 44 deletions
+1
View File
@@ -351,6 +351,7 @@
#define DOORSTATEBIT_CLOSING 4
#define DOORSTATEBIT_OPENING 8
#define DOORTYPE_8 8
#define DOORTYPE_LASER 11
#define DRCAROLLIMAGE_DEAD 4
+3 -3
View File
@@ -57,7 +57,7 @@ u32 func0f0682dc(void);
u32 func0f0682fc(void);
u32 func0f068368(void);
u32 func0f06843c(void);
u32 func0f0685e4(void);
void func0f0685e4(struct prop *prop);
u32 func0f068694(void);
u32 func0f0686e0(void);
u32 func0f0686f0(void);
@@ -299,12 +299,12 @@ void func0f08d514(struct doorobj *door);
u32 func0f08d540(void);
u32 func0f08d784(void);
u32 func0f08daa8(void);
u32 func0f08dd44(void);
void func0f08dd44(s8 soundtype, struct prop *prop);
void func0f08df10(s8 soundtype, struct prop *prop);
u32 func0f08e0c4(void);
u32 func0f08e1a0(void);
u32 decodeXorAaaaaaaa(u32 value);
u32 func0f08e224(void);
void func0f08e224(struct doorobj *door);
void func0f08e2ac(struct doorobj *door);
void doorSetMode(struct doorobj *door, s32 newmode);
void doorActivate(struct doorobj *door, s32 newmode);
+1 -1
View File
@@ -3,7 +3,7 @@
#include <ultra64.h>
#include "types.h"
u32 func000159b0(void);
void func000159b0(u32 *obj48_20);
u32 func000159fc(void);
u32 func00015b10(void);
u32 func00015b64(void);
+13 -1
View File
@@ -656,6 +656,18 @@ struct chrdata {
/*0x364*/ u32 unk364;
};
struct obj48 {
u32 flags;
u32 unk04;
u32 unk08;
u32 unk0c;
u32 unk10;
u32 unk14;
u32 unk18;
u32 unk1c;
u32 unk20;
};
struct defaultobj {
/*0x00*/ u16 extrascale;
/*0x02*/ u8 hidden2;
@@ -670,7 +682,7 @@ struct defaultobj {
/*0x1c*/ f32 realrot[9];
/*0x40*/ u32 hidden; // most significant nibble is the playernum who holds the obj
/*0x44*/ u32 unk44;
/*0x48*/ u32 unk48;
/*0x48*/ struct obj48 *unk48;
/*0x4c*/ s16 damage;
/*0x4e*/ s16 maxdamage;
/*0x50*/ u32 shadecol;