mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-30 01:48:15 +03:00
Allow levels to select a font via XML, show correct font in levels list
There still needs to be a menu for selecting a font, but it can now be loaded and saved correctly in the XML!
This commit is contained in:
committed by
Misa Elizabeth Kai
parent
8d5e3b1a8a
commit
7db0e73109
@@ -6266,7 +6266,13 @@ void Game::createmenu( enum Menu::MenuName t, bool samemenu/*= false*/ )
|
||||
{
|
||||
text[ii] = SDL_tolower(text[ii]);
|
||||
}
|
||||
option(text, true, cl.ListOfMetaData[i].title_is_gettext ? PR_FONT_INTERFACE : PR_FONT_8X8); // TODO level font
|
||||
option(
|
||||
text,
|
||||
true,
|
||||
cl.ListOfMetaData[i].title_is_gettext ? PR_FONT_INTERFACE : PR_FONT_IDX(
|
||||
cl.ListOfMetaData[i].level_main_font_idx
|
||||
)
|
||||
);
|
||||
}
|
||||
}
|
||||
if (cl.ListOfMetaData.size() > 8)
|
||||
|
||||
Reference in New Issue
Block a user