diff options
| author | Philipp Sehmisch <mana@crushnet.org> | 2010-03-22 21:55:34 +0100 |
|---|---|---|
| committer | Philipp Sehmisch <mana@crushnet.org> | 2010-04-11 18:27:20 +0200 |
| commit | f3ad48f5ce2b3b584870674e58a7265779b3836b (patch) | |
| tree | 73323079c2accbdf20f4617be21506c556e66329 /src/scripting/script.hpp | |
| parent | e0669e4025e3772590cbde835d79fb06efea04fa (diff) | |
| download | manaserv-f3ad48f5ce2b3b584870674e58a7265779b3836b.tar.gz manaserv-f3ad48f5ce2b3b584870674e58a7265779b3836b.tar.xz manaserv-f3ad48f5ce2b3b584870674e58a7265779b3836b.zip | |
Added global lua event script (only on_being_death_accept for now)
Reviewed-by: Jared Adams <Jaxad0127@gmail.com>
Diffstat (limited to 'src/scripting/script.hpp')
| -rw-r--r-- | src/scripting/script.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/scripting/script.hpp b/src/scripting/script.hpp index e11e5cc..74925e8 100644 --- a/src/scripting/script.hpp +++ b/src/scripting/script.hpp @@ -131,6 +131,8 @@ class Script virtual void processRemoveEvent(Thing* thing) = 0; + static Script* global_event_script; // the global event script + protected: std::string mScriptFile; |
