Mercurial > traipse_dev
comparison orpg/gametree/nodehandlers/forms.py @ 174:ff6cbd2b7620 alpha
Traipse Alpha 'OpenRPG' {100112-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 (Keeping up with Beta)
New Features:
Added Bookmarks
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
New TrueDebug Class in orpg_log (See documentation for usage)
Portable Mercurial
Tip of the Day added, from Core and community
New Reference Syntax added for custom PC sheets
New Child Reference for gametree
New Parent Reference for gametree
New Gametree Recursion method, mapping, context sensitivity, and
effeciency..
New Features node with bonus nodes and Node Referencing help added
Dieroller structure from Core
Added 7th Sea die roller method; ie [7k3] =
[7d10.takeHighest(3).open(10)]
New 'Mythos' System die roller added
Added new vs. die roller method for WoD; ie [3v3] = [3d10.vs(3)].
Includes support for Mythos roller
New EZ_Tree Reference system. Push a button, Traipse the tree, get a
reference (Alpha!!)
Fixes:
Fix to Text based Server
Fix to Remote Admin Commands
Fix to Pretty Print, from Core
Fix to Splitter Nodes not being created
Fix to massive amounts of images loading, from Core
Fix to Map from gametree not showing to all clients
Fix to gametree about menus
Fix to Password Manager check on startup
Fix to PC Sheets from tool nodes. They now use the tabber_panel
Fixed Whiteboard ID to prevent random line or text deleting.
Modified ID's to prevent non updated clients from ruining the fix.
default_manifest.xml renamed to default_upmana.xml
Fix to Update Manager; cleaner clode for saved repositories
Fixes made to Settings Panel and no reactive settings when Ok is pressed
Fixes to Alternity roller's attack roll. Uses a simple Tuple instead of
a Splice
Fix to Use panel of Forms and Tabbers. Now longer enters design mode
author | sirebral |
---|---|
date | Tue, 12 Jan 2010 19:38:11 -0600 |
parents | 0dde29a41614 |
children | fd6415b8243e |
comparison
equal
deleted
inserted
replaced
173:0dde29a41614 | 174:ff6cbd2b7620 |
---|---|
348 if item.IsOk(): | 348 if item.IsOk(): |
349 obj = self.temp_wnd.GetPyData(item) | 349 obj = self.temp_wnd.GetPyData(item) |
350 self.temp_wnd.SelectItem(item) | 350 self.temp_wnd.SelectItem(item) |
351 start = self.handler.xml.get('map').split('::') | 351 start = self.handler.xml.get('map').split('::') |
352 end = obj.xml.get('map').split('::') | 352 end = obj.xml.get('map').split('::') |
353 x = 0 | 353 if obj.xml.get('class') != 'rpg_grid_handler' or obj.xml.get('class') != 'textctrl_handler': do = 'None' |
354 if start[x] == end[x]: | 354 elif end[0] == '' or start[0] != end[0]: do = 'Root' |
355 try: | 355 elif start == end: do = 'Child' |
356 while start[x] == end[x]: | 356 elif start != end: do = 'Parent' |
357 del end[x], start[x] | 357 if do == 'Root': |
358 x += 1 | 358 complete = "!@" |
359 except: | 359 for e in end: |
360 complete = "!!" | 360 if e != '': complete += e +'::' |
361 for e in end: complete += e +'::' | 361 complete = complete + obj.xml.get('name') + '@!' |
362 complete = complete + obj.xml.get('name') + '!!' | 362 elif do == 'Parent': |
363 self.text.AppendText(complete); self.on_text(evt) | 363 while start[0] == end[0]: |
364 top = start[0] | |
365 del end[0], start[0] | |
366 if len(start) == 0 or len(end) == 0: break | |
367 complete = "!#" + top + "::" | |
368 for e in end: complete += e +'::' | |
369 complete = complete + obj.xml.get('name') + '#!' | |
370 elif do == 'Child': | |
371 while start[0] == end[0]: | |
372 del end[0], start[0] | |
373 if len(start) == 0 or len(end) == 0: break | |
374 complete = "!!" | |
375 for e in end: complete += e +'::' | |
376 complete = complete + obj.xml.get('name') + '!!' | |
377 if do != 'None': self.text.AppendText(complete); self.on_text(evt) | |
364 self.do_tree.Destroy() | 378 self.do_tree.Destroy() |
379 if do == 'None': | |
380 wx.MessageBox('Invalid Reference', 'Error') | |
365 ##### ##### | 381 ##### ##### |
366 | 382 |
367 def on_text(self,evt): | 383 def on_text(self,evt): |
368 id = evt.GetId() | 384 id = evt.GetId() |
369 if id == P_TITLE: | 385 if id == P_TITLE: |
755 if item.IsOk(): | 771 if item.IsOk(): |
756 obj = self.temp_wnd.GetPyData(item) | 772 obj = self.temp_wnd.GetPyData(item) |
757 self.temp_wnd.SelectItem(item) | 773 self.temp_wnd.SelectItem(item) |
758 start = self.handler.xml.get('map').split('::') | 774 start = self.handler.xml.get('map').split('::') |
759 end = obj.xml.get('map').split('::') | 775 end = obj.xml.get('map').split('::') |
760 x = 0 | 776 print obj.xml.get('class') |
761 if start[x] == end[x]: | 777 if obj.xml.get('class') != 'rpg_grid_handler' or obj.xml.get('class') != 'textctrl_handler': do = 'None' |
762 try: | 778 elif end[0] == '' or start[0] != end[0]: do = 'Root' |
763 while start[x] == end[x]: | 779 elif start == end: do = 'Child' |
764 del end[x], start[x] | 780 elif start != end: do = 'Parent' |
765 x += 1 | 781 if do == 'Root': |
766 except: | 782 complete = "!@" |
767 complete = "!!" | 783 for e in end: |
768 for e in end: complete += e +'::' | 784 if e != '': complete += e +'::' |
769 complete = complete + obj.xml.get('name') + '!!' | 785 complete = complete + obj.xml.get('name') + '@!' |
770 self.value_entry.SetValue(complete); self.reload_options() | 786 elif do == 'Parent': |
787 while start[0] == end[0]: | |
788 top = start[0] | |
789 del end[0], start[0] | |
790 if len(start) == 0 or len(end) == 0: break | |
791 complete = "!#" + top + "::" | |
792 for e in end: complete += e +'::' | |
793 complete = complete + obj.xml.get('name') + '#!' | |
794 elif do == 'Child': | |
795 while start[0] == end[0]: | |
796 del end[0], start[0] | |
797 if len(start) == 0 or len(end) == 0: break | |
798 complete = "!!" | |
799 for e in end: complete += e +'::' | |
800 complete = complete + obj.xml.get('name') + '!!' | |
801 if do != 'None': self.value_entry.AppendText(complete); self.reload_options() | |
771 self.do_tree.Destroy() | 802 self.do_tree.Destroy() |
803 if do == 'None': | |
804 wx.MessageBox('Invalid Reference', 'Error') | |
772 ##### ##### | 805 ##### ##### |
773 | 806 |
774 def on_edit_ok(self, evt): | 807 def on_edit_ok(self, evt): |
775 self.handler.edit_caption(self.index, self.caption_entry.GetValue()) | 808 self.handler.edit_caption(self.index, self.caption_entry.GetValue()) |
776 self.handler.edit_option(self.index, self.value_entry.GetValue()) | 809 self.handler.edit_option(self.index, self.value_entry.GetValue()) |