diff options
author | Thorbjørn Lindeijer <thorbjorn@lindeijer.nl> | 2010-08-22 12:44:56 +0200 |
---|---|---|
committer | Thorbjørn Lindeijer <thorbjorn@lindeijer.nl> | 2010-08-22 13:11:38 +0200 |
commit | bfca89de4edded82668376d2388784defbee071b (patch) | |
tree | e345a9ec1e5d3e6419191cb3233efdfb70ab0718 /src/scripting/script.hpp | |
parent | 59b889008760325845aeb04b7ac3fad5e1068c0f (diff) | |
download | manaserv-bfca89de4edded82668376d2388784defbee071b.tar.gz manaserv-bfca89de4edded82668376d2388784defbee071b.tar.bz2 manaserv-bfca89de4edded82668376d2388784defbee071b.tar.xz manaserv-bfca89de4edded82668376d2388784defbee071b.zip |
Rename some stuff to conform to naming conventions
Diffstat (limited to 'src/scripting/script.hpp')
-rw-r--r-- | src/scripting/script.hpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/scripting/script.hpp b/src/scripting/script.hpp index 0e874151..dfba06f0 100644 --- a/src/scripting/script.hpp +++ b/src/scripting/script.hpp @@ -128,21 +128,21 @@ class Script EventListener *getScriptListener() { return &mEventListener; } - virtual void processDeathEvent(Being* thing) = 0; + virtual void processDeathEvent(Being *thing) = 0; - virtual void processRemoveEvent(Thing* thing) = 0; + virtual void processRemoveEvent(Thing *thing) = 0; /** * Runs a function from the global event script file */ - static bool execute_global_event_function(const std::string &function, Being *obj); + static bool executeGlobalEventFunction(const std::string &function, Being *obj); static void addDataToSpecial(int specialId, Special *special); - static bool perform_special_action(int specialId, Being *caster); + static bool performSpecialAction(int specialId, Being *caster); protected: - static Script* global_event_script; // the global event script - static Script* special_actions_script; // the special actions script + static Script *globalEventScript; + static Script *specialActionsScript; std::string mScriptFile; private: |