diff options
author | Julien Templier | 2010-10-26 06:55:17 +0000 |
---|---|---|
committer | Julien Templier | 2010-10-26 06:55:17 +0000 |
commit | fd8af7ba6ed6753f4b8a656b26d6092c824fc844 (patch) | |
tree | b3f813c209bf4816cd0480bf9278b54e5add7c28 /engines/lastexpress/game/state.h | |
parent | f663a736dd1d7b8bed0b25e94269f1c4e329ae73 (diff) | |
download | scummvm-rg350-fd8af7ba6ed6753f4b8a656b26d6092c824fc844.tar.gz scummvm-rg350-fd8af7ba6ed6753f4b8a656b26d6092c824fc844.tar.bz2 scummvm-rg350-fd8af7ba6ed6753f4b8a656b26d6092c824fc844.zip |
LASTEXPRESS: Make GameState::time of type TimeValue
svn-id: r53844
Diffstat (limited to 'engines/lastexpress/game/state.h')
-rw-r--r-- | engines/lastexpress/game/state.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/engines/lastexpress/game/state.h b/engines/lastexpress/game/state.h index a1b67df476..07c1844efa 100644 --- a/engines/lastexpress/game/state.h +++ b/engines/lastexpress/game/state.h @@ -596,7 +596,7 @@ public: // Game data uint32 field_0; - uint32 time; + TimeValue time; uint32 timeDelta; uint32 timeTicks; bool sceneUseBackup; // byte @@ -612,7 +612,7 @@ public: volume = _defaultVolume; //Game data - time = _defaultTime; + time = kTimeCityParis; timeDelta = _defaultTimeDelta; timeTicks = 0; sceneUseBackup = false; @@ -728,9 +728,8 @@ public: static void getHourMinutes(uint32 time, uint8 *hours, uint8 *minutes); private: - static const uint32 _defaultBrigthness = 0x3; - static const uint32 _defaultVolume = 0x7; - static const uint32 _defaultTime = 1037700; + static const uint32 _defaultBrigthness = 3; + static const uint32 _defaultVolume = 7; static const uint32 _defaultTimeDelta = 3; static const uint32 _defaultPortrait = 32; |