X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fgame_session.hpp;h=edae3a632660dfbe64f860fb940a57bb68255b04;hb=d0f999b27218cd800fa0307e695a38823db228ea;hp=028aa0cbc9549a89a7ef38ac047646d1ca8f946d;hpb=8b67b0dc71efddc4b668bde525ba94d701f622ac;p=supertux.git diff --git a/src/game_session.hpp b/src/game_session.hpp index 028aa0cbc..edae3a632 100644 --- a/src/game_session.hpp +++ b/src/game_session.hpp @@ -66,8 +66,6 @@ public: Vector get_reset_point_pos() { return reset_pos; } - void display_info_box(const std::string& text); - Sector* get_current_sector() { return currentsector; } @@ -86,6 +84,16 @@ public: void toggle_pause(); + /** + * Enters or leaves level editor mode + */ + void set_editmode(bool edit_mode = true); + + /** + * Forces all Players to enter ghost mode + */ + void force_ghost_mode(); + private: void check_end_conditions(); void process_events(); @@ -138,6 +146,8 @@ private: std::auto_ptr