X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fmainloop.hpp;h=bd03372b94467fc1d6e6018ddb74118c171a9cf9;hb=665b4a4a6b0edae82fb830528f16d2176da44aa4;hp=244c63f9f12b1b24918e9b2b51035974bb404053;hpb=a93bdf2bb864dc6ba7f9722b151e432fcab57240;p=supertux.git diff --git a/src/mainloop.hpp b/src/mainloop.hpp index 244c63f9f..bd03372b9 100644 --- a/src/mainloop.hpp +++ b/src/mainloop.hpp @@ -34,10 +34,11 @@ public: MainLoop(); ~MainLoop(); - void run(); + void run(DrawingContext &context); void exit_screen(ScreenFade* fade = NULL); void quit(ScreenFade* fade = NULL); void set_speed(float speed); + float get_speed() const; /** * requests that a screenshot be taken after the next frame has been rendered