PrimeWorldEditor/Resource/factory/CStringLoader.h

26 lines
596 B
C
Raw Normal View History

#ifndef CSTRINGLOADER_H
#define CSTRINGLOADER_H
#include "../CStringTable.h"
#include "../EFormatVersion.h"
#include <Core/CResCache.h>
2015-12-13 20:52:17 +00:00
#include <Core/TResPtr.h>
class CStringLoader
{
2015-12-13 20:52:17 +00:00
TResPtr<CStringTable> mpStringTable;
EGame mVersion;
CStringLoader();
void LoadPrimeDemoSTRG(CInputStream& STRG);
void LoadPrimeSTRG(CInputStream& STRG);
void LoadCorruptionSTRG(CInputStream& STRG);
void LoadNameTable(CInputStream& STRG);
public:
static CStringTable* LoadSTRG(CInputStream& STRG);
static EGame GetFormatVersion(u32 Version);
};
#endif // CSTRINGLOADER_H