25 #include "common/scummsys.h" 26 #include "common/hashmap.h" 27 #include "common/endian.h" 28 #include "common/util.h" 29 #include "mads/nebular/core/msurface.h" 34 #define FONT_CONVERSATION "*FONTCONV.FF" 35 #define FONT_INTERFACE "*FONTINTR.FF" 36 #define FONT_MAIN "*FONTMAIN.FF" 37 #define FONT_MENU "*FONTMENU.FF" // Not in Rex (uses bitmap files for menu strings) 38 #define FONT_MISC "*FONTMISC.FF" 39 #define FONT_TELE "*FONTTELE.FF" // Not in Phantom 40 #define FONT_PHAN "*FONTPHAN.FF" // Phantom only 43 SELMODE_UNSELECTED = 0, SELMODE_HIGHLIGHTED = 1, SELMODE_SELECTED = 2
50 static uint8 _fontColors[4];
69 uint8 _maxWidth, _maxHeight;
75 int getBpp(
int charWidth);
83 void setColors(uint8 v1, uint8 v2, uint8 v3, uint8 v4);
84 void setColorMode(SelectionMode mode);
86 int maxWidth()
const {
90 int getHeight()
const {
94 int spaceWidth = 0,
int width = 0);
Definition: msurface.h:56
static void init(RexNebularEngine *vm)
Definition: sound_manager.h:38
static Font * getFont(const Common::String &fontName)