PrimeWorldEditor/Resource/factory/CFontLoader.h

22 lines
388 B
C
Raw Normal View History

#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;
EGame mVersion;
CFontLoader();
CFont* LoadFont(CInputStream& FONT);
public:
static CFont* LoadFONT(CInputStream& FONT);
static EGame GetFormatVersion(u32 Version);
};
#endif // CFONTLOADER_H