diff options
| author | jurkan <jurkan@gmx.de> | 2011-10-22 22:41:33 +0200 |
|---|---|---|
| committer | Yohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer> | 2011-10-23 00:10:35 +0200 |
| commit | 328f9dbb01b63c1a0651980fbdec39b34930f379 (patch) | |
| tree | a303a7e1e2001da20f9efca38a025ad5fd2aa84e /src/scripting/script.h | |
| parent | 8d20dc6b593f4d3b1c28b274a8f126b4299b73e4 (diff) | |
Added function to determine the script engine by the file name extension
Reviewed-by: Bjorn, Bertram.
Diffstat (limited to 'src/scripting/script.h')
| -rw-r--r-- | src/scripting/script.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/scripting/script.h b/src/scripting/script.h index 44a8b7a..e2ab3af 100644 --- a/src/scripting/script.h +++ b/src/scripting/script.h @@ -143,6 +143,7 @@ class Script static bool performSpecialAction(int specialId, Being *caster); static bool performCraft(Being* crafter, std::list<InventoryItem> recipe); + static std::string determineEngineByFilename(const std::string &filename); protected: static Script *globalEventScript; |
