mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-07-01 16:51:56 +00:00
chore: use IObjLoader directly instead of indirection of ObjLoading
This commit is contained in:
@ -48,11 +48,6 @@ ObjLoader::ObjLoader()
|
||||
#undef REGISTER_ASSET_LOADER
|
||||
}
|
||||
|
||||
bool ObjLoader::SupportsZone(const Zone& zone) const
|
||||
{
|
||||
return zone.m_game == &g_GameIW3;
|
||||
}
|
||||
|
||||
bool ObjLoader::IsMpZone(const Zone& zone)
|
||||
{
|
||||
return zone.m_name.compare(0, 3, "mp_") == 0 || zone.m_name.compare(zone.m_name.length() - 3, 3, "_mp") == 0;
|
||||
|
@ -19,8 +19,6 @@ namespace IW3
|
||||
public:
|
||||
ObjLoader();
|
||||
|
||||
[[nodiscard]] bool SupportsZone(const Zone& zone) const override;
|
||||
|
||||
void LoadReferencedContainersForZone(ISearchPath& searchPath, Zone& zone) const override;
|
||||
void UnloadContainersOfZone(Zone& zone) const override;
|
||||
|
||||
|
Reference in New Issue
Block a user