aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Gilbert2016-06-27 07:58:32 -0400
committerPaul Gilbert2016-07-15 19:25:22 -0400
commite161a3d2078c8b9d284b5bfbeab8de3d8304eedb (patch)
treed8bf5a70d13fcde7fa4eddf11063e1ea0eaeaec5
parentef1d10e926fcf31ffeb5c594a305ec0cd8bf7064 (diff)
downloadscummvm-rg350-e161a3d2078c8b9d284b5bfbeab8de3d8304eedb.tar.gz
scummvm-rg350-e161a3d2078c8b9d284b5bfbeab8de3d8304eedb.tar.bz2
scummvm-rg350-e161a3d2078c8b9d284b5bfbeab8de3d8304eedb.zip
TITANIC: Added extra CGameState methods
-rw-r--r--engines/titanic/game_state.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/titanic/game_state.h b/engines/titanic/game_state.h
index 327459278d..125882a9dd 100644
--- a/engines/titanic/game_state.h
+++ b/engines/titanic/game_state.h
@@ -124,6 +124,11 @@ public:
*/
void addMovie(CMovie *movie);
+ void inc14() { _field14 = (_field14 + 1) & 3; }
+ void set24(int v) { _field24 = v; }
+ int get24() const { return _field24; }
+ int getNodeChangedCtr() const { return _nodeChangeCtr; }
+ uint32 getNodeEnterTicks() const { return _nodeEnterTicks; }
void inc38() { ++_field38; }
};