aboutsummaryrefslogtreecommitdiff
path: root/engines/cge/snail.h
diff options
context:
space:
mode:
authorStrangerke2011-06-27 01:03:47 +0200
committerStrangerke2011-06-27 01:03:47 +0200
commit083d6ff6122cb2faf0a4330eb480bb9f77afa255 (patch)
treee8dae7dcccf1946d5df3518ff0e1221d6a881896 /engines/cge/snail.h
parente0673c113563ab9fc28d08c07a3bcb5c3b98fa1c (diff)
downloadscummvm-rg350-083d6ff6122cb2faf0a4330eb480bb9f77afa255.tar.gz
scummvm-rg350-083d6ff6122cb2faf0a4330eb480bb9f77afa255.tar.bz2
scummvm-rg350-083d6ff6122cb2faf0a4330eb480bb9f77afa255.zip
CGE: remove some if(n)def DEMO by using a new flag. Added CGEEngine in several classes in order to do so.
Diffstat (limited to 'engines/cge/snail.h')
-rw-r--r--engines/cge/snail.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/engines/cge/snail.h b/engines/cge/snail.h
index 54c7809fda..9449a8081e 100644
--- a/engines/cge/snail.h
+++ b/engines/cge/snail.h
@@ -29,6 +29,7 @@
#define __SNAIL__
#include "cge/jbw.h"
+#include "cge/cge.h"
namespace CGE {
@@ -89,12 +90,14 @@ public:
uint16 Pause;
static const char *ComTxt[];
bool TalkEnable;
- SNAIL(bool turbo = false);
- ~SNAIL(void);
+ SNAIL(CGEEngine *vm, bool turbo = false);
+ ~SNAIL();
void RunCom(void);
void AddCom(SNCOM com, int ref = 0, int val = 0, void *ptr = NULL);
void InsCom(SNCOM com, int ref = 0, int val = 0, void *ptr = NULL);
bool Idle(void);
+private:
+ CGEEngine *_vm;
};