From d40d7abbb9ec6ddc201e54096507e3083c070cba Mon Sep 17 00:00:00 2001 From: Aetias Date: Fri, 26 Apr 2024 16:47:04 +0200 Subject: Add map components `Exit` and `CameraViewpoint` --- include/Map/Exit.hpp | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 include/Map/Exit.hpp (limited to 'include/Map/Exit.hpp') diff --git a/include/Map/Exit.hpp b/include/Map/Exit.hpp new file mode 100644 index 00000000..be00da58 --- /dev/null +++ b/include/Map/Exit.hpp @@ -0,0 +1,26 @@ +#pragma once + +#include "global.h" +#include "types.h" + +#include "System/SysNew.hpp" + +struct ExitDest { + /* 0 */ unk8 mEntrance; + /* 1 */ unk8 mMap; +}; + +class Exit : public SysObject { + /* 00 */ unk32 mDestCourse; + /* 04 */ unk32 mUnk_04; + /* 08 */ unk32 mUnk_08; + /* 0c */ unk32 mUnk_0c; + /* 10 */ ExitDest mDest; + /* 12 */ unk8 mUnk_12; + /* 13 */ unk8 mUnk_13; + /* 14 */ unk8 mUnk_14; + /* 15 */ unk8 mUnk_15; + /* 16 */ unk8 mUnk_16; + /* 17 */ unk8 mUnk_17; + /* 18 */ +}; -- cgit v1.2.3 From a2bd2faaf0bb4aa6c652b460d0bdb1f528c7605d Mon Sep 17 00:00:00 2001 From: Aetias Date: Tue, 30 Apr 2024 15:56:52 +0200 Subject: Update `Exit` fields --- include/Map/Exit.hpp | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'include/Map/Exit.hpp') diff --git a/include/Map/Exit.hpp b/include/Map/Exit.hpp index be00da58..d9fda9bd 100644 --- a/include/Map/Exit.hpp +++ b/include/Map/Exit.hpp @@ -5,19 +5,14 @@ #include "System/SysNew.hpp" -struct ExitDest { - /* 0 */ unk8 mEntrance; - /* 1 */ unk8 mMap; -}; - class Exit : public SysObject { /* 00 */ unk32 mDestCourse; /* 04 */ unk32 mUnk_04; /* 08 */ unk32 mUnk_08; /* 0c */ unk32 mUnk_0c; - /* 10 */ ExitDest mDest; - /* 12 */ unk8 mUnk_12; - /* 13 */ unk8 mUnk_13; + /* 10 */ unk16 mUnk_10; + /* 12 */ unk8 mDestMap; + /* 13 */ unk8 mDestEntrance; /* 14 */ unk8 mUnk_14; /* 15 */ unk8 mUnk_15; /* 16 */ unk8 mUnk_16; -- cgit v1.2.3