X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fgameloop.h;h=d36c95c58d846dace84456531004eeb009ffa7e6;hb=c4fb606d4d5934cae7be629b382007bfcc2ea6c8;hp=5e71456bdaaf9f1ffdcbcda17b27a2f8a7779444;hpb=8e9c55a9c692cbf1e689362ae9d7cd133351d6e0;p=supertux.git diff --git a/src/gameloop.h b/src/gameloop.h index 5e71456bd..d36c95c58 100644 --- a/src/gameloop.h +++ b/src/gameloop.h @@ -67,7 +67,6 @@ private: float fps_fps; FrameRate frame_rate; int pause_menu_frame; - int debug_fps; /** If true the end_sequence will be played, user input will be ignored while doing that */ @@ -116,6 +115,9 @@ public: private: static GameSession* current_; + // for cheating + std::string last_keys; + void restart_level(); void check_end_conditions(); @@ -127,7 +129,6 @@ private: void drawendscreen(); void drawresultscreen(void); -private: void on_escape_press(); void process_menu(); };