From ce8c99bf62838099142aa79f2935e64639aa5571 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Tue, 28 Sep 2004 20:19:37 +0000 Subject: Rename remaining OSystem methods to match our coding guidelines svn-id: r15332 --- simon/simon.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'simon') 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); } -- cgit v1.2.3