aboutsummaryrefslogtreecommitdiff
path: root/scumm/smush
diff options
context:
space:
mode:
authorMax Horn2004-09-28 20:19:37 +0000
committerMax Horn2004-09-28 20:19:37 +0000
commitce8c99bf62838099142aa79f2935e64639aa5571 (patch)
tree5a2ea91139133878cdffab8ed86033fbf5448ea9 /scumm/smush
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 'scumm/smush')
-rw-r--r--scumm/smush/smush_player.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/scumm/smush/smush_player.cpp b/scumm/smush/smush_player.cpp
index e919859954..88323adaf0 100644
--- a/scumm/smush/smush_player.cpp
+++ b/scumm/smush/smush_player.cpp
@@ -833,7 +833,7 @@ void SmushPlayer::handleFrame(Chunk &b) {
_skipNext = false;
uint32 start_time, end_time;
- start_time = _vm->_system->get_msecs();
+ start_time = _vm->_system->getMillis();
if (_insanity) {
_vm->_insane->procPreRendering();
@@ -898,7 +898,7 @@ void SmushPlayer::handleFrame(Chunk &b) {
_vm->_insane->procPostRendering(_dst, 0, 0, 0, _frame, _nbframes-1);
}
- end_time = _vm->_system->get_msecs();
+ end_time = _vm->_system->getMillis();
updateScreen();
_smixer->handleFrame();
@@ -1074,10 +1074,10 @@ void SmushPlayer::updateScreen() {
png_destroy_write_struct(&png_ptr, &info_ptr);
#endif
- uint32 end_time, start_time = _vm->_system->get_msecs();
+ uint32 end_time, start_time = _vm->_system->getMillis();
_vm->_system->copyRectToScreen(_dst, _width, 0, 0, _width, _height);
_updateNeeded = true;
- end_time = _vm->_system->get_msecs();
+ end_time = _vm->_system->getMillis();
debugC(DEBUG_SMUSH, "Smush stats: updateScreen( %03d )", end_time - start_time);
}
@@ -1175,18 +1175,18 @@ void SmushPlayer::play(const char *filename, int32 offset, int32 startFrame) {
uint32 end_time, start_time;
- start_time = _vm->_system->get_msecs();
+ start_time = _vm->_system->getMillis();
_vm->_system->updateScreen();
_updateNeeded = false;
- end_time = _vm->_system->get_msecs();
+ end_time = _vm->_system->getMillis();
debugC(DEBUG_SMUSH, "Smush stats: BackendUpdateScreen( %03d )", end_time - start_time);
}
if (_vm->_smushVideoShouldFinish || _vm->_quit || _vm->_saveLoadFlag)
break;
- _vm->_system->delay_msecs(10);
+ _vm->_system->delayMillis(10);
};
release();