aboutsummaryrefslogtreecommitdiff
path: root/engines/chewy/graphics.h
diff options
context:
space:
mode:
authorFilippos Karapetis2016-09-26 22:58:32 +0300
committerFilippos Karapetis2016-10-03 00:34:14 +0300
commit93a83a6b86116dabc058c4d799615d7e6c496a0c (patch)
tree44bace74fcc1a94bab2986c16954466906809995 /engines/chewy/graphics.h
parent8767b44fe0e216145e6f4218966b604e158f912e (diff)
downloadscummvm-rg350-93a83a6b86116dabc058c4d799615d7e6c496a0c.tar.gz
scummvm-rg350-93a83a6b86116dabc058c4d799615d7e6c496a0c.tar.bz2
scummvm-rg350-93a83a6b86116dabc058c4d799615d7e6c496a0c.zip
CHEWY: Add an event manager, and get rid of g_engine
Diffstat (limited to 'engines/chewy/graphics.h')
-rw-r--r--engines/chewy/graphics.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/engines/chewy/graphics.h b/engines/chewy/graphics.h
index 381e8f513c..90315e34a1 100644
--- a/engines/chewy/graphics.h
+++ b/engines/chewy/graphics.h
@@ -31,7 +31,7 @@ class SpriteResource;
class Graphics {
public:
- Graphics();
+ Graphics(ChewyEngine *vm);
~Graphics();
void drawImage(Common::String filename, int imageNum);
@@ -41,7 +41,10 @@ public:
void hideCursor();
void animateCursor();
void nextCursor();
+
private:
+ ChewyEngine *_vm;
+
uint _curCursor;
uint _curCursorFrame;
SpriteResource *_cursorSprites;