Add menu for selecting the level font

By default, when you open the level editor to start a new level, the
level font will now match your VVVVVV language; so if you're, say,
Japanese, then you can make Japanese levels from the get-go. If you
want to make levels for a different target audience, you can change the
font via a new menu (map settings > change description > change font).
The game will remember this choice and it will become the new initial
level font.
This commit is contained in:
Dav999-v
2023-01-21 19:06:30 +01:00
committed by Misa Elizabeth Kai
parent b030ce568f
commit 9747843c18
14 changed files with 220 additions and 3 deletions

View File

@@ -2592,13 +2592,16 @@ void scriptclass::startgamemode(const enum StartMode mode)
game.gamestate = GAMEMODE;
}
// Font handling
switch (mode)
{
case Start_EDITOR:
case Start_EDITORPLAYTESTING:
case Start_CUSTOM:
case Start_CUSTOM_QUICKSAVE:
break;
case Start_EDITOR:
font::set_level_font_new();
break;
default:
font::set_level_font_interface();
}