From 328f9dbb01b63c1a0651980fbdec39b34930f379 Mon Sep 17 00:00:00 2001 From: jurkan Date: Sat, 22 Oct 2011 22:41:33 +0200 Subject: Added function to determine the script engine by the file name extension Reviewed-by: Bjorn, Bertram. --- src/scripting/script.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/scripting/script.h') 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 recipe); + static std::string determineEngineByFilename(const std::string &filename); protected: static Script *globalEventScript; -- cgit