[Scummvm-cvs-logs] CVS: scummvm/gui launcher.cpp,1.74,1.75 options.cpp,1.39,1.40

Max Horn fingolfin at users.sourceforge.net
Wed Nov 5 14:09:03 CET 2003


Update of /cvsroot/scummvm/scummvm/gui
In directory sc8-pr-cvs1:/tmp/cvs-serv15495

Modified Files:
	launcher.cpp options.cpp 
Log Message:
make savepath settings persistent

Index: launcher.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/gui/launcher.cpp,v
retrieving revision 1.74
retrieving revision 1.75
diff -u -d -r1.74 -r1.75
--- launcher.cpp	5 Nov 2003 12:25:41 -0000	1.74
+++ launcher.cpp	5 Nov 2003 22:06:06 -0000	1.75
@@ -59,9 +59,6 @@
 /*
  * A dialog that allows the user to edit a config game entry.
  * TODO: add widgets for some/all of the following
- * - Amiga/subtitles flag? Although those only make sense for Scumm games, not Simon
- * - The music driver for that game (<Default> or custom)
- *   Of course this means we need an API to query the available music drivers.
  * - Maybe scaler/graphics mode. But there are two problems:
  *   1) Different backends can have different scalers with different names,
  *      so we first have to add a way to query those... no Ender, I don't
@@ -73,7 +70,6 @@
  *      (the SDL backend can already do that based on user input, but there is no API
  *      to achieve it)
  *   If the APIs for 1&2 are in place, we can think about adding this to the Edit&Option dialogs
- * - Maybe SFX/Master/Music volumes?
  */
 
 class EditGameDialog : public OptionsDialog {

Index: options.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/gui/options.cpp,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -d -r1.39 -r1.40
--- options.cpp	5 Nov 2003 12:25:42 -0000	1.39
+++ options.cpp	5 Nov 2003 22:06:07 -0000	1.40
@@ -329,7 +329,8 @@
 
 void GlobalOptionsDialog::close() {
 	if (getResult()) {
-		// TODO: Savepath
+		// Savepath
+		ConfMan.set("savepath", _savePath->getLabel(), _domain);
 	}
 	OptionsDialog::close();
 }





More information about the Scummvm-git-logs mailing list