From fd8af7ba6ed6753f4b8a656b26d6092c824fc844 Mon Sep 17 00:00:00 2001 From: Julien Templier Date: Tue, 26 Oct 2010 06:55:17 +0000 Subject: LASTEXPRESS: Make GameState::time of type TimeValue svn-id: r53844 --- engines/lastexpress/game/state.h | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'engines/lastexpress/game/state.h') 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; -- cgit v1.2.3