mirror of
https://github.com/zeldaret/ph
synced 2026-05-23 15:01:37 -04:00
Add map components Exit and CameraViewpoint
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
#pragma once
|
||||
|
||||
#include "global.h"
|
||||
#include "types.h"
|
||||
|
||||
#include "lib/math.h"
|
||||
|
||||
#include "System/SysNew.hpp"
|
||||
|
||||
class CameraViewpoint : public SysObject {
|
||||
/* 00 */ unk32 mUnk_00;
|
||||
/* 04 */ unk8 mUnk_04
|
||||
/* 05 */ unk8 mUnk_05[3];
|
||||
/* 08 */ Vec3p mPos;
|
||||
/* 14 */ unk16 mUnk_14;
|
||||
/* 16 */ unk16 mUnk_16;
|
||||
/* 18 */ unk16 mUnk_18[2];
|
||||
/* 1c */
|
||||
};
|
||||
@@ -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 */
|
||||
};
|
||||
+11
-5
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user