aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph-Eugene Winzer2017-08-30 22:31:40 +0200
committerThierry Crozat2018-01-23 02:00:59 +0000
commit7b4e9a542444ac1e653442d0fe7c9cce4d7f4152 (patch)
treebf355869e5f689797116cb67f7615fc5bd3490a3
parent7bd20ffbed1c251d05fbefc2f8d9b58c28fc8cf1 (diff)
downloadscummvm-rg350-7b4e9a542444ac1e653442d0fe7c9cce4d7f4152.tar.gz
scummvm-rg350-7b4e9a542444ac1e653442d0fe7c9cce4d7f4152.tar.bz2
scummvm-rg350-7b4e9a542444ac1e653442d0fe7c9cce4d7f4152.zip
SUPERNOVA: Adds text speed variable
-rw-r--r--engines/supernova/supernova.cpp1
-rw-r--r--engines/supernova/supernova.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/engines/supernova/supernova.cpp b/engines/supernova/supernova.cpp
index 524e214652..b0c3542458 100644
--- a/engines/supernova/supernova.cpp
+++ b/engines/supernova/supernova.cpp
@@ -107,6 +107,7 @@ SupernovaEngine::SupernovaEngine(OSystem *syst)
, _imageIndex(0)
, _sectionIndex(0)
, _delay(33)
+ , _textSpeed(kTextSpeed[2])
, _screenWidth(320)
, _screenHeight(200)
, _messageDisplayed(false)
diff --git a/engines/supernova/supernova.h b/engines/supernova/supernova.h
index 4327ba1d7d..2073c0f300 100644
--- a/engines/supernova/supernova.h
+++ b/engines/supernova/supernova.h
@@ -105,6 +105,7 @@ public:
uint _timePaused;
uint _delay;
bool _messageDisplayed;
+ int _textSpeed;
int _textCursorX;
int _textCursorY;
int _textColor;