mirror of https://github.com/AxioDL/metaforce.git
CGameArea: Make use of std::array where applicable
This commit is contained in:
parent
664d08469c
commit
535717fbd8
|
@ -1,5 +1,7 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#include <array>
|
||||||
|
|
||||||
#include "Editor/ProjectResourceFactoryBase.hpp"
|
#include "Editor/ProjectResourceFactoryBase.hpp"
|
||||||
#include "Runtime/CObjectList.hpp"
|
#include "Runtime/CObjectList.hpp"
|
||||||
#include "Runtime/CToken.hpp"
|
#include "Runtime/CToken.hpp"
|
||||||
|
@ -210,7 +212,8 @@ public:
|
||||||
struct MapEntry {
|
struct MapEntry {
|
||||||
s16 x0_id = -1;
|
s16 x0_id = -1;
|
||||||
TUniqueId x4_uid = kInvalidUniqueId;
|
TUniqueId x4_uid = kInvalidUniqueId;
|
||||||
} xa8_pvsEntityMap[1024];
|
};
|
||||||
|
std::array<MapEntry, 1024> xa8_pvsEntityMap;
|
||||||
u32 x10a8_pvsVersion = 0;
|
u32 x10a8_pvsVersion = 0;
|
||||||
TLockedToken<CPFArea> x10ac_pathToken;
|
TLockedToken<CPFArea> x10ac_pathToken;
|
||||||
// bool x10b8_ = 0; optional flag for CToken
|
// bool x10b8_ = 0; optional flag for CToken
|
||||||
|
|
Loading…
Reference in New Issue