X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fgameloop.h;h=d98ff54f4ed798ff1a57ce15a1610296942562b7;hb=b524515944583916655a9f2cf1a667e55e7ed4ce;hp=1bc6b10729a5d0b9f60ddb821e7cf60aad0f3437;hpb=0acb7e4b13d8f4a61ff354502429b1263b0a831f;p=supertux.git diff --git a/src/gameloop.h b/src/gameloop.h index 1bc6b1072..d98ff54f4 100644 --- a/src/gameloop.h +++ b/src/gameloop.h @@ -25,6 +25,7 @@ #include "special/timer.h" #include "special/base.h" #include "special/frame_rate.h" +#include "statistics.h" using namespace SuperTux; @@ -122,6 +123,12 @@ private: // for fire works Timer random_timer; + // swap points + Vector last_swap_point; + Statistics last_swap_stats; + + Statistics* best_level_statistics; + void restart_level(); void check_end_conditions(); @@ -135,8 +142,6 @@ private: void on_escape_press(); void process_menu(); - - Statistics* best_level_statistics; }; std::string slotinfo(int slot);