Use clang-format.

This commit is contained in:
JezuzLizard 2023-12-13 12:40:56 -08:00
parent bcf9956da2
commit 96e67dc1fa
3 changed files with 4 additions and 2 deletions

View File

@ -3,9 +3,9 @@
#include "Game/T6/T6.h" #include "Game/T6/T6.h"
#include "Pool/GlobalAssetPool.h" #include "Pool/GlobalAssetPool.h"
#include <iostream>
#include <filesystem>
#include <cstring> #include <cstring>
#include <filesystem>
#include <iostream>
#include <zlib.h> #include <zlib.h>
#include <zutil.h> #include <zutil.h>

View File

@ -14,6 +14,7 @@ namespace T6
const SearchPathOpenFile& file, const std::string& assetName, ISearchPath* searchPath, MemoryManager* memory, IAssetLoadingManager* manager); const SearchPathOpenFile& file, const std::string& assetName, ISearchPath* searchPath, MemoryManager* memory, IAssetLoadingManager* manager);
static bool LoadDefault( static bool LoadDefault(
const SearchPathOpenFile& file, const std::string& assetName, ISearchPath* searchPath, MemoryManager* memory, IAssetLoadingManager* manager); const SearchPathOpenFile& file, const std::string& assetName, ISearchPath* searchPath, MemoryManager* memory, IAssetLoadingManager* manager);
public: public:
_NODISCARD void* CreateEmptyAsset(const std::string& assetName, MemoryManager* memory) override; _NODISCARD void* CreateEmptyAsset(const std::string& assetName, MemoryManager* memory) override;
_NODISCARD bool CanLoadFromRaw() const override; _NODISCARD bool CanLoadFromRaw() const override;

View File

@ -10,6 +10,7 @@ namespace T6
constexpr static size_t ANIMTREE_MAX_SIZE = 0xC000000; constexpr static size_t ANIMTREE_MAX_SIZE = 0xC000000;
void DumpAnimtree(AssetDumpingContext& context, XAssetInfo<RawFile>* asset, std::ostream& stream); void DumpAnimtree(AssetDumpingContext& context, XAssetInfo<RawFile>* asset, std::ostream& stream);
protected: protected:
bool ShouldDump(XAssetInfo<RawFile>* asset) override; bool ShouldDump(XAssetInfo<RawFile>* asset) override;
void DumpAsset(AssetDumpingContext& context, XAssetInfo<RawFile>* asset) override; void DumpAsset(AssetDumpingContext& context, XAssetInfo<RawFile>* asset) override;