Mercurial > traipse
comparison orpg/mapper/fog.py @ 27:51428d30c59e ornery-orc
Traipse 'OpenRPG' {091003-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.
Traipse URL is now 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.
Fixes CherryPit misspelling.
Makes Traipse Suite 'Attention' item portable, and executes it on 'Critical' debug notices.
Adds incomplete Shift + Enter to Text Entry, currently creates a 'Critical' warning.
New default Lobby Map, designed for Traipse. Feel free to change it.
Updates to Server GUI:
* Admin can Ban from Backend.
* Admin can Modify Ban List and Un Ban users.
* Server GUI finds your Lobby Name
* New users default as Lurker unless a Role is set
Cleaner TraipseSuiteAttention portability and clean up in Main.
Die Roll Commands addition from Core code allowing Math Ordering with ()'s
New About Dialog. A more uniform About Dialog.
Corrects image loading of duplicate images.
author | sirebral |
---|---|
date | Sat, 03 Oct 2009 18:49:37 -0500 |
parents | 97265586402b |
children | ff154cf3350c |
comparison
equal
deleted
inserted
replaced
22:8b168989c344 | 27:51428d30c59e |
---|---|
31 import traceback | 31 import traceback |
32 COURSE = 10 | 32 COURSE = 10 |
33 | 33 |
34 class FogArea: | 34 class FogArea: |
35 def __init__(self, outline, log): | 35 def __init__(self, outline, log): |
36 self.log = log | |
36 self.outline = outline | 37 self.outline = outline |
37 | 38 |
38 def set_fog_props(self, str): | 39 def set_fog_props(self, str): |
39 self.outline = str | 40 self.outline = str |
40 | 41 |
77 return xml_str | 78 return xml_str |
78 | 79 |
79 class fog_layer(layer_base): | 80 class fog_layer(layer_base): |
80 def __init__(self, canvas): | 81 def __init__(self, canvas): |
81 self.canvas = canvas | 82 self.canvas = canvas |
83 self.log = component.get('log') | |
82 layer_base.__init__(self) | 84 layer_base.__init__(self) |
83 self.color = wx.Color(128,128,128) | 85 self.color = wx.Color(128,128,128) |
84 if "__WXGTK__" not in wx.PlatformInfo: self.color = wx.Color(128,128,128, 128) | 86 if "__WXGTK__" not in wx.PlatformInfo: self.color = wx.Color(128,128,128, 128) |
85 self.fogregion = wx.Region() | 87 self.fogregion = wx.Region() |
86 self.fogregion.Clear() | 88 self.fogregion.Clear() |