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:
Lioncash 2020-04-11 19:50:47 -04:00
parent 54dededb9b
commit e72507b20c
1 changed files with 2 additions and 1 deletions

View File

@ -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;