[atlantik-cvs] CVS: kdeaddons/atlantikdesigner/designer designer.cpp,1.49,1.50

[email protected]
Newsgroups gmane.comp.kde.devel.atlantik
Message-ID <[email protected]>
Update of /home/kde/kdeaddons/atlantikdesigner/designer
In directory office:/tmp/cvs-serv27383/designer

Modified Files:
	designer.cpp 
Log Message:
add hardcoded defaults to config that lack GUI, but are required for useful saved files

Index: designer.cpp
===================================================================
RCS file: /home/kde/kdeaddons/atlantikdesigner/designer/designer.cpp,v
retrieving revision 1.49
retrieving revision 1.50
diff -u -d -r1.49 -r1.50
--- designer.cpp	9 Jan 2003 01:55:13 -0000	1.49
+++ designer.cpp	9 Jan 2003 02:10:52 -0000	1.50
@@ -611,6 +611,14 @@
 	if (!boardInfo.credits.isEmpty())
 		t << "credits=" << boardInfo.credits.join(",") << endl;
 
+	// FIXME: make configurable. Hardcoded defaults are still better than
+	// non-existant entries that would make the saved configs useless.
+	t << "minplayers=2" << endl;
+	t << "maxplayers=6" << endl;
+	t << "houses=32" << endl;
+	t << "hotels=16" << endl;
+	t << "startmoney=1500" << endl;
+
 	t << endl;
 	t << "<Board>" << endl << endl;
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.