Update font.cpp
This commit is contained in:
parent
ff93a1a760
commit
2d98ec8ffb
|
@ -33,13 +33,13 @@
|
||||||
|
|
||||||
#include <SDL_ttf.h>
|
#include <SDL_ttf.h>
|
||||||
|
|
||||||
#define BUNDLED_FONT liberation
|
#define BUNDLED_FONT monapo
|
||||||
|
|
||||||
#define BUNDLED_FONT_DECL(FONT) \
|
#define BUNDLED_FONT_DECL(FONT) \
|
||||||
extern unsigned char assets_##FONT##_ttf[]; \
|
extern unsigned char assets_##FONT##_ttf[]; \
|
||||||
extern unsigned int assets_##FONT##_ttf_len;
|
extern unsigned int assets_##FONT##_ttf_len;
|
||||||
|
|
||||||
BUNDLED_FONT_DECL(liberation)
|
BUNDLED_FONT_DECL(monapo)
|
||||||
|
|
||||||
#define BUNDLED_FONT_D(f) assets_## f ##_ttf
|
#define BUNDLED_FONT_D(f) assets_## f ##_ttf
|
||||||
#define BUNDLED_FONT_L(f) assets_## f ##_ttf_len
|
#define BUNDLED_FONT_L(f) assets_## f ##_ttf_len
|
||||||
|
|
Loading…
Reference in New Issue