aboutsummaryrefslogtreecommitdiff
path: root/engines/chewy/chewy.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/chewy.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/chewy.h')
-rw-r--r--engines/chewy/chewy.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/engines/chewy/chewy.h b/engines/chewy/chewy.h
index a3f5f9298d..6bb9df536f 100644
--- a/engines/chewy/chewy.h
+++ b/engines/chewy/chewy.h
@@ -25,7 +25,6 @@
#include "common/scummsys.h"
-#include "common/events.h"
#include "common/file.h"
#include "common/util.h"
#include "common/str.h"
@@ -39,6 +38,7 @@ namespace Chewy {
struct ChewyGameDescription;
class Console;
+class Events;
class Graphics;
class Sound;
@@ -55,6 +55,8 @@ public:
const ChewyGameDescription *_gameDescription;
Common::RandomSource _rnd;
+ void setPlayVideo(uint num) { _videoNum = num; }
+
Graphics *_graphics;
Sound *_sound;
@@ -67,10 +69,11 @@ protected:
void shutdown();
Console *_console;
+ Events *_events;
- Common::Event _event;
uint _curCursor;
uint _elapsedFrames;
+ int _videoNum;
};
} // End of namespace Chewy