2015-07-26 21:39:49 +00:00
|
|
|
#ifndef CCHARACTERLOADER_H
|
|
|
|
#define CCHARACTERLOADER_H
|
|
|
|
|
|
|
|
#include "../CAnimSet.h"
|
|
|
|
#include "../EFormatVersion.h"
|
|
|
|
#include <Core/CResCache.h>
|
|
|
|
|
|
|
|
class CAnimSetLoader
|
|
|
|
{
|
2015-12-13 20:52:17 +00:00
|
|
|
TResPtr<CAnimSet> set;
|
2015-07-26 21:39:49 +00:00
|
|
|
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
|