miniswig supports int, float and string constants now
[supertux.git] / src / scripting / functions.hpp
1 #ifndef __FUNCTIONS_H__
2 #define __FUNCTIONS_H__
3
4 namespace Scripting
5 {
6
7 /** displays a text file and scrolls it over the screen */
8 void display_text_file(const std::string& filename);
9 /** Suspends the script execution for the specified number of seconds */
10 void set_wakeup_time(float seconds);
11 /** translates a give text into the users language (by looking it up in the .po
12  * files)
13  */
14 std::string translate(const std::string& text);
15 /** load a script file and executes it 
16  * This is typically used to import functions from external files.
17  * */
18 void import(HSQUIRRELVM v, const std::string& filename);
19
20 }
21
22 #endif
23