diff options
author | Max Horn | 2004-09-28 20:19:37 +0000 |
---|---|---|
committer | Max Horn | 2004-09-28 20:19:37 +0000 |
commit | ce8c99bf62838099142aa79f2935e64639aa5571 (patch) | |
tree | 5a2ea91139133878cdffab8ed86033fbf5448ea9 /sword2/driver/animation.cpp | |
parent | 6a50ba2308c6a9fc3eb733f310c87ed279b565ed (diff) | |
download | scummvm-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 'sword2/driver/animation.cpp')
-rw-r--r-- | sword2/driver/animation.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sword2/driver/animation.cpp b/sword2/driver/animation.cpp index bc68b2e0f0..69dbc0289a 100644 --- a/sword2/driver/animation.cpp +++ b/sword2/driver/animation.cpp @@ -254,7 +254,7 @@ int32 MoviePlayer::play(const char *filename, MovieTextObject *text[], byte *mus _vm->_sound->playFx(0, musicOut, 0, 0, RDSE_FXLEADOUT); OSystem::Event event; - while (_sys->poll_event(&event)) { + while (_sys->pollEvent(event)) { switch (event.event_code) { #ifndef BACKEND_8BIT case OSystem::EVENT_SCREEN_CHANGED: @@ -277,7 +277,7 @@ int32 MoviePlayer::play(const char *filename, MovieTextObject *text[], byte *mus if (!skipCutscene) { // Sleep for one frame so that the last frame is displayed. - _sys->delay_msecs(1000 / 12); + _sys->delayMillis(1000 / 12); } // Most movies fade to black on their own, but not all of them. Since @@ -307,7 +307,7 @@ int32 MoviePlayer::play(const char *filename, MovieTextObject *text[], byte *mus while (handle.isActive()) { _vm->_graphics->updateDisplay(false); - _sys->delay_msecs(100); + _sys->delayMillis(100); } // Clear the screen again @@ -436,7 +436,7 @@ int32 MoviePlayer::playDummy(const char *filename, MovieTextObject *text[], byte // frame rate the original movies had, or even if it // was constant, but this seems to work reasonably. - _sys->delay_msecs(90); + _sys->delayMillis(90); } // Wait for the voice to stop playing. This is to make sure @@ -446,7 +446,7 @@ int32 MoviePlayer::playDummy(const char *filename, MovieTextObject *text[], byte while (handle.isActive()) { _vm->_graphics->updateDisplay(false); - _sys->delay_msecs(100); + _sys->delayMillis(100); } closeTextObject(text[textCounter]); |