aboutsummaryrefslogtreecommitdiff
path: root/scumm/charset.h
diff options
context:
space:
mode:
Diffstat (limited to 'scumm/charset.h')
-rw-r--r--scumm/charset.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/scumm/charset.h b/scumm/charset.h
index dbadc1a2c3..e1a023e0d1 100644
--- a/scumm/charset.h
+++ b/scumm/charset.h
@@ -130,6 +130,23 @@ public:
int getCharWidth(byte chr);
};
+class CharsetRendererNES : public CharsetRendererCommon {
+protected:
+ byte *_trTable;
+
+ void drawBits1(const Graphics::Surface &s, byte *dst, const byte *src, int drawTop, int width, int height);
+
+public:
+ CharsetRendererNES(ScummEngine *vm, Common::Language language);
+
+ void setCurID(byte id) {}
+ void printChar(int chr);
+ void drawChar(int chr, const Graphics::Surface &s, int x, int y);
+
+ int getFontHeight() { return 8; }
+ int getCharWidth(byte chr) { return 8; }
+};
+
class CharsetRendererV3 : public CharsetRendererCommon {
protected:
int _numChars;