2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-13 03:26:08 +00:00

CWorld: Make use of std::array where applicable

This commit is contained in:
Lioncash
2020-03-30 00:53:10 -04:00
parent 79b1e26052
commit 802ac13812
2 changed files with 16 additions and 10 deletions

View File

@@ -1,5 +1,6 @@
#pragma once
#include <array>
#include <memory>
#include <string>
#include <vector>
@@ -123,7 +124,7 @@ private:
std::unique_ptr<uint8_t[]> x40_loadBuf;
u32 x44_bufSz;
u32 x48_chainCount = 0;
CGameArea* x4c_chainHeads[5] = {};
std::array<CGameArea*, 5> x4c_chainHeads{};
IObjectStore& x60_objectStore;
IFactory& x64_resFactory;