mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 11:07:44 +00:00
Refactor ResId into CAssetId
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
namespace urde
|
||||
{
|
||||
|
||||
CMapWorld::CMapAreaData::CMapAreaData(ResId areaRes, EMapAreaList list, CMapAreaData* next)
|
||||
CMapWorld::CMapAreaData::CMapAreaData(CAssetId areaRes, EMapAreaList list, CMapAreaData* next)
|
||||
: x0_area(g_SimplePool->GetObj(SObjectTag{FOURCC('MAPA'), areaRes})), x10_list(list), x14_next(next)
|
||||
{}
|
||||
|
||||
@@ -22,7 +22,7 @@ CMapWorld::CMapWorld(CInputStream& in)
|
||||
x20_traversed.resize(areaCount);
|
||||
for (u32 i=0 ; i<areaCount ; ++i)
|
||||
{
|
||||
ResId mapaId = in.readUint32Big();
|
||||
CAssetId mapaId = in.readUint32Big();
|
||||
x0_areas.emplace_back(mapaId, EMapAreaList::Unloaded,
|
||||
x0_areas.empty() ? nullptr : &x0_areas.back());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user