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();
CodeController* end_sequence_controller;
bool game_pause;
+ bool music_playing;
std::string levelfile;