mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-06-11 23:38:09 -05:00
19 lines
743 B
C++
19 lines
743 B
C++
#pragma once
|
|
#include "Game/T6/T6.h"
|
|
#include "AssetLoading/BasicAssetLoader.h"
|
|
#include "AssetLoading/IAssetLoadingManager.h"
|
|
#include "SearchPath/ISearchPath.h"
|
|
|
|
namespace T6
|
|
{
|
|
class AssetLoaderPhysConstraints final : public BasicAssetLoader<ASSET_TYPE_PHYSCONSTRAINTS, PhysConstraints>
|
|
{
|
|
static void CalculatePhysConstraintsFields(PhysConstraints* physConstraints, Zone* zone);
|
|
|
|
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;
|
|
};
|
|
}
|