summaryrefslogtreecommitdiff
path: root/include/global.h
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2018-11-09 08:28:39 -0500
committerPikalaxALT <pikalaxalt@gmail.com>2018-11-09 08:28:39 -0500
commit6317f0180e191fb7c426eaf38b2dd631d9694146 (patch)
tree57b75644e1b3072d968b8ff6c757aaba5a087927 /include/global.h
parent4ee3c03a697b9520d365fa17ed43602e68852468 (diff)
Start to refactor some of the data components
Diffstat (limited to 'include/global.h')
-rw-r--r--include/global.h29
1 files changed, 17 insertions, 12 deletions
diff --git a/include/global.h b/include/global.h
index 6a178feb6..11c0e61e3 100644
--- a/include/global.h
+++ b/include/global.h
@@ -503,24 +503,29 @@ struct QuestLogNPCData
u32 movementType:8;
};
-struct UnkStruct_203B024_Sub1
+struct UnkStruct_203B024
{
- u8 unk_00;
- u8 unk_01;
- u8 filler_02[26];
+ u16 unk_00;
+ u16 unk_02;
+ u16 unk_04[14];
};
-union UnkUnion_203B024
+union QuestLogScene
{
- struct UnkStruct_203B024_Sub1 type1;
- u8 filler[28];
+ u8 allocation[32];
+ u16 ident;
};
-struct UnkStruct_203B024
+typedef union QuestLogScene QuestLogScene;
+
+union QuestLogMovement;
+union QuestLogMovement
{
- u16 unk_00;
- u16 unk_02;
- union UnkUnion_203B024 unk_04;
+ u16 ident_raw;
+ struct {
+ u16 ident:12;
+ u16 flags:4;
+ } ident_struct;
};
struct QuestLog
@@ -535,7 +540,7 @@ struct QuestLog
/*0x0148*/ u8 unk_148[0x120];
/*0x02c8*/ u8 unk_268[0x200];
/*0x0468*/ struct QuestLogNPCData npcData[64];
- /*0x0568*/ struct UnkStruct_203B024 unk_568[8];
+ /*0x0568*/ u16 unk_568[128];
/*0x0668*/ u16 end[0];
};