mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-29 17:38:16 +03:00
Add some more preparation for multi-font support and proper unloading
find_font_by_name() just finds the index of a given font name. This index is supposed to be stored and reused, because the font (for a language/level) won't be changed very often. So this function would only run when getting the language metadata, when loading a level, etc.
This commit is contained in:
committed by
Misa Elizabeth Kai
parent
83d645c8e3
commit
29a3789dec
@@ -52,6 +52,8 @@ struct GlyphInfo
|
||||
|
||||
struct Font
|
||||
{
|
||||
char name[64];
|
||||
|
||||
uint8_t glyph_w;
|
||||
uint8_t glyph_h;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user