diff options
Diffstat (limited to 'font.c')
-rw-r--r-- | font.c | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -0,0 +1,12 @@ +#include "font.h" +#include "TZR.h" + +static TZR_Uint ___font_spr = 0; + +int font_init(const char *path) +{ + ___font_spr = TZR_LoadResourceTyped(TZR_RES_IMAGE, path); + if (___font_spr == 0) + return 1; + return 0; +} |