1 #ifndef __FUNCTIONS_H__
2 #define __FUNCTIONS_H__
11 /** displays a text file and scrolls it over the screen */
12 void display_text_file(const std::string& filename);
14 * Suspends the script execution for the specified number of seconds
16 void wait(float seconds) __suspend;
17 /** translates a give text into the users language (by looking it up in the .po
20 std::string translate(const std::string& text);
21 /** load a script file and executes it
22 * This is typically used to import functions from external files.
24 void import(HSQUIRRELVM v, const std::string& filename);