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

@@ -404,7 +404,7 @@ uint8_t get_font_idx_8x8(void)
return font_idx_8x8;
}
static void set_custom_font(const char* name)
void set_custom_font(const char* name)
{
/* Apply the choice for a certain level-specific font. */