2015-07-26 21:39:49 +00:00
|
|
|
#ifndef CFONTLOADER_H
|
|
|
|
#define CFONTLOADER_H
|
|
|
|
|
|
|
|
#include "../CFont.h"
|
|
|
|
#include "../EFormatVersion.h"
|
|
|
|
#include <Core/CResCache.h>
|
|
|
|
|
|
|
|
class CFontLoader
|
|
|
|
{
|
2015-12-13 20:52:17 +00:00
|
|
|
TResPtr<CFont> mpFont;
|
2015-07-26 21:39:49 +00:00
|
|
|
EGame mVersion;
|
|
|
|
|
|
|
|
CFontLoader();
|
|
|
|
CFont* LoadFont(CInputStream& FONT);
|
|
|
|
|
|
|
|
public:
|
|
|
|
static CFont* LoadFONT(CInputStream& FONT);
|
|
|
|
static EGame GetFormatVersion(u32 Version);
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // CFONTLOADER_H
|