[Scummvm-cvs-logs] CVS: scummvm/sword2/driver d_draw.cpp,1.60,1.61 rdwin.cpp,1.42,1.43

Max Horn fingolfin at users.sourceforge.net
Tue Feb 24 14:55:03 CET 2004


Update of /cvsroot/scummvm/scummvm/sword2/driver
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12241/sword2/driver

Modified Files:
	d_draw.cpp rdwin.cpp 
Log Message:
the OSystem changes we discussed on the ML (note: renaming of the existing OSystem API is not yet finished); porters will have to fix their ports to get them to compile again

Index: d_draw.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sword2/driver/d_draw.cpp,v
retrieving revision 1.60
retrieving revision 1.61
diff -u -d -r1.60 -r1.61
--- d_draw.cpp	5 Feb 2004 14:19:06 -0000	1.60
+++ d_draw.cpp	24 Feb 2004 22:39:42 -0000	1.61
@@ -39,7 +39,7 @@
 	if (!_buffer)
 		error("Could not initialise display");
 
-	_vm->_system->init_size(width, height);
+	_vm->_system->initSize(width, height);
 
 	_gridWide = width / CELLWIDE;
 	_gridDeep = height / CELLDEEP;

Index: rdwin.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sword2/driver/rdwin.cpp,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -d -r1.42 -r1.43
--- rdwin.cpp	5 Feb 2004 14:19:07 -0000	1.42
+++ rdwin.cpp	24 Feb 2004 22:39:42 -0000	1.43
@@ -147,10 +147,7 @@
  */
 
 void Graphics::setWindowName(const char *windowName) {
-	OSystem::Property prop;
-
-	prop.caption = windowName;
-	_vm->_system->property(OSystem::PROP_SET_WINDOW_CAPTION, &prop);
+	_vm->_system->setWindowCaption(windowName);
 }
 
 } // End of namespace Sword2





More information about the Scummvm-git-logs mailing list