diff options
author | Filippos Karapetis | 2007-09-17 23:32:25 +0000 |
---|---|---|
committer | Filippos Karapetis | 2007-09-17 23:32:25 +0000 |
commit | 5f05e7b64bd87510ccf941d27182828dd7bec535 (patch) | |
tree | 991b2f26e8c665efe47f98db200add66ee506afc /engines/saga/font.h | |
parent | 86b3c8ddeb2d01718e8c8053ae31b50716c38160 (diff) | |
download | scummvm-rg350-5f05e7b64bd87510ccf941d27182828dd7bec535.tar.gz scummvm-rg350-5f05e7b64bd87510ccf941d27182828dd7bec535.tar.bz2 scummvm-rg350-5f05e7b64bd87510ccf941d27182828dd7bec535.zip |
Added a debug command for font mapping
svn-id: r28935
Diffstat (limited to 'engines/saga/font.h')
-rw-r--r-- | engines/saga/font.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/engines/saga/font.h b/engines/saga/font.h index 5fd3a53721..16fdfc22b9 100644 --- a/engines/saga/font.h +++ b/engines/saga/font.h @@ -141,8 +141,11 @@ class Font { } void textDrawRect(KnownFont font, Surface *ds, const char *text, const Common::Rect &rect, int color, int effectColor, FontEffectFlags flags) { textDrawRect(knownFont2FontIdx(font), ds, text, rect, color, effectColor, flags); + } + void setFontMapping(int mapping) { + _fontMapping = mapping; } - + private: enum FontId { kSmallFont, @@ -197,6 +200,7 @@ class Font { SagaEngine *_vm; bool _initialized; + int _fontMapping; int _loadedFonts; FontData **_fonts; |