mirror of https://github.com/AxioDL/metaforce.git
CWorldTransManager: Make use of std::array where applicable
Provides stronger typing, and eliminates any potential implicit array to pointer decay.
This commit is contained in:
parent
54dededb9b
commit
e72507b20c
|
@ -1,5 +1,6 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#include <array>
|
||||||
#include <memory>
|
#include <memory>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
|
@ -31,7 +32,7 @@ public:
|
||||||
CModelData x1c_samusModelData;
|
CModelData x1c_samusModelData;
|
||||||
CModelData x68_beamModelData;
|
CModelData x68_beamModelData;
|
||||||
CModelData xb4_platformModelData;
|
CModelData xb4_platformModelData;
|
||||||
CModelData x100_bgModelData[3];
|
std::array<CModelData, 3> x100_bgModelData;
|
||||||
TLockedToken<CModel> x14c_beamModel;
|
TLockedToken<CModel> x14c_beamModel;
|
||||||
TLockedToken<CModel> x158_suitModel;
|
TLockedToken<CModel> x158_suitModel;
|
||||||
TLockedToken<CSkinRules> x164_suitSkin;
|
TLockedToken<CSkinRules> x164_suitSkin;
|
||||||
|
|
Loading…
Reference in New Issue