[Scummvm-cvs-logs] CVS: scummvm/scumm/smush smush_player.cpp,1.132,1.133
Max Horn
fingolfin at users.sourceforge.net
Tue Sep 28 13:28:42 CEST 2004
Update of /cvsroot/scummvm/scummvm/scumm/smush
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3612/scumm/smush
Modified Files:
smush_player.cpp
Log Message:
Rename remaining OSystem methods to match our coding guidelines
Index: smush_player.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/smush/smush_player.cpp,v
retrieving revision 1.132
retrieving revision 1.133
diff -u -d -r1.132 -r1.133
--- smush_player.cpp 26 Sep 2004 18:08:51 -0000 1.132
+++ smush_player.cpp 28 Sep 2004 20:19:30 -0000 1.133
@@ -833,7 +833,7 @@
_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 @@
_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 @@
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 @@
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();
More information about the Scummvm-git-logs
mailing list