aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/supernova/supernova.cpp10
-rw-r--r--engines/supernova/supernova.h1
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();