mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-30 01:48:15 +03:00
Migrate more prints to font::, determine font for most textboxes
Some textboxes need to be in the level font (like room names, cutscene dialogue, etc - even in the main game), and some need to be in the interface font (like when you collect a shiny trinket or crewmate). So most of these textboxes now have graphics.textboxprintflags(font_flag) as appropriate. RoomnameTranslator.cpp is now also migrated to the new print system - in room name translator mode, the room name is now displayed in the 8x8 font if it's untranslated and the level font if it is.
This commit is contained in:
committed by
Misa Elizabeth Kai
parent
6ca83114bc
commit
48a4e19635
@@ -109,6 +109,8 @@ public:
|
||||
|
||||
void textboxcentertext();
|
||||
|
||||
void textboxprintflags(uint32_t flags);
|
||||
|
||||
void textboxcommsrelay();
|
||||
|
||||
void textboxadjust(void);
|
||||
@@ -404,7 +406,7 @@ public:
|
||||
|
||||
SDL_Color crewcolourreal(int t);
|
||||
|
||||
void render_roomname(const char* roomname, int r, int g, int b);
|
||||
void render_roomname(uint32_t font_flag, const char* roomname, int r, int g, int b);
|
||||
|
||||
char error[128];
|
||||
char error_title[128]; /* for SDL_ShowSimpleMessageBox */
|
||||
|
||||
Reference in New Issue
Block a user