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