2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 02:27:43 +00:00

CMappableObject: Make use of std::array where applicable

Same behavior, but also allows eliminating hardcoded array sizes.
This commit is contained in:
Lioncash
2020-04-05 06:14:01 -04:00
parent 1279be5e56
commit 755529b67a
2 changed files with 15 additions and 11 deletions

View File

@@ -1,5 +1,6 @@
#pragma once
#include <array>
#include <optional>
#include <utility>
@@ -52,7 +53,7 @@ public:
enum class EVisMode { Always, MapStationOrVisit, Visit, Never, MapStationOrVisit2 };
private:
static zeus::CVector3f skDoorVerts[8];
static std::array<zeus::CVector3f, 8> skDoorVerts;
EMappableObjectType x0_type;
EVisMode x4_visibilityMode;