Mercurial > traipse_dev
comparison orpg/main.py @ 92:68c7bd272f27 beta
Traipse Beta 'OpenRPG' {090919-00}
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:
Adds menu changes to draw attention to important updates, errors, or other events. (image info coming soon)
Traipse URL is not included in the repos tab and is set as default.
Fixes Copy for Windows and Linux (finally!!) users.
Fixes incomplete update to Grid and List nodes.
Fixes incomplete update to Chat Commands.
Fixes problems with Remote Image Upload.
Fixes Drop and Drag of Minis to Map.
CherryPy can now use any image in the webfiles/ folder and sub-folders.
CherryPy can now Drop and Drag Minis to the Map.
Minor changes to Update Manager's GUI.
Expert recommendation warning added to Revision Update.
Step down compatibility with open_rpg & component added to orpgCore.
Using majority of 'Grumpy' network folder to correct server lag.
author | sirebral |
---|---|
date | Sat, 19 Sep 2009 06:50:43 -0500 |
parents | dd4be4817377 |
children | 118fbe111922 |
comparison
equal
deleted
inserted
replaced
84:5c12918d6bb2 | 92:68c7bd272f27 |
---|---|
266 | 266 |
267 mana = wx.MenuItem(self.traipseSuite, wx.ID_ANY, "Update Manager", "Update Manager") | 267 mana = wx.MenuItem(self.traipseSuite, wx.ID_ANY, "Update Manager", "Update Manager") |
268 self.Bind(wx.EVT_MENU, self.OnMB_UpdateManagerPanel, mana) | 268 self.Bind(wx.EVT_MENU, self.OnMB_UpdateManagerPanel, mana) |
269 self.traipseSuite.AppendItem(mana) | 269 self.traipseSuite.AppendItem(mana) |
270 | 270 |
271 debugger = wx.MenuItem(self.traipseSuite, -1, "Debug Console", "Debug Console") | 271 self.debugConsole = wx.MenuItem(self.traipseSuite, -1, "Debug Console", "Debug Console") |
272 self.Bind(wx.EVT_MENU, self.OnMB_DebugConsole, debugger) | 272 self.Bind(wx.EVT_MENU, self.OnMB_DebugConsole, self.debugConsole) |
273 self.traipseSuite.AppendItem(debugger) | 273 self.traipseSuite.AppendItem(self.debugConsole) |
274 | 274 |
275 | 275 |
276 ################################# | 276 ################################# |
277 ## All Menu Events | 277 ## All Menu Events |
278 ################################# | 278 ################################# |
472 if self.updateMana.IsShown() == True: self.updateMana.Hide() | 472 if self.updateMana.IsShown() == True: self.updateMana.Hide() |
473 else: self.updateMana.Show() | 473 else: self.updateMana.Show() |
474 | 474 |
475 @debugging | 475 @debugging |
476 def OnMB_DebugConsole(self, evt): | 476 def OnMB_DebugConsole(self, evt): |
477 ## Alpha ## | |
478 self.traipseSuite.RemoveItem(self.debugConsole) | |
479 self.debugConsole.SetBitmap(wx.Bitmap(dir_struct["icon"] + 'clear.gif')) | |
480 self.traipseSuite.AppendItem(self.debugConsole) | |
481 self.mainmenu.Replace(8, self.traipseSuite, '&Traipse Suite') | |
482 ########### | |
477 if self.debugger.IsShown() == True: self.debugger.Hide() | 483 if self.debugger.IsShown() == True: self.debugger.Hide() |
478 else: self.debugger.Show() | 484 else: self.debugger.Show() |
479 | 485 |
480 @debugging | 486 @debugging |
481 def OnMB_ToolsLoggingLevelDebug(self): | 487 def OnMB_ToolsLoggingLevelDebug(self): |
643 logger.debug("Dimensions Set") | 649 logger.debug("Dimensions Set") |
644 | 650 |
645 #Update Manager | 651 #Update Manager |
646 self.manifest = manifest.ManifestChanges() | 652 self.manifest = manifest.ManifestChanges() |
647 self.updateMana = upmana.updatemana.updaterFrame(self, | 653 self.updateMana = upmana.updatemana.updaterFrame(self, |
648 "OpenRPG Update Manager Beta 0.7.2", component, self.manifest, True) | 654 "OpenRPG Update Manager Beta 0.8", component, self.manifest, True) |
649 logger.debug("Menu Created") | 655 logger.debug("Menu Created") |
650 h = int(xml_dom.getAttribute("height")) | 656 h = int(xml_dom.getAttribute("height")) |
651 w = int(xml_dom.getAttribute("width")) | 657 w = int(xml_dom.getAttribute("width")) |
652 posx = int(xml_dom.getAttribute("posx")) | 658 posx = int(xml_dom.getAttribute("posx")) |
653 posy = int(xml_dom.getAttribute("posy")) | 659 posy = int(xml_dom.getAttribute("posy")) |
730 wndinfo = AUI.AuiPaneInfo() | 736 wndinfo = AUI.AuiPaneInfo() |
731 wndinfo.DestroyOnClose(False) | 737 wndinfo.DestroyOnClose(False) |
732 wndinfo.Name("Browse Server Window") | 738 wndinfo.Name("Browse Server Window") |
733 wndinfo.Caption("Game Server") | 739 wndinfo.Caption("Game Server") |
734 wndinfo.Float() | 740 wndinfo.Float() |
741 wndinfo.FloatingPosition((50,50)) | |
735 wndinfo.Dockable(False) | 742 wndinfo.Dockable(False) |
736 wndinfo.MinSize(wx.Size(640,480)) | 743 wndinfo.MinSize(wx.Size(640,480)) |
737 wndinfo.Hide() | 744 wndinfo.Hide() |
738 self._mgr.AddPane(self.gs, wndinfo) | 745 self._mgr.AddPane(self.gs, wndinfo) |
739 logger.debug("Game Server Window Created") | 746 logger.debug("Game Server Window Created") |