X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fscripting%2Ffunctions.h;h=f7c8f5c392ca0516d5eced456a5eb0e2718a1156;hb=06d8c72d9ebafa93f8d3bb63b00a2d0bdba61b82;hp=31218899e52cff3161ee8a957a8da7e3839e4f29;hpb=864c93e01ec366f730b3ebad08d5c52d6a9363b6;p=supertux.git diff --git a/src/scripting/functions.h b/src/scripting/functions.h index 31218899e..f7c8f5c39 100644 --- a/src/scripting/functions.h +++ b/src/scripting/functions.h @@ -5,7 +5,11 @@ namespace Scripting { /** Suspends the script execution for the specified number of seconds */ -void wait(float seconds); +void set_wakeup_time(float seconds); +/** translates a give text into the users language (by looking it up in the .po + * files) + */ +std::string translate(const std::string& text); }