2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2025-06-30 16:21:51 +00:00

more t5 stuffs

This commit is contained in:
Jan
2021-04-27 19:31:26 +02:00
parent 2edca7a57e
commit 157e540302
28 changed files with 901 additions and 0 deletions

View File

@ -0,0 +1,16 @@
#pragma once
#include "Game/T5/T5.h"
#include "AssetLoading/BasicAssetLoader.h"
#include "AssetLoading/IAssetLoadingManager.h"
#include "SearchPath/ISearchPath.h"
namespace T5
{
class AssetLoaderStringTable final : public BasicAssetLoader<ASSET_TYPE_STRINGTABLE, StringTable>
{
public:
_NODISCARD void* CreateEmptyAsset(const std::string& assetName, MemoryManager* memory) override;
_NODISCARD bool CanLoadFromRaw() const override;
bool LoadFromRaw(const std::string& assetName, ISearchPath* searchPath, MemoryManager* memory, IAssetLoadingManager* manager, Zone* zone) const override;
};
}