mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 00:27:42 +00:00
Better null-tag handling; integrate CSaveWorld and CMapWorld loading
This commit is contained in:
@@ -9,6 +9,15 @@
|
||||
namespace urde
|
||||
{
|
||||
|
||||
CWorldState::CWorldState(ResId id)
|
||||
: x0_mlvlId(id), x4_areaId(0)
|
||||
{
|
||||
x8_relayTracker = std::make_shared<CRelayTracker>();
|
||||
xc_mapWorldInfo = std::make_shared<CMapWorldInfo>();
|
||||
x10_ = -1;
|
||||
x14_ = std::make_shared<CWorldSomethingState>();
|
||||
}
|
||||
|
||||
CWorldState::CWorldState(CBitStreamReader& reader, ResId mlvlId, const CSaveWorld& saveWorld)
|
||||
: x0_mlvlId(mlvlId)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user