aboutsummaryrefslogtreecommitdiff
path: root/engines/saga/font.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/saga/font.h')
-rw-r--r--engines/saga/font.h6
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;