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

various input class implementations

This commit is contained in:
Jack Andersen
2015-08-27 14:11:31 -10:00
parent 3616f14f94
commit ce42cdd3be
39 changed files with 836 additions and 226 deletions

View File

@@ -138,15 +138,15 @@ FourCC CResLoader::GetResourceTypeById(u32 id)
return false;
}
u32 CResLoader::GetResourceIdByName(const char* name) const
const SObjectTag* CResLoader::GetResourceIdByName(const char* name) const
{
for (const std::unique_ptr<CPakFile>& file : x1c_pakLoadedList)
{
u32 id = file->GetResIdByName(name);
const SObjectTag* id = file->GetResIdByName(name);
if (id)
return id;
}
return 0;
return nullptr;
}
bool CResLoader::AreAllPaksLoaded() const