[Scummvm-cvs-logs] CVS: scummvm/scumm scummvm.cpp,1.78,1.79

James Brown ender at users.sourceforge.net
Mon Nov 25 01:44:05 CET 2002


Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1:/tmp/cvs-serv10200/scumm

Modified Files:
	scummvm.cpp 
Log Message:
Add a few EditGame options. Honor game-specific fullScreen from the Launcher


Index: scummvm.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/scummvm.cpp,v
retrieving revision 1.78
retrieving revision 1.79
diff -u -d -r1.78 -r1.79
--- scummvm.cpp	21 Nov 2002 19:06:07 -0000	1.78
+++ scummvm.cpp	25 Nov 2002 09:43:22 -0000	1.79
@@ -36,6 +36,7 @@
 #include "object.h"
 #include "resource.h"
 #include "string.h"
+#include "common/config-file.h"
 
 #ifdef _WIN32_WCE
 extern void drawError(char*);
@@ -143,6 +144,11 @@
 	prop.cd_num = detector->_cdrom;
 	if (prop.cd_num >= 0 && (_features & GF_AUDIOTRACKS))
 		syst->property(OSystem::PROP_OPEN_CD, &prop);
+
+	if (g_config->getBool("fullscreen", false)) {
+ 		if (!_system->property(OSystem::PROP_GET_FULLSCREEN, 0))
+        		_system->property(OSystem::PROP_TOGGLE_FULLSCREEN, 0);
+ 	}
 
 	/* Bind the mixer to the system => mixer will be invoked
 	 * automatically when samples need to be generated */	





More information about the Scummvm-git-logs mailing list