Rename worldLayers -> m_worldLayers

This commit is contained in:
Luke Street 2021-05-27 17:24:08 -04:00
parent 6fb20ab703
commit 12b8de0ec8
3 changed files with 4 additions and 4 deletions

View File

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

View File

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

View File

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