aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/game/broken_pell_base.h
diff options
context:
space:
mode:
authorPaul Gilbert2017-08-16 20:18:55 -0400
committerPaul Gilbert2017-08-16 20:18:55 -0400
commit6c667a013dd6f2fdd4812694e19e472869b5e832 (patch)
treeb934fd774701fcb58595869457d11297467d9c71 /engines/titanic/game/broken_pell_base.h
parent73764581374c5aca488b60a668f2810691f89c39 (diff)
downloadscummvm-rg350-6c667a013dd6f2fdd4812694e19e472869b5e832.tar.gz
scummvm-rg350-6c667a013dd6f2fdd4812694e19e472869b5e832.tar.bz2
scummvm-rg350-6c667a013dd6f2fdd4812694e19e472869b5e832.zip
TITANIC: Renamings for Broken Pellerator fields
Diffstat (limited to 'engines/titanic/game/broken_pell_base.h')
-rw-r--r--engines/titanic/game/broken_pell_base.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/engines/titanic/game/broken_pell_base.h b/engines/titanic/game/broken_pell_base.h
index c5b27d88bf..2d42f143ef 100644
--- a/engines/titanic/game/broken_pell_base.h
+++ b/engines/titanic/game/broken_pell_base.h
@@ -27,16 +27,18 @@
namespace Titanic {
+enum CloseAction { CLOSE_NONE = 0, CLOSE_LEFT = 1, CLOSE_RIGHT = 2 };
+
class CBrokenPellBase : public CBackground {
DECLARE_MESSAGE_MAP;
protected:
- static bool _v1;
- static int _v2;
+ static bool _pelleratorOpen;
+ static bool _gottenHose;
- int _exitAction;
+ CloseAction _closeAction;
public:
CLASSDEF;
- CBrokenPellBase() : CBackground(), _exitAction(0) {}
+ CBrokenPellBase() : CBackground(), _closeAction(CLOSE_NONE) {}
/**
* Save the data for the class to file