Add CMappableObject

Former-commit-id: cf0893f3b5
This commit is contained in:
Henrique Gemignani Passos Lima
2022-12-05 20:17:40 +02:00
parent 1ece642d1b
commit 236045c563
7 changed files with 260 additions and 36 deletions

View File

@@ -4,6 +4,7 @@
#include "MetroidPrime/Tweaks/ITweakObject.hpp"
#include "Kyoto/Graphics/CColor.hpp"
#include "Kyoto/Math/CVector3f.hpp"
#include "Kyoto/TOneStatic.hpp"
#include "rstl/reserved_vector.hpp"
@@ -15,6 +16,12 @@ public:
~CTweakAutoMapper();
CTweakAutoMapper(CInputStream&);
const CColor& GetDoorColor(int idx) const { return x100_doorColors[idx]; }
const CColor& GetOpenDoorColor() const { return x11c_openDoorColor; }
const CVector3f& GetDoorCenter() const {
return CVector3f(xa4_doorCenterA, xa8_doorCenterB, xac_doorCenterC);
}
private:
bool x4_24_showOneMiniMapArea : 1;
bool x4_25_ : 1;