2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-08 21:47:42 +00:00

Finish CLogBookScreen

This commit is contained in:
Jack Andersen
2017-05-14 09:58:44 -10:00
parent 9796ba9244
commit 5835e5173e
17 changed files with 541 additions and 23 deletions

View File

@@ -106,6 +106,8 @@ CMemoryCardSys::CMemoryCardSys()
x1c_worldInter->emplace_back(mlvl.second, -1);
}
}
x30_scanCategoryCounts.resize(6);
}
bool CMemoryCardSys::InitializePump()
@@ -154,7 +156,10 @@ bool CMemoryCardSys::InitializePump()
std::find_if(x20_scanStates.begin(), x20_scanStates.end(), [&](const auto& test)
{ return test.first == scan.x0_id && test.second == scan.x4_category; });
if (existingSearch == x20_scanStates.end())
{
x20_scanStates.emplace_back(scan.x0_id, scan.x4_category);
++x30_scanCategoryCounts[int(scan.x4_category)];
}
}
wldMemOut.x3c_saveWorld = std::move(world.x34_saveWorld);