mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-31 02:14:09 +03:00
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:
committed by
Misa Elizabeth Kai
parent
b030ce568f
commit
9747843c18
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user