aboutsummaryrefslogtreecommitdiff
path: root/engines/fullpipe/fullpipe.h
diff options
context:
space:
mode:
authorEugene Sandulenko2013-06-19 14:46:25 -0400
committerEugene Sandulenko2013-09-06 14:48:13 +0300
commit249c4bd118527b33e9bc9ef0ed3eee3bff88a8b7 (patch)
tree703db8740c1893ff132ea9bd0a96019e4c735b37 /engines/fullpipe/fullpipe.h
parent2e6bad888e02952e980dfc33978673bda0349030 (diff)
downloadscummvm-rg350-249c4bd118527b33e9bc9ef0ed3eee3bff88a8b7.tar.gz
scummvm-rg350-249c4bd118527b33e9bc9ef0ed3eee3bff88a8b7.tar.bz2
scummvm-rg350-249c4bd118527b33e9bc9ef0ed3eee3bff88a8b7.zip
FULLPIPE: implement initObjectStates()
Diffstat (limited to 'engines/fullpipe/fullpipe.h')
-rw-r--r--engines/fullpipe/fullpipe.h18
1 files changed, 15 insertions, 3 deletions
diff --git a/engines/fullpipe/fullpipe.h b/engines/fullpipe/fullpipe.h
index a6a58ffb1b..92c0052d68 100644
--- a/engines/fullpipe/fullpipe.h
+++ b/engines/fullpipe/fullpipe.h
@@ -44,11 +44,12 @@ enum FullpipeGameFeatures {
};
class CGameLoader;
+class CGameVar;
extern int g_gameProjectVersion;
extern int g_gameProjectValue;
extern int g_scrollSpeed;
-
+extern int g_currSoundListCount;
class FullpipeEngine : public ::Engine {
protected:
@@ -71,15 +72,26 @@ public:
Common::KeyCode _keyState;
uint16 _buttonState;
- void updateEvents();
+ void updateEvents();
- CGameLoader *g_gameLoader;
+ CGameLoader *_gameLoader;
bool loadGam(const char *fname);
int _gameProjectVersion;
int _gameProjectValue;
int _scrollSpeed;
+ void initObjectStates();
+ void setLevelStates();
+ void setSwallowedEggsState();
+
+ CGameVar *_swallowedEgg1;
+ CGameVar *_swallowedEgg2;
+ CGameVar *_swallowedEgg3;
+
+ void setObjectState(const char *name, int state);
+ int getObjectEnumState(const char *name, const char *state);
+
public:
bool _isSaveAllowed;