aboutsummaryrefslogtreecommitdiff
path: root/engines/sky
diff options
context:
space:
mode:
authorLothar Serra Mari2019-02-10 09:42:51 +0100
committerFilippos Karapetis2019-02-16 22:47:55 +0200
commit1dec8d7668651066593be63344d81a1c6b20c09d (patch)
treecd9b015bcf33ae2bed2fc1b9b7cd2d2d4e114273 /engines/sky
parenta9a6ce7e811a2a3fe14399a868341031b54517a0 (diff)
downloadscummvm-rg350-1dec8d7668651066593be63344d81a1c6b20c09d.tar.gz
scummvm-rg350-1dec8d7668651066593be63344d81a1c6b20c09d.tar.bz2
scummvm-rg350-1dec8d7668651066593be63344d81a1c6b20c09d.zip
SKY: Decrease cursor redraw delay in menu
Diffstat (limited to 'engines/sky')
-rw-r--r--engines/sky/control.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/engines/sky/control.cpp b/engines/sky/control.cpp
index a3fef3c0cd..c9e00b7612 100644
--- a/engines/sky/control.cpp
+++ b/engines/sky/control.cpp
@@ -488,7 +488,7 @@ void Control::doControlPanel() {
_text->drawToScreen(WITH_MASK);
_system->updateScreen();
_mouseClicked = false;
- delay(50);
+ delay(20);
if (!_controlPanel)
return;
if (_keyPressed.keycode == Common::KEYCODE_ESCAPE) { // escape pressed
@@ -635,7 +635,7 @@ bool Control::getYesNo(char *text) {
_skyMouse->spriteMouse(mouseType, 0, 0);
}
_system->updateScreen();
- delay(50);
+ delay(20);
if (!_controlPanel) {
free(dlgTextDat);
delete dlgText;
@@ -672,7 +672,7 @@ uint16 Control::doMusicSlide() {
int ofsY = _slide2->_y - mouse.y;
uint8 volume;
while (_mouseClicked) {
- delay(50);
+ delay(20);
if (!_controlPanel)
return 0;
mouse = _system->getEventManager()->getMousePos();
@@ -703,7 +703,7 @@ uint16 Control::doSpeedSlide() {
speedDelay *= SPEED_MULTIPLY;
speedDelay += 2;
while (_mouseClicked) {
- delay(50);
+ delay(20);
if (!_controlPanel)
return SPEED_CHANGED;
mouse = _system->getEventManager()->getMousePos();
@@ -896,7 +896,7 @@ uint16 Control::saveRestorePanel(bool allowSave) {
_text->drawToScreen(WITH_MASK);
_system->updateScreen();
_mouseClicked = false;
- delay(50);
+ delay(20);
if (!_controlPanel)
return clickRes;
if (_keyPressed.keycode == Common::KEYCODE_ESCAPE) { // escape pressed