Separated font graphics from skin graphics. WIP, a lot is still hard-coded (font list) or not coded at all (save/load in ini, and match in skin selection screen).
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@885 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
13
main.c
13
main.c
@@ -555,11 +555,14 @@ int Init_program(int argc,char * argv[])
|
||||
Fore_color=MC_White;
|
||||
Back_color=MC_Black;
|
||||
|
||||
// Prise en compte de la fonte
|
||||
if (Config.Font)
|
||||
Menu_font=Gfx->Fun_font;
|
||||
else
|
||||
Menu_font=Gfx->System_font;
|
||||
// Font
|
||||
{
|
||||
byte *font;
|
||||
font = Load_font("Classic");
|
||||
if (font)
|
||||
Menu_font=font;
|
||||
}
|
||||
|
||||
|
||||
memcpy(Main_palette, Gfx->Default_palette, sizeof(T_Palette));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user