Add setfont scripting command

The <font> in the level file is basically the starting font, but it can
be changed at any time via scripting.
This commit is contained in:
Dav999-v
2023-01-20 04:57:06 +01:00
committed by Misa Elizabeth Kai
parent 7db0e73109
commit cc6b00a711
4 changed files with 21 additions and 1 deletions

View File

@@ -64,6 +64,7 @@ bool find_main_font_by_name(const char* name, uint8_t* idx);
const char* get_main_font_name(uint8_t idx);
uint8_t get_font_idx_8x8(void);
void set_custom_font(const char* name);
void load_main(void);
void load_custom(const char* name);
void unload_custom(void);