[Scummvm-cvs-logs] CVS: scummvm/scumm/smush smush_player.cpp,1.111,1.112

Max Horn fingolfin at users.sourceforge.net
Sat Feb 28 05:17:11 CET 2004


Update of /cvsroot/scummvm/scummvm/scumm/smush
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32588/scumm/smush

Modified Files:
	smush_player.cpp 
Log Message:
renamed more OSystem methods to follow our naming scheme; renamed NewGuiColor to OverlayColor; fixed some calls to error() in the SDL backend

Index: smush_player.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/smush/smush_player.cpp,v
retrieving revision 1.111
retrieving revision 1.112
diff -u -d -r1.111 -r1.112
--- smush_player.cpp	9 Feb 2004 18:57:04 -0000	1.111
+++ smush_player.cpp	28 Feb 2004 12:58:11 -0000	1.112
@@ -902,7 +902,7 @@
 		*p++ = 0;
 	}
 
-	_vm->_system->set_palette(palette_colors, 0, 256);
+	_vm->_system->setPalette(palette_colors, 0, 256);
 }
 
 void SmushPlayer::setPaletteValue(int n, byte r, byte g, byte b) {
@@ -910,7 +910,7 @@
 	_pal[n * 3 + 1] = g;
 	_pal[n * 3 + 2] = b;
 
-	_vm->_system->set_palette(_pal, n, 1);
+	_vm->_system->setPalette(_pal, n, 1);
 }
 
 void SmushPlayer::updateScreen() {
@@ -1046,7 +1046,7 @@
 			uint32 end_time, start_time;
 			
 			start_time = _vm->_system->get_msecs();
-			_vm->_system->update_screen();
+			_vm->_system->updateScreen();
 			_updateNeeded = false;
 
 			if (_insanity)





More information about the Scummvm-git-logs mailing list