aboutsummaryrefslogtreecommitdiff
path: root/engines/supernova2/state.h
diff options
context:
space:
mode:
authorJaromir Wysoglad2019-06-20 10:53:47 +0200
committerThierry Crozat2019-07-28 15:09:14 +0100
commitbc8393deafb440d888db7295a75e59448e45ef7f (patch)
treeaff59374a66d8c4e02e6dd3226b7e585a8af1ea6 /engines/supernova2/state.h
parent5f355734fd8648d03d4e691c7c3bc70cfaeaf0a6 (diff)
downloadscummvm-rg350-bc8393deafb440d888db7295a75e59448e45ef7f.tar.gz
scummvm-rg350-bc8393deafb440d888db7295a75e59448e45ef7f.tar.bz2
scummvm-rg350-bc8393deafb440d888db7295a75e59448e45ef7f.zip
SUPERNOVA: Divide GameManager into 2 classes
GameManager got divided into a base class, that will be used for both parts and a derived class specific to only the first part.
Diffstat (limited to 'engines/supernova2/state.h')
-rw-r--r--engines/supernova2/state.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/supernova2/state.h b/engines/supernova2/state.h
index ce1e88f266..1a76a55587 100644
--- a/engines/supernova2/state.h
+++ b/engines/supernova2/state.h
@@ -173,7 +173,6 @@ public:
int32 _oldTime;
uint _timePaused;
bool _timerPaused;
- int _restTime;
int32 _messageDuration;
int32 _animationTimer;
int _inventoryScroll;
@@ -188,12 +187,15 @@ public:
byte _rows[6];
byte _rowsStart[6];
byte _dials[6];
+
+ //state
unsigned char _puzzleField[16];
bool _mapOn;
bool _steps;
bool _cracking;
bool _alarmBefore;
RoomId _securityTab[10];
+ int _restTime;
void takeObject(Object &obj);
void setObjectNull(Object *&obj);