X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fgame_session.hpp;h=edae3a632660dfbe64f860fb940a57bb68255b04;hb=a2e2ff929dfce1a2d892e0f7b83db52debde4201;hp=54d0ddeddeec7af85738ea738d57efc86a070b52;hpb=45635d47cba9d7d4359a717b810c5d4e6b4a2848;p=supertux.git diff --git a/src/game_session.hpp b/src/game_session.hpp index 54d0ddedd..edae3a632 100644 --- a/src/game_session.hpp +++ b/src/game_session.hpp @@ -84,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(); @@ -136,6 +146,8 @@ private: std::auto_ptr