changeset 125:ed4c3606ad1f alpha

Traipse Alpha 'OpenRPG' {091001-02} Traipse is a distribution of OpenRPG that is designed to be easy to setup and go. Traipse also makes it easy for developers to work on code without fear of sacrifice. 'Ornery-Orc' continues the trend of 'Grumpy' and adds fixes to the code. 'Ornery-Orc's main goal is to offer more advanced features and enhance the productivity of the user. Update Summary (Cleaning up for Beta) Added Bookmarks Fix to Remote Admin Commands Minor fix to text based Server Fix to Pretty Print, from Core Fix to Splitter Nodes not being created Fix to massive amounts of images loading, from Core Added 'boot' command to remote admin Added confirmation window for sent nodes Minor changes to allow for portability to an OpenSUSE linux OS Miniatures Layer pop up box allows users to turn off Mini labels, from FlexiRPG Zoom Mouse plugin added Images added to Plugin UI Switching to Element Tree Map efficiency, from FlexiRPG Added Status Bar to Update Manager default_manifest.xml renamed to default_upmana.xml Cleaner clode for saved repositories New TrueDebug Class in orpg_log (See documentation for usage) Mercurial's hgweb folder is ported to upmana Happy Halloween!
author sirebral
date Sun, 01 Nov 2009 15:59:36 -0600
parents 8827271fbe1b
children e7f990be5075
files orpg/gametree/gametree.py orpg/orpg_version.py
diffstat 2 files changed, 11 insertions(+), 11 deletions(-) [+]
line wrap: on
line diff
--- a/orpg/gametree/gametree.py	Sun Nov 01 11:36:14 2009 -0600
+++ b/orpg/gametree/gametree.py	Sun Nov 01 15:59:36 2009 -0600
@@ -222,7 +222,7 @@
 
     @debugging
     def load_tree(self, filename=dir_struct["user"]+'tree.xml', error=0):
-        self.settings.set_setting("gametree", filename)
+        self.settings.change("gametree", filename)
         #check file exists
         if not os.path.exists(filename):
             emsg = "Gametree Missing!\n"+filename+" cannot be found.\n\n"\
@@ -263,9 +263,9 @@
             # see if we should load the gametree
             loadfeatures = int(settings.get_setting("LoadGameTreeFeatures"))
             if loadfeatures:
-                features_tree = ET.parse(orpg.dirpath.dir_struct["template"]+"feature.xml")
+                features_tree = parse(orpg.dirpath.dir_struct["template"]+"feature.xml")
                 self.xml_root.append(features_tree.getroot())
-                settings.set("LoadGameTreeFeatures","0")
+                settings.change("LoadGameTreeFeatures","0")
 
             ## load tree
             logger.debug("Features loaded (if required)")
@@ -539,7 +539,7 @@
     @debugging
     def save_tree(self, filename=dir_struct["user"]+'tree.xml'):
         self.xml_root.set("version",GAMETREE_VERSION)
-        settings.set_setting("gametree",filename)
+        settings.change("gametree",filename)
         ElementTree(self.xml_root).write(filename)
 
     @debugging
@@ -920,10 +920,10 @@
 
     @debugging
     def on_ok(self,evt):
-        self.settings.set_setting("gametree",self.ctrls[CTRL_TREE_FILE].GetValue())
-        self.settings.set_setting("SaveGameTreeOnExit",str(self.ctrls[CTRL_YES].GetValue()))
-        if self.ctrls[CTRL_USE].GetValue(): self.settings.set_setting("treedclick","use")
-        elif self.ctrls[CTRL_DESIGN].GetValue(): self.settings.set_setting("treedclick","design")
-        elif self.ctrls[CTRL_PRINT].GetValue(): self.settings.set_setting("treedclick","print")
-        elif self.ctrls[CTRL_CHAT].GetValue(): self.settings.set_setting("treedclick","chat")
+        self.settings.change("gametree",self.ctrls[CTRL_TREE_FILE].GetValue())
+        self.settings.change("SaveGameTreeOnExit",str(self.ctrls[CTRL_YES].GetValue()))
+        if self.ctrls[CTRL_USE].GetValue(): self.settings.change("treedclick","use")
+        elif self.ctrls[CTRL_DESIGN].GetValue(): self.settings.change("treedclick","design")
+        elif self.ctrls[CTRL_PRINT].GetValue(): self.settings.change("treedclick","print")
+        elif self.ctrls[CTRL_CHAT].GetValue(): self.settings.change("treedclick","chat")
         self.EndModal(wx.ID_OK)
--- a/orpg/orpg_version.py	Sun Nov 01 11:36:14 2009 -0600
+++ b/orpg/orpg_version.py	Sun Nov 01 15:59:36 2009 -0600
@@ -4,7 +4,7 @@
 #BUILD NUMBER FORMAT: "YYMMDD-##" where ## is the incremental daily build index (if needed)
 DISTRO = "Traipse Alpha"
 DIS_VER = "Ornery Orc"
-BUILD = "091001-01"
+BUILD = "091001-02"
 
 # This version is for network capability.
 PROTOCOL_VERSION = "1.2"