[Scummvm-cvs-logs] CVS: scummvm/common gameDetector.cpp,1.121,1.122 gameDetector.h,1.49,1.50

Max Horn fingolfin at users.sourceforge.net
Sun Jul 27 18:37:09 CEST 2003


Update of /cvsroot/scummvm/scummvm/common
In directory sc8-pr-cvs1:/tmp/cvs-serv1135/common

Modified Files:
	gameDetector.cpp gameDetector.h 
Log Message:
Patch #715991: Quit Confirmation Dialog (feature request #642721) with some tweaks by me

Index: gameDetector.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/common/gameDetector.cpp,v
retrieving revision 1.121
retrieving revision 1.122
diff -u -d -r1.121 -r1.122
--- gameDetector.cpp	15 Jul 2003 02:16:33 -0000	1.121
+++ gameDetector.cpp	28 Jul 2003 01:36:16 -0000	1.122
@@ -192,6 +192,7 @@
 	_save_slot = 0;
 	
 	_saveconfig = false;
+	_confirmExit = false;
 	
 #ifndef _WIN32_WCE
 	_gfx_mode = GFX_DOUBLESIZE;
@@ -300,6 +301,8 @@
 		_gameTempo = strtol(val, NULL, 0);
 
 	_talkSpeed = g_config->getInt("talkspeed", _talkSpeed);
+
+	_confirmExit = g_config->getBool("confirm_exit", _confirmExit ? true : false);
 
 	_multi_midi = g_config->getBool ("multi_midi", _multi_midi);
 	_native_mt32 = g_config->getBool ("native_mt32", _native_mt32);

Index: gameDetector.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/common/gameDetector.h,v
retrieving revision 1.49
retrieving revision 1.50
diff -u -d -r1.49 -r1.50
--- gameDetector.h	12 Jul 2003 03:40:44 -0000	1.49
+++ gameDetector.h	28 Jul 2003 01:36:16 -0000	1.50
@@ -148,6 +148,7 @@
 	int _save_slot;
 	
 	bool _saveconfig;
+	bool _confirmExit;
 
 public:
 	OSystem *createSystem();





More information about the Scummvm-git-logs mailing list