bonusblock is a sprite and not a tile in the new design. Renamend messagebox.png...
[supertux.git] / src / scripting / script_interpreter.h
1 #ifndef __SCRIPT_INTERPRETER_H__
2 #define __SCRIPT_INTERPRETER_H__
3
4 #include <squirrel.h>
5 #include <iostream>
6
7 class ScriptInterpreter
8 {
9 public:
10     ScriptInterpreter();
11     ~ScriptInterpreter();
12
13     void load_script(std::istream& in, const std::string& sourcename = "");
14     void run_script();
15     void resume_script();
16     bool script_suspended();
17
18 private:
19     HSQUIRRELVM v;
20 };
21
22 #endif
23