Decompile objectiveInsert

This commit is contained in:
Ryan Dwyer
2020-11-29 16:54:22 +10:00
parent 03d52d0e97
commit 46deaccf96
4 changed files with 20 additions and 38 deletions
+1 -1
View File
@@ -6,7 +6,7 @@
void func0f0109d0(void);
void tagInsert(struct tag *tag);
void briefingInsert(struct briefingobj *obj);
void func0f010a98(struct defaultobj *obj);
void objectiveInsert(struct objective *objective);
void objectiveAddRoomEnteredCriteria(struct criteria_roomentered *criteria);
void objectiveAddMultiroomEnteredCriteria(struct criteria_multiroomentered *criteria);
void objectiveAddHolographCriteria(struct criteria_holograph *criteria);
+7 -14
View File
@@ -1375,11 +1375,13 @@ struct tag { // objtype 0x16
/*0x0c*/ struct defaultobj *obj;
};
struct beginobjectiveobj { // objtype 0x17
u32 unk00;
u32 index;
u32 text;
u32 difficulty;
struct objective { // objtype 0x17
/*0x00*/ u32 unk00;
/*0x04*/ s32 index;
/*0x08*/ u32 text;
/*0x0c*/ u16 unk0c;
/*0x0e*/ u8 unk0e;
/*0x0f*/ s8 difficulties;
};
struct briefingobj { // objtype 0x23
@@ -4736,15 +4738,6 @@ struct activemenuthing {
/*0x34*/ u8 unk34;
};
struct objective { // representation of setup file beginobjective macro
/*0x00*/ u32 unk00;
/*0x04*/ u32 unk04;
/*0x08*/ u32 text;
/*0x0c*/ u16 unk0c;
/*0x0e*/ u8 unk0e;
/*0x0f*/ s8 difficulties;
};
struct briefing {
u16 briefingtextnum;
u16 objectivenames[6]; // index 0 is the briefing, and the rest are objectives