[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdeaddons/atlantikdesigner/designer
From:       Rob Kaper <cap () capsi ! com>
Date:       2003-01-09 2:10:52
[Download RAW message or body]

CVS commit by kaper: 

add hardcoded defaults to config that lack GUI, but are required for useful saved files


  M +8 -0      designer.cpp   1.50


--- kdeaddons/atlantikdesigner/designer/designer.cpp  #1.49:1.50
@@ -612,4 +612,12 @@ void AtlanticDesigner::save()
                 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;


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic