aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm
diff options
context:
space:
mode:
authorMax Horn2010-03-11 23:41:28 +0000
committerMax Horn2010-03-11 23:41:28 +0000
commit4fc8ebab017a18b83ca82e930f02ceeac6313de7 (patch)
tree6163fdafc910ab046072f3393edbca2ab0341d7d /engines/scumm
parent6e78fdc161501ed6d2be0e4004915b3660623647 (diff)
downloadscummvm-rg350-4fc8ebab017a18b83ca82e930f02ceeac6313de7.tar.gz
scummvm-rg350-4fc8ebab017a18b83ca82e930f02ceeac6313de7.tar.bz2
scummvm-rg350-4fc8ebab017a18b83ca82e930f02ceeac6313de7.zip
GUI: Remove GuiObject::getMillis()
svn-id: r48241
Diffstat (limited to 'engines/scumm')
-rw-r--r--engines/scumm/dialogs.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/engines/scumm/dialogs.cpp b/engines/scumm/dialogs.cpp
index f3bc6f3216..906d8754b3 100644
--- a/engines/scumm/dialogs.cpp
+++ b/engines/scumm/dialogs.cpp
@@ -674,7 +674,7 @@ void ValueDisplayDialog::drawDialog() {
}
void ValueDisplayDialog::handleTickle() {
- if (getMillis() > _timer) {
+ if (g_system->getMillis() > _timer) {
close();
}
}
@@ -702,7 +702,7 @@ void ValueDisplayDialog::handleKeyDown(Common::KeyState state) {
_value--;
setResult(_value);
- _timer = getMillis() + kDisplayDelay;
+ _timer = g_system->getMillis() + kDisplayDelay;
draw();
} else {
close();
@@ -712,7 +712,7 @@ void ValueDisplayDialog::handleKeyDown(Common::KeyState state) {
void ValueDisplayDialog::open() {
GUI_Dialog::open();
setResult(_value);
- _timer = getMillis() + kDisplayDelay;
+ _timer = g_system->getMillis() + kDisplayDelay;
}
SubtitleSettingsDialog::SubtitleSettingsDialog(ScummEngine *scumm, int value)
@@ -722,7 +722,7 @@ SubtitleSettingsDialog::SubtitleSettingsDialog(ScummEngine *scumm, int value)
void SubtitleSettingsDialog::handleTickle() {
InfoDialog::handleTickle();
- if (getMillis() > _timer)
+ if (g_system->getMillis() > _timer)
close();
}
@@ -759,7 +759,7 @@ void SubtitleSettingsDialog::cycleValue() {
else
setInfoText(subtitleDesc[_value]);
- _timer = getMillis() + 1500;
+ _timer = g_system->getMillis() + 1500;
}
Indy3IQPointsDialog::Indy3IQPointsDialog(ScummEngine *scumm, char* text)