Mercurial > hg > dmlib
diff ppl.c @ 584:923d920a8a85
Build setupfont.h and setupimage.h from source data files. Use setupfont in PPL.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Fri, 12 Apr 2013 05:12:08 +0300 |
parents | 61af51348ea4 |
children | ad738873083e |
line wrap: on
line diff
--- a/ppl.c Fri Apr 12 05:10:16 2013 +0300 +++ b/ppl.c Fri Apr 12 05:12:08 2013 +0300 @@ -15,7 +15,7 @@ #include "dmimage.h" #include "dmtext.h" -#include "pplfont.h" +#include "setupfont.h" struct @@ -633,7 +633,7 @@ // Get font // file = dmf_create_stdio("fnsmall.fnt", "rb"); - file = dmf_create_memio(NULL, "pplfont.fnt", dmPlayerFont, sizeof(dmPlayerFont)); + file = dmf_create_memio(NULL, "pplfont.fnt", engineSetupFont, sizeof(engineSetupFont)); if (file == NULL) { dmError("Error opening font file 'pplfont.fnt'.\n");