22 #ifndef LASTEXPRESS_FONT_H 23 #define LASTEXPRESS_FONT_H 38 #include "common/str.h" 39 #include "graphics/surface.h" 42 class SeekableReadStream;
58 static const uint32 _paletteSize = 0x10;
59 static const uint32 _charMapSize = 0x200;
60 static const uint32 _charHeight = 16;
64 uint16 getCharGlyph(uint16 c)
const;
65 byte *getGlyphImg(uint16 g);
66 uint8 getGlyphWidth(uint16 g);
67 byte *getCharImg(uint16 c);
68 uint8 getCharWidth(uint16 c)
const;
70 uint16 getStringWidth(
const uint16 *str, uint16 length)
const;
74 uint16 _palette[_paletteSize];
75 uint8 _charMap[_charMapSize];
83 #endif // LASTEXPRESS_FONT_H
Definition: animation.h:45
Definition: algorithm.h:29