aboutsummaryrefslogtreecommitdiff
path: root/engines/illusions/screen.h
diff options
context:
space:
mode:
authorjohndoe1232018-05-17 01:28:06 +1000
committerEugene Sandulenko2018-07-20 06:43:33 +0000
commit960d79ed5acde4d1dda7c123e224b551c7df7260 (patch)
tree7f267630cd545f015d96668e7d2b47e83b9e4315 /engines/illusions/screen.h
parentc01a1269b6bd6bfbce0de201490fc2c1d61c2250 (diff)
downloadscummvm-rg350-960d79ed5acde4d1dda7c123e224b551c7df7260.tar.gz
scummvm-rg350-960d79ed5acde4d1dda7c123e224b551c7df7260.tar.bz2
scummvm-rg350-960d79ed5acde4d1dda7c123e224b551c7df7260.zip
ILLUSIONS: DUCKMAN: Implement video player
(cherry picked from commit 62577c8)
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;