25 #include "common/scummsys.h" 26 #include "common/hashmap.h" 27 #include "common/endian.h" 28 #include "common/util.h" 29 #include "mads/msurface.h" 33 #define FONT_CONVERSATION "*FONTCONV.FF" 34 #define FONT_INTERFACE "*FONTINTR.FF" 35 #define FONT_MAIN "*FONTMAIN.FF" 36 #define FONT_MENU "*FONTMENU.FF" // Not in Rex (uses bitmap files for menu strings) 37 #define FONT_MISC "*FONTMISC.FF" 38 #define FONT_TELE "*FONTTELE.FF" // Not in Phantom 39 #define FONT_PHAN "*FONTPHAN.FF" // Phantom only 42 SELMODE_UNSELECTED = 0, SELMODE_HIGHLIGHTED = 1, SELMODE_SELECTED = 2
49 static uint8 _fontColors[4];
68 uint8 _maxWidth, _maxHeight;
74 int getBpp(
int charWidth);
82 void setColors(uint8 v1, uint8 v2, uint8 v3, uint8 v4);
83 void setColorMode(SelectionMode mode);
85 int maxWidth()
const {
return _maxWidth; }
87 int getHeight()
const {
return _maxHeight; }
89 int spaceWidth = 0,
int width = 0);
Definition: msurface.h:55
static Font * getFont(const Common::String &fontName)
static void init(MADSEngine *vm)