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 --- saga/input.cpp | 2 +- saga/saga.cpp | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'saga') diff --git a/saga/input.cpp b/saga/input.cpp index cc1db9bd45..62ce7e4103 100644 --- a/saga/input.cpp +++ b/saga/input.cpp @@ -37,7 +37,7 @@ int SagaEngine::processInput() { R_POINT imouse_pt; - while (g_system->poll_event(&event)) { + while (g_system->pollEvent(event)) { int in_char; switch (event.event_code) { diff --git a/saga/saga.cpp b/saga/saga.cpp index 62950d937d..b1868abb4a 100644 --- a/saga/saga.cpp +++ b/saga/saga.cpp @@ -153,7 +153,7 @@ void SagaEngine::go() { // System initialization - _previousTicks = _system->get_msecs(); + _previousTicks = _system->getMillis(); // On some platforms, graphics initialization also initializes sound // ( Win32 DirectX )... Music must be initialized before sound for @@ -202,7 +202,7 @@ void SagaEngine::go() { _actionMap->reg(); _objectMap->reg(); - _previousTicks = _system->get_msecs(); + _previousTicks = _system->getMillis(); // Begin Main Engine Loop @@ -212,9 +212,9 @@ void SagaEngine::go() { for (;;) { if (_render->getFlags() & RF_RENDERPAUSE) { // Freeze time while paused - _previousTicks = _system->get_msecs(); + _previousTicks = _system->getMillis(); } else { - currentTicks = _system->get_msecs(); + currentTicks = _system->getMillis(); // Timer has rolled over after 49 days if (currentTicks < _previousTicks) msec = 0; @@ -231,7 +231,7 @@ void SagaEngine::go() { } // Per frame processing _render->drawScene(); - _system->delay_msecs(10); + _system->delayMillis(10); } } -- cgit v1.2.3