mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-07-28 01:51:49 +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
@@ -59,13 +59,20 @@
|
||||
|
||||
namespace font
|
||||
{
|
||||
// Options in font selection menu
|
||||
extern uint8_t font_idx_options_n;
|
||||
extern uint8_t font_idx_options[20];
|
||||
|
||||
bool find_main_font_by_name(const char* name, uint8_t* idx);
|
||||
const char* get_main_font_name(uint8_t idx);
|
||||
const char* get_main_font_display_name(uint8_t idx);
|
||||
const char* get_level_font_display_name(void);
|
||||
uint8_t get_font_idx_8x8(void);
|
||||
bool level_font_is_main_idx(uint8_t idx);
|
||||
|
||||
void set_level_font(const char* name);
|
||||
void set_level_font_interface(void);
|
||||
void set_level_font_new(void);
|
||||
void load_main(void);
|
||||
void load_custom(const char* name);
|
||||
void unload_custom(void);
|
||||
|
||||
Reference in New Issue
Block a user