aboutsummaryrefslogtreecommitdiff
path: root/simon
diff options
context:
space:
mode:
authorMax Horn2004-09-28 20:19:37 +0000
committerMax Horn2004-09-28 20:19:37 +0000
commitce8c99bf62838099142aa79f2935e64639aa5571 (patch)
tree5a2ea91139133878cdffab8ed86033fbf5448ea9 /simon
parent6a50ba2308c6a9fc3eb733f310c87ed279b565ed (diff)
downloadscummvm-rg350-ce8c99bf62838099142aa79f2935e64639aa5571.tar.gz
scummvm-rg350-ce8c99bf62838099142aa79f2935e64639aa5571.tar.bz2
scummvm-rg350-ce8c99bf62838099142aa79f2935e64639aa5571.zip
Rename remaining OSystem methods to match our coding guidelines
svn-id: r15332
Diffstat (limited to 'simon')
-rw-r--r--simon/simon.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/simon/simon.cpp b/simon/simon.cpp
index c7939a6b25..c56f4fe958 100644
--- a/simon/simon.cpp
+++ b/simon/simon.cpp
@@ -4791,7 +4791,7 @@ void SimonEngine::quick_load_or_save() {
void SimonEngine::delay(uint amount) {
OSystem::Event event;
- uint32 start = _system->get_msecs();
+ uint32 start = _system->getMillis();
uint32 cur = start;
uint this_delay, vga_period;
@@ -4820,7 +4820,7 @@ void SimonEngine::delay(uint amount) {
_in_callback = false;
}
- while (_system->poll_event(&event)) {
+ while (_system->pollEvent(event)) {
switch (event.event_code) {
case OSystem::EVENT_KEYDOWN:
if (event.kbd.keycode >= '0' && event.kbd.keycode <='9'
@@ -4888,9 +4888,9 @@ void SimonEngine::delay(uint amount) {
this_delay = _fast_mode ? 1 : 20 * _speed;
if (this_delay > amount)
this_delay = amount;
- _system->delay_msecs(this_delay);
+ _system->delayMillis(this_delay);
}
- cur = _system->get_msecs();
+ cur = _system->getMillis();
} while (cur < start + amount);
}