aboutsummaryrefslogtreecommitdiff
path: root/engines/supernova/state.h
diff options
context:
space:
mode:
authorJoseph-Eugene Winzer2017-08-22 22:33:09 +0200
committerThierry Crozat2018-01-23 01:42:32 +0000
commita24af98b5e7a94fa1d4a91ca66f12b3cb2f0b250 (patch)
tree2e5560cd2e58411d78440d58cc3567998e07b0be /engines/supernova/state.h
parenta2f43c4eb6adb3e6c61cc4c1838707e8adb580c2 (diff)
downloadscummvm-rg350-a24af98b5e7a94fa1d4a91ca66f12b3cb2f0b250.tar.gz
scummvm-rg350-a24af98b5e7a94fa1d4a91ca66f12b3cb2f0b250.tar.bz2
scummvm-rg350-a24af98b5e7a94fa1d4a91ca66f12b3cb2f0b250.zip
SUPERNOVA: Corrects GameState variable names
According to the naming convention class member variables need to be prefixed with an underscore. Unfortunately, I already started converting time constants when making this change so ticksToMsec() and constant changes are sprinkled over this commit.
Diffstat (limited to 'engines/supernova/state.h')
-rw-r--r--engines/supernova/state.h54
1 files changed, 27 insertions, 27 deletions
diff --git a/engines/supernova/state.h b/engines/supernova/state.h
index 4ab3cf12b6..9e91ff3a78 100644
--- a/engines/supernova/state.h
+++ b/engines/supernova/state.h
@@ -29,33 +29,33 @@
namespace Supernova {
struct GameState {
- int32 time;
- int32 timeSleep;
- int32 timeStarting;
- int32 timeAlarm;
- int32 timeAlarmSystem;
- int32 eventTime;
- int32 shipEnergy;
- int32 landingModuleEnergy;
- uint16 greatFlag;
- int16 timeRobot;
- int16 money;
- byte coins;
- byte shoes;
- byte nameSeen;
- byte destination;
- byte benOverlay;
- byte language;
- bool corridorSearch;
- bool alarmOn;
- bool terminalStripConnected;
- bool terminalStripWire;
- bool cableConnected;
- bool powerOff;
- bool cockpitSeen;
- bool airlockSeen;
- bool holdSeen;
- bool dream;
+ int32 _time;
+ int32 _timeSleep;
+ int32 _timeStarting;
+ int32 _timeAlarm;
+ int32 _timeAlarmSystem;
+ int32 _eventTime;
+ int32 _shipEnergy;
+ int32 _landingModuleEnergy;
+ uint16 _greatFlag;
+ int16 _timeRobot;
+ int16 _money;
+ byte _coins;
+ byte _shoes;
+ byte _nameSeen;
+ byte _destination;
+ byte _benOverlay;
+ byte _language;
+ bool _corridorSearch;
+ bool _alarmOn;
+ bool _terminalStripConnected;
+ bool _terminalStripWire;
+ bool _cableConnected;
+ bool _powerOff;
+ bool _cockpitSeen;
+ bool _airlockSeen;
+ bool _holdSeen;
+ bool _dream;
};
class Inventory {