mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 23:07:42 +00:00
Lots of work on CAutoMapper
This commit is contained in:
@@ -3,16 +3,16 @@
|
||||
namespace urde
|
||||
{
|
||||
|
||||
CPakFile::CPakFile(const std::string& filename, bool samusPak, bool worldPak)
|
||||
CPakFile::CPakFile(const std::string& filename, bool buildDepList, bool worldPak)
|
||||
: CDvdFile(filename.c_str())
|
||||
{
|
||||
x28_24_samusPak = samusPak;
|
||||
x28_24_buildDepList = buildDepList;
|
||||
x28_26_worldPak = worldPak;
|
||||
}
|
||||
|
||||
const SObjectTag* CPakFile::GetResIdByName(const char* name) const
|
||||
{
|
||||
for (const std::pair<std::string, SObjectTag>& p : x4c_nameList)
|
||||
for (const std::pair<std::string, SObjectTag>& p : x54_nameList)
|
||||
if (!CStringExtras::CompareCaseInsensitive(p.first.c_str(), name))
|
||||
return &p.second;
|
||||
return nullptr;
|
||||
@@ -22,7 +22,7 @@ void CPakFile::AsyncIdle()
|
||||
{
|
||||
if (x2c_asyncLoadPhase == EAsyncPhase::Loaded)
|
||||
return;
|
||||
if (x34_dvdReq && x34_dvdReq->IsComplete())
|
||||
if (x30_dvdReq && x30_dvdReq->IsComplete())
|
||||
return;
|
||||
switch (x2c_asyncLoadPhase)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user