diff options
Diffstat (limited to 'engines/supernova')
-rw-r--r-- | engines/supernova/msn_def.h | 1 | ||||
-rw-r--r-- | engines/supernova/state.cpp | 6 |
2 files changed, 4 insertions, 3 deletions
diff --git a/engines/supernova/msn_def.h b/engines/supernova/msn_def.h index f38bbd2b80..7c596a2db4 100644 --- a/engines/supernova/msn_def.h +++ b/engines/supernova/msn_def.h @@ -28,6 +28,7 @@ namespace Supernova { const int kScreenWidth = 320; const int kScreenHeight = 200; const int kTextSpeed[] = {19, 14, 10, 7, 4}; +const int kMsecPerTick = 55; const int kMaxSection = 40; const int kMaxSectionZus = 50; diff --git a/engines/supernova/state.cpp b/engines/supernova/state.cpp index 6f5fe1daf0..4c28a06d76 100644 --- a/engines/supernova/state.cpp +++ b/engines/supernova/state.cpp @@ -221,10 +221,10 @@ void GameManager::initState() { _timer1 = 0; _animationTimer = 0; - _state.time = 14200; + _state.time = 2840 * kMsecPerTick; _state.timeSleep = 0; - _state.timeStarting = 50400000; - _state.timeAlarm = 25200000; + _state.timeStarting = 50400000; // 2 pm -- Originally: systime() - 917650 + _state.timeAlarm = 25200000; // 7 am _state.timeAlarmSystem = _state.timeAlarm + _state.timeStarting; _state.eventTime = 0xffffffff; _state.shipEnergy = 2135; |