22 #ifndef SCUMM_SMUSH_REBEL_FONT_REBEL2_H 23 #define SCUMM_SMUSH_REBEL_FONT_REBEL2_H 25 #include "common/scummsys.h" 26 #include "common/rect.h" 28 #include "scumm/charset_v7.h" 40 NutRenderer *fonts[kMaxFonts];
45 NutRenderer *getFont(
int id)
const;
48 NutRenderer *makeRebel2Font(
ScummEngine *vm,
const char *filename);
49 NutRenderer *makeRebel2SpriteFromData(
ScummEngine *vm,
const byte *data, int32 dataSize);
50 int drawRebel2Char(NutRenderer *font, byte *buffer,
Common::Rect &clipRect,
int x,
int y,
51 int pitch, int16 col, byte chr);
52 int getRebel2StringWidth(
const Rebel2FontSet &fontSet,
const char *str, uint len);
53 int getRebel2StringHeight(
const Rebel2FontSet &fontSet,
const char *str, uint len);
54 void drawRebel2String(
const Rebel2FontSet &fontSet,
const char *str, uint len, byte *buffer,
55 Common::Rect &clipRect,
int x,
int y,
int pitch, int16 col, TextStyleFlags flags);
56 void drawRebel2StringWrap(
const Rebel2FontSet &fontSet,
const char *str, uint len, byte *buffer,
57 Common::Rect &clipRect,
int x,
int y,
int pitch, int16 col, TextStyleFlags flags);
Definition: font_rebel2.h:35