added beginning of automatic docu generation for the scripting interface
[supertux.git] / src / game_session.h
index eb31ed4..9c5d381 100644 (file)
@@ -86,9 +86,18 @@ public:
   Sector* get_current_sector()
   { return currentsector; }
 
+  Level* get_current_level()
+  { return level; }
+
   void start_sequence(const std::string& sequencename);
   /// called by JoystickKeyboardController after an ascii key has been pressed
   void try_cheats();
+
+  /** returns the "working directory" usually this is the directory where the
+   * currently played level resides. This is used when locating additional
+   * resources for the current level/world
+   */
+  std::string get_working_directory();
   
 private:
   void restart_level();
@@ -127,6 +136,7 @@ private:
   CodeController* end_sequence_controller;
 
   bool game_pause;
+  bool music_playing;
 
   std::string levelfile;