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 --- sky/control.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sky/control.cpp') diff --git a/sky/control.cpp b/sky/control.cpp index 11992a1114..e1909c079c 100644 --- a/sky/control.cpp +++ b/sky/control.cpp @@ -1679,12 +1679,12 @@ void Control::delay(unsigned int amount) { OSystem::Event event; - uint32 start = _system->get_msecs(); + uint32 start = _system->getMillis(); uint32 cur = start; _keyPressed = 0; //reset do { - while (_system->poll_event(&event)) { + while (_system->pollEvent(event)) { switch (event.event_code) { case OSystem::EVENT_KEYDOWN: // Make sure backspace works right (this fixes a small issue on OS X) @@ -1721,9 +1721,9 @@ void Control::delay(unsigned int amount) { if (this_delay > amount) this_delay = amount; - if (this_delay > 0) _system->delay_msecs(this_delay); + if (this_delay > 0) _system->delayMillis(this_delay); - cur = _system->get_msecs(); + cur = _system->getMillis(); } while (cur < start + amount); } -- cgit v1.2.3