summaryrefslogtreecommitdiff
path: root/include/Map/MapBase.hpp
diff options
context:
space:
mode:
authorAetias <aetias@outlook.com>2024-04-26 16:47:04 +0200
committerAetias <aetias@outlook.com>2024-04-26 16:47:04 +0200
commitd40d7abbb9ec6ddc201e54096507e3083c070cba (patch)
tree4317636236a9b42277423d4f540e4c8a4b267147 /include/Map/MapBase.hpp
parent62e3dc0834256cc233c5004b7f901505a5140ea6 (diff)
Add map components `Exit` and `CameraViewpoint`
Diffstat (limited to 'include/Map/MapBase.hpp')
-rw-r--r--include/Map/MapBase.hpp16
1 files changed, 11 insertions, 5 deletions
diff --git a/include/Map/MapBase.hpp b/include/Map/MapBase.hpp
index 07e58a32..9a9a2c37 100644
--- a/include/Map/MapBase.hpp
+++ b/include/Map/MapBase.hpp
@@ -9,8 +9,16 @@
#include "Map/Entrance.hpp"
#include "Map/TriggerBase.hpp"
+#include "Map/Exit.hpp"
+#include "Map/CameraViewpoint.hpp"
#include "System/SysNew.hpp"
+#define MAX_ENTRANCES 0x40
+#define MAX_TRIGGERS 0x40
+#define MAX_EXITS 0x40
+#define MAX_VIEWPOINTS 8
+#define MAX_MAP_UNK_130 0x20
+
struct MapBase_Unk_180 {
/* 0 */ unk32 mUnk_0;
/* 4 */
@@ -67,13 +75,11 @@ public:
/* 0d0 */ Vec3p mUnk_0d0;
/* 0dc */ Vec3p mUnk_0dc;
/* 0e8 */ Vec3p mUnk_0e8;
- /* 0f4 */ u32 mUnk_0f4;
- /* 0f8 */ unk32 mUnk_0f8;
- /* 0fc */ u32 mUnk_0fc;
+ /* 0f4 */ Vec3p mUnk_0f4;
/* 100 */ std::vector<Entrance> mEntrances;
/* 10c */ std::vector<TriggerBase*> mTriggers;
- /* 118 */ std::vector<Todo> mUnk_118;
- /* 124 */ std::vector<Todo> mUnk_124;
+ /* 118 */ std::vector<Exit> mExits;
+ /* 124 */ std::vector<CameraViewpoint> mViewpoints;
/* 130 */ std::vector<TriggerBase*> mUnk_130;
/* 13c */ unk32 mUnk_13c;
/* 140 */ unk32 mUnk_140;