mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-11-05 10:49:41 +01:00
48a4e19635
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.
20 lines
497 B
C++
20 lines
497 B
C++
#ifndef ROOMNAMETRANSLATOR_H
|
|
#define ROOMNAMETRANSLATOR_H
|
|
|
|
#include <SDL.h>
|
|
|
|
namespace roomname_translator
|
|
{
|
|
extern bool enabled;
|
|
extern bool edit_mode;
|
|
|
|
extern SDL_Surface* dimbuffer;
|
|
extern SDL_Rect fullscreen_rect;
|
|
|
|
void set_enabled(bool value);
|
|
bool is_pausing(void);
|
|
void overlay_render(bool* force_roomname_hidden, bool* roomname_untranslated, int* roomname_r, int* roomname_g, int* roomname_b);
|
|
bool overlay_input(void);
|
|
}
|
|
|
|
#endif /* ROOMNAMETRANSLATOR_H */
|