aboutsummaryrefslogtreecommitdiff
path: root/graphics/sjis.h
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/sjis.h')
-rw-r--r--graphics/sjis.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/graphics/sjis.h b/graphics/sjis.h
index 141a1ed13a..60bf7844a3 100644
--- a/graphics/sjis.h
+++ b/graphics/sjis.h
@@ -50,6 +50,19 @@ public:
virtual ~FontSJIS() {}
/**
+ * Creates the first SJIS font, which ROM/font file is present.
+ * It will also call loadData, so the user can just start
+ * using the font.
+ *
+ * It will prefer ScummVM's font.
+ *
+ * TODO: Consider adding some way to overwrite the first checked
+ * font, some games might want to prefer the original ROM over
+ * ScummVM's.
+ */
+ static FontSJIS *createFont();
+
+ /**
* Load the font data.
*/
virtual bool loadData() = 0;