Mercurial > traipse
diff orpg/mapper/fog_handler.py @ 18:97265586402b ornery-orc
Traipse 'OpenRPG' {090827-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:
Update Manager is now in version 0.8. While not every button works, users can now browse the different revisions and their different changesets. The code has been refined some with feature from Core added to it. A Crash report is now created if the users software crashes. Update Manager has been moved to the Traipse Suite menu item, and a Debug Console as been added as well.
author | sirebral |
---|---|
date | Thu, 27 Aug 2009 01:04:43 -0500 |
parents | 211ac836b6a0 |
children |
line wrap: on
line diff
--- a/orpg/mapper/fog_handler.py Thu Aug 13 13:14:10 2009 -0500 +++ b/orpg/mapper/fog_handler.py Thu Aug 27 01:04:43 2009 -0500 @@ -71,7 +71,7 @@ def on_remove(self,evt): session=self.canvas.frame.session if (session.my_role() != session.ROLE_GM): - open_rpg.get_component("chat").InfoPost("You must be a GM to use this feature") + component.get("chat").InfoPost("You must be a GM to use this feature") return self.canvas.layers['fog'].remove_fog() self.canvas.Refresh(False) @@ -79,7 +79,7 @@ def on_showall(self,evt): session=self.canvas.frame.session if (session.my_role() != session.ROLE_GM): - open_rpg.get_component("chat").InfoPost("You must be a GM to use this feature") + component.get("chat").InfoPost("You must be a GM to use this feature") return foglayer = self.canvas.layers['fog'] foglayer.showall() @@ -99,7 +99,7 @@ def on_hideall(self,evt): session=self.canvas.frame.session if (session.my_role() != session.ROLE_GM): - open_rpg.get_component("chat").InfoPost("You must be a GM to use this feature") + component.get("chat").InfoPost("You must be a GM to use this feature") return foglayer=self.canvas.layers['fog'] foglayer.clear() @@ -108,7 +108,7 @@ def on_color(self,evt): session=self.canvas.frame.session if (session.my_role() != session.ROLE_GM): - open_rpg.get_component("chat").InfoPost("You must be a GM to use this feature") + component.get("chat").InfoPost("You must be a GM to use this feature") return data = wx.ColourData() data.SetChooseFull(True) @@ -158,7 +158,7 @@ if self.drawing == True: session=self.canvas.frame.session if (session.my_role() != session.ROLE_GM): - open_rpg.get_component("chat").InfoPost("You must be a GM to use this feature") + component.get("chat").InfoPost("You must be a GM to use this feature") else: # This code sets the mode to either new or del # depending on the action to function with the updated createregen code.