diff options
author | Joseph-Eugene Winzer | 2017-08-22 22:40:15 +0200 |
---|---|---|
committer | Thierry Crozat | 2018-01-23 01:42:32 +0000 |
commit | b0b682ad096e4694608d3686c74176a86642184d (patch) | |
tree | 9c25e97a79b424a1ae8629c26c914eafa5787a75 /engines/supernova | |
parent | a24af98b5e7a94fa1d4a91ca66f12b3cb2f0b250 (diff) | |
download | scummvm-rg350-b0b682ad096e4694608d3686c74176a86642184d.tar.gz scummvm-rg350-b0b682ad096e4694608d3686c74176a86642184d.tar.bz2 scummvm-rg350-b0b682ad096e4694608d3686c74176a86642184d.zip |
SUPERNOVA: Removes getDOSTicks()
Diffstat (limited to 'engines/supernova')
-rw-r--r-- | engines/supernova/supernova.cpp | 10 | ||||
-rw-r--r-- | engines/supernova/supernova.h | 1 |
2 files changed, 0 insertions, 11 deletions
diff --git a/engines/supernova/supernova.cpp b/engines/supernova/supernova.cpp index c79748d083..5dfabff4d7 100644 --- a/engines/supernova/supernova.cpp +++ b/engines/supernova/supernova.cpp @@ -160,16 +160,6 @@ Common::Error SupernovaEngine::run() { return Common::kNoError; } -// Emulates DOS int 1A/00 -int SupernovaEngine::getDOSTicks() { - TimeDate systemTime; - _system->getTimeAndDate(systemTime); - - return static_cast<int>((systemTime.tm_hour * 24 + - systemTime.tm_min * 60 + - systemTime.tm_sec) * 18.2065); -} - void SupernovaEngine::updateEvents() { _gm->handleTime(); if (_gm->_animationEnabled && _gm->_animationTimer == 0) diff --git a/engines/supernova/supernova.h b/engines/supernova/supernova.h index eef3c9d015..271db0be13 100644 --- a/engines/supernova/supernova.h +++ b/engines/supernova/supernova.h @@ -107,7 +107,6 @@ public: int _textCursorY; int _textColor; - int getDOSTicks(); int textWidth(const char *text); int textWidth(const uint16 key); void initData(); |