1 #ifndef __FUNCTIONS_H__
2 #define __FUNCTIONS_H__
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
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.
18 void import(HSQUIRRELVM v, const std::string& filename);