mirror of https://github.com/AxioDL/metaforce.git
Rename worldLayers -> m_worldLayers
This commit is contained in:
parent
6fb20ab703
commit
12b8de0ec8
|
@ -790,7 +790,7 @@ void ImGuiConsole::ShowLayersWindow() {
|
|||
if (!layers) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
if (ImGui::TreeNode(world.first.c_str())) {
|
||||
auto worldLayerState = g_GameState->StateForWorld(world.second).GetLayerState();
|
||||
u32 startNameIdx = 0;
|
||||
|
|
|
@ -150,7 +150,7 @@ bool CDummyWorld::ICheckWorldComplete() {
|
|||
if (version > 12)
|
||||
r.readString();
|
||||
|
||||
worldLayers = CWorldLayers::ReadWorldLayers(r, version, xc_mlvlId);
|
||||
m_worldLayers = CWorldLayers::ReadWorldLayers(r, version, xc_mlvlId);
|
||||
|
||||
x30_loadToken.reset();
|
||||
x34_loadBuf.reset();
|
||||
|
@ -190,7 +190,7 @@ std::string CDummyWorld::IGetDefaultAudioTrack() const { return {}; }
|
|||
|
||||
int CDummyWorld::IGetAreaCount() const { return x18_areas.size(); }
|
||||
|
||||
const std::optional<CWorldLayers>& CDummyWorld::GetWorldLayers() const { return worldLayers; }
|
||||
const std::optional<CWorldLayers>& CDummyWorld::GetWorldLayers() const { return m_worldLayers; }
|
||||
|
||||
CWorld::CWorld(IObjectStore& objStore, IFactory& resFactory, CAssetId mlvlId)
|
||||
: x8_mlvlId(mlvlId)
|
||||
|
|
|
@ -69,7 +69,7 @@ class CDummyWorld : public IWorld {
|
|||
u32 x38_bufSz;
|
||||
TAreaId x3c_curAreaId = kInvalidAreaId;
|
||||
|
||||
std::optional<CWorldLayers> worldLayers;
|
||||
std::optional<CWorldLayers> m_worldLayers;
|
||||
|
||||
public:
|
||||
CDummyWorld(CAssetId mlvlId, bool loadMap);
|
||||
|
|
Loading…
Reference in New Issue