mirror of
https://gitlab.com/ryandwyer/perfect-dark
synced 2026-06-08 04:06:58 -04:00
Decompile objectiveInsert
This commit is contained in:
@@ -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
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user