2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-18 07:25:23 +00:00

Add Layer info overlay

This commit is contained in:
2021-05-30 20:29:27 -04:00
parent f4b845484d
commit 2fc4a9c0e3
6 changed files with 82 additions and 33 deletions

View File

@@ -362,7 +362,7 @@ bool CWorld::CheckWorldComplete(CStateManager* mgr, TAreaId id, CAssetId mreaId)
x84_defAudioTrack = g_TweakManager->GetTweakValue(trackKey)->GetAudio().GetFileName();
}
CWorldLayers::ReadWorldLayers(r, version, x8_mlvlId);
m_worldLayers = CWorldLayers::ReadWorldLayers(r, version, x8_mlvlId);
x3c_loadToken.reset();
x40_loadBuf.reset();
@@ -728,4 +728,6 @@ TAreaId CWorld::GetAreaIdForSaveId(s32 saveId) const {
return TAreaId(std::distance(x18_areas.cbegin(), iter));
}
const std::optional<CWorldLayers>& CWorld::GetWorldLayers() const { return m_worldLayers; }
} // namespace metaforce