bonusblock is a sprite and not a tile in the new design. Renamend messagebox.png...
[supertux.git] / src / scripting / script_interpreter.h
index 0ebe952..54618c4 100644 (file)
@@ -1,16 +1,22 @@
 #ifndef __SCRIPT_INTERPRETER_H__
 #define __SCRIPT_INTERPRETER_H__
 
+#include <squirrel.h>
+#include <iostream>
+
 class ScriptInterpreter
 {
 public:
     ScriptInterpreter();
     ~ScriptInterpreter();
 
-    void load_script(const std::istream& in);
+    void load_script(std::istream& in, const std::string& sourcename = "");
     void run_script();
     void resume_script();
-    bool script_suspended() const;
+    bool script_suspended();
+
+private:
+    HSQUIRRELVM v;
 };
 
 #endif