aboutsummaryrefslogtreecommitdiff
path: root/engines/xeen/xsurface.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/xeen/xsurface.h')
-rw-r--r--engines/xeen/xsurface.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/engines/xeen/xsurface.h b/engines/xeen/xsurface.h
index 92f1236349..6688285361 100644
--- a/engines/xeen/xsurface.h
+++ b/engines/xeen/xsurface.h
@@ -30,8 +30,13 @@
namespace Xeen {
+#define SYMBOL_WIDTH 8
+#define SYMBOL_HEIGHT 8
+
class XSurface: public Graphics::Surface {
public:
+ Common::Point _writePos;
+public:
virtual void addDirtyRect(const Common::Rect &r) {}
public:
XSurface();
@@ -49,6 +54,12 @@ public:
void blitTo(XSurface &dest) const;
bool empty() const { return getPixels() == nullptr; }
+
+ void writeSymbol(int symbolId);
+
+ void writeString(const Common::String &s);
+
+ void writeChar(char c);
};
} // End of namespace Xeen