PrimeWorldEditor/Resource/factory/CFontLoader.h

22 lines
388 B
C++

#ifndef CFONTLOADER_H
#define CFONTLOADER_H
#include "../CFont.h"
#include "../EFormatVersion.h"
#include <Core/CResCache.h>
class CFontLoader
{
TResPtr<CFont> mpFont;
EGame mVersion;
CFontLoader();
CFont* LoadFont(CInputStream& FONT);
public:
static CFont* LoadFONT(CInputStream& FONT);
static EGame GetFormatVersion(u32 Version);
};
#endif // CFONTLOADER_H