PrimeWorldEditor/Resource/factory/CAnimSetLoader.h

25 lines
555 B
C++

#ifndef CCHARACTERLOADER_H
#define CCHARACTERLOADER_H
#include "../CAnimSet.h"
#include "../EFormatVersion.h"
#include <Core/CResCache.h>
class CAnimSetLoader
{
TResPtr<CAnimSet> set;
CResCache *mpResCache;
EGame mVersion;
CAnimSetLoader();
CAnimSet* LoadCorruptionCHAR(CInputStream& CHAR);
CAnimSet* LoadReturnsCHAR(CInputStream& CHAR);
void LoadPASDatabase(CInputStream& PAS4);
public:
static CAnimSet* LoadANCS(CInputStream& ANCS);
static CAnimSet* LoadCHAR(CInputStream& CHAR);
};
#endif // CCHARACTERLOADER_H