summaryrefslogtreecommitdiff
path: root/src/scripting/luascript.hpp
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2010-08-22 12:44:56 +0200
committerThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2010-08-22 13:11:38 +0200
commitbfca89de4edded82668376d2388784defbee071b (patch)
treee345a9ec1e5d3e6419191cb3233efdfb70ab0718 /src/scripting/luascript.hpp
parent59b889008760325845aeb04b7ac3fad5e1068c0f (diff)
downloadmanaserv-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/luascript.hpp')
-rw-r--r--src/scripting/luascript.hpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/scripting/luascript.hpp b/src/scripting/luascript.hpp
index 94851ac7..5e4deea1 100644
--- a/src/scripting/luascript.hpp
+++ b/src/scripting/luascript.hpp
@@ -63,18 +63,17 @@ class LuaScript: public Script
static void getPostCallback(Character *, const std::string &,
const std::string &, void *);
- void processDeathEvent(Being* thing);
+ void processDeathEvent(Being *thing);
- void processRemoveEvent(Thing* thing);
+ void processRemoveEvent(Thing *thing);
/**
* Loads the global event script file
*/
- static bool load_global_event_script(const std::string &file);
- static bool load_special_actions_script(const std::string &file);
+ static bool loadGlobalEventScript(const std::string &file);
+ static bool loadSpecialActionsScript(const std::string &file);
private:
-
lua_State *mState;
int nbArgs;
std::string mCurFunction;