Mercurial > traipse_dev
comparison orpg/main.py @ 116:d078a8cdc1e4 alpha
Traipse Alpha 'OpenRPG' {091012-01}
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 Bookmarks (Alpha) with cool Smiley Star and Plus Symbol images!
Changes made to the map for increased portability. SnowDog has changes planned in
Core, though.
Added an initial push to the BCG. Not much to see, just shows off how it is
re-writing Main code.
Fix to remote admin commands
Minor fix to texted based server, works in /System/ folder
Some Core changes to gametree to correctly disply Pretty Print, thanks David!
Fix to Splitter Nodes not being created.
Added images to Plugin Control panel for Autostart feature
Fix to massive amounts of images loading; from Core
{091011}
fix to gsclient so with_statement imports
Added 'boot' command to remote admin
Prep work in Pass tool for remote admin rankings and different passwords, ei, Server,
Admin, Moderator, etc.
{091012}
00:
Remote Admin Commands more organized, more prep work.
Added Confirmation window for sent nodes.
01:
Un remarks Update Manager from main.py
author | sirebral |
---|---|
date | Mon, 12 Oct 2009 22:48:57 -0500 |
parents | 17b64e9133e9 |
children | 0f18d16f3fe7 |
comparison
equal
deleted
inserted
replaced
115:17b64e9133e9 | 116:d078a8cdc1e4 |
---|---|
131 component.add('pluginmenu', self.pluginMenu) | 131 component.add('pluginmenu', self.pluginMenu) |
132 self.pluginsFrame.Start() | 132 self.pluginsFrame.Start() |
133 logger.debug("plugins reloaded and startup plugins launched") | 133 logger.debug("plugins reloaded and startup plugins launched") |
134 self.Bind(wx.EVT_CLOSE, self.OnCloseWindow) | 134 self.Bind(wx.EVT_CLOSE, self.OnCloseWindow) |
135 | 135 |
136 #Load Update Manager# Un remark if you have Mercurial installed | 136 #Load Update Manager |
137 #component.add('updatemana', self.updateMana) | 137 component.add('updatemana', self.updateMana) |
138 #logger.debug("update manager reloaded") | 138 logger.debug("update manager reloaded") |
139 #self.Bind(wx.EVT_CLOSE, self.OnCloseWindow) | 139 self.Bind(wx.EVT_CLOSE, self.OnCloseWindow) |
140 | 140 |
141 #Load Debug Console | 141 #Load Debug Console |
142 component.add('debugconsole', self.debugger) | 142 component.add('debugconsole', self.debugger) |
143 logger.debug("debugger window") | 143 logger.debug("debugger window") |
144 self.Bind(wx.EVT_CLOSE, self.OnCloseWindow) | 144 self.Bind(wx.EVT_CLOSE, self.OnCloseWindow) |
263 | 263 |
264 # Traipse Suite of Additions. | 264 # Traipse Suite of Additions. |
265 self.traipseSuite = wx.Menu() | 265 self.traipseSuite = wx.Menu() |
266 self.mainmenu.Insert(5, self.traipseSuite, "&Traipse Suite") | 266 self.mainmenu.Insert(5, self.traipseSuite, "&Traipse Suite") |
267 | 267 |
268 #Update Manager# Un remark if you have Mercurial installed | 268 #Update Manager |
269 #mana = wx.MenuItem(self.traipseSuite, wx.ID_ANY, "Update Manager", "Update Manager") | 269 mana = wx.MenuItem(self.traipseSuite, wx.ID_ANY, "Update Manager", "Update Manager") |
270 #self.Bind(wx.EVT_MENU, self.OnMB_UpdateManagerPanel, mana) | 270 self.Bind(wx.EVT_MENU, self.OnMB_UpdateManagerPanel, mana) |
271 #self.traipseSuite.AppendItem(mana) | 271 self.traipseSuite.AppendItem(mana) |
272 | 272 |
273 self.debugConsole = wx.MenuItem(self.traipseSuite, -1, "Debug Console", "Debug Console") | 273 self.debugConsole = wx.MenuItem(self.traipseSuite, -1, "Debug Console", "Debug Console") |
274 self.Bind(wx.EVT_MENU, self.OnMB_DebugConsole, self.debugConsole) | 274 self.Bind(wx.EVT_MENU, self.OnMB_DebugConsole, self.debugConsole) |
275 self.traipseSuite.AppendItem(self.debugConsole) | 275 self.traipseSuite.AppendItem(self.debugConsole) |
276 | 276 |
638 posy = int(xml_dom.getAttribute("posy")) | 638 posy = int(xml_dom.getAttribute("posy")) |
639 maximized = int(xml_dom.getAttribute("maximized")) | 639 maximized = int(xml_dom.getAttribute("maximized")) |
640 self.SetDimensions(posx, posy, w, h) | 640 self.SetDimensions(posx, posy, w, h) |
641 logger.debug("Dimensions Set") | 641 logger.debug("Dimensions Set") |
642 | 642 |
643 # Update Manager # Un remark if you have Mercurial installed | 643 # Update Manager |
644 #self.manifest = manifest.ManifestChanges() | 644 self.manifest = manifest.ManifestChanges() |
645 #self.updateMana = upmana.updatemana.updaterFrame(self, | 645 self.updateMana = upmana.updatemana.updaterFrame(self, |
646 # "OpenRPG Update Manager Beta 0.8", component, self.manifest, True) | 646 "OpenRPG Update Manager Beta 0.8", component, self.manifest, True) |
647 #logger.debug("Menu Created") | 647 logger.debug("Menu Created") |
648 #h = int(xml_dom.getAttribute("height")) | 648 h = int(xml_dom.getAttribute("height")) |
649 #w = int(xml_dom.getAttribute("width")) | 649 w = int(xml_dom.getAttribute("width")) |
650 #posx = int(xml_dom.getAttribute("posx")) | 650 posx = int(xml_dom.getAttribute("posx")) |
651 #posy = int(xml_dom.getAttribute("posy")) | 651 posy = int(xml_dom.getAttribute("posy")) |
652 #maximized = int(xml_dom.getAttribute("maximized")) | 652 maximized = int(xml_dom.getAttribute("maximized")) |
653 #self.SetDimensions(posx, posy, w, h) | 653 self.SetDimensions(posx, posy, w, h) |
654 #logger.debug("Dimensions Set") | 654 logger.debug("Dimensions Set") |
655 | 655 |
656 # Debug Console | 656 # Debug Console |
657 self.debugger = orpg.tools.orpg_log.DebugConsole(self) | 657 self.debugger = orpg.tools.orpg_log.DebugConsole(self) |
658 logger.debug("Menu Created") | 658 logger.debug("Menu Created") |
659 h = int(xml_dom.getAttribute("height")) | 659 h = int(xml_dom.getAttribute("height")) |
1228 component.add("tabbedWindows", []) | 1228 component.add("tabbedWindows", []) |
1229 | 1229 |
1230 logger._set_log_level = int(settings.get_setting('LoggingLevel')) | 1230 logger._set_log_level = int(settings.get_setting('LoggingLevel')) |
1231 logger._set_log_to_console(False) | 1231 logger._set_log_to_console(False) |
1232 | 1232 |
1233 #Update Manager# Un remark if you have Mercurial installed | 1233 Update Manager |
1234 #self.manifest = manifest.ManifestChanges() | 1234 self.manifest = manifest.ManifestChanges() |
1235 | 1235 |
1236 self.called = False | 1236 self.called = False |
1237 wx.InitAllImageHandlers() | 1237 wx.InitAllImageHandlers() |
1238 self.splash = orpgSplashScreen(None, dir_struct["icon"] + 'splash13.jpg', 3000, self.AfterSplash) | 1238 self.splash = orpgSplashScreen(None, dir_struct["icon"] + 'splash13.jpg', 3000, self.AfterSplash) |
1239 self.Bind(wx.EVT_KEY_DOWN, self.OnKeyPress) | 1239 self.Bind(wx.EVT_KEY_DOWN, self.OnKeyPress) |