aboutsummaryrefslogtreecommitdiff
path: root/engines/illusions/screen.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/illusions/screen.h')
-rw-r--r--engines/illusions/screen.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/illusions/screen.h b/engines/illusions/screen.h
index 4a89c790a4..63750ce635 100644
--- a/engines/illusions/screen.h
+++ b/engines/illusions/screen.h
@@ -168,6 +168,7 @@ public:
uint16 getColorKey2() const { return _colorKey2; }
int16 getScreenWidth() const { return _backSurface->w; }
int16 getScreenHeight() const { return _backSurface->h; }
+ Graphics::Surface *getBackSurface() const { return _backSurface; }
virtual void decompressSprite(SpriteDecompressQueueItem *item) = 0;
virtual void drawSurface(Common::Rect &dstRect, Graphics::Surface *surface, Common::Rect &srcRect, int16 scale, uint32 flags) = 0;
virtual void drawText(FontResource *font, Graphics::Surface *surface, int16 x, int16 y, uint16 *text, uint count) = 0;