mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-12-27 20:41:49 +00:00
chore: use IObjLoader directly instead of indirection of ObjLoading
This commit is contained in:
@@ -14,13 +14,6 @@ public:
|
||||
IObjLoader& operator=(const IObjLoader& other) = default;
|
||||
IObjLoader& operator=(IObjLoader&& other) noexcept = default;
|
||||
|
||||
/**
|
||||
* \brief Checks whether this ObjLoader supports a specified zone.
|
||||
* \param zone The zone to check.
|
||||
* \return \c true if the specified zone is supported.
|
||||
*/
|
||||
[[nodiscard]] virtual bool SupportsZone(const Zone& zone) const = 0;
|
||||
|
||||
/**
|
||||
* \brief Loads all containers that are referenced by a specified zone.
|
||||
* \param searchPath The search path object to use to find the referenced containers.
|
||||
@@ -36,4 +29,6 @@ public:
|
||||
|
||||
virtual bool LoadAssetForZone(AssetLoadingContext& context, asset_type_t assetType, const std::string& assetName) const = 0;
|
||||
virtual void FinalizeAssetsForZone(AssetLoadingContext& context) const = 0;
|
||||
|
||||
static const IObjLoader* GetObjLoaderForGame(GameId game);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user