aboutsummaryrefslogtreecommitdiff
path: root/saga
diff options
context:
space:
mode:
authorMax Horn2004-09-28 20:19:37 +0000
committerMax Horn2004-09-28 20:19:37 +0000
commitce8c99bf62838099142aa79f2935e64639aa5571 (patch)
tree5a2ea91139133878cdffab8ed86033fbf5448ea9 /saga
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 'saga')
-rw-r--r--saga/input.cpp2
-rw-r--r--saga/saga.cpp10
2 files changed, 6 insertions, 6 deletions
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);
}
}