void exit_screen(ScreenFade* fade = NULL);
void quit(ScreenFade* fade = NULL);
void set_speed(float speed);
+ float get_speed() const;
+
+ /**
+ * requests that a screenshot be taken after the next frame has been rendered
+ */
+ void take_screenshot();
// push new screen on screen_stack
void push_screen(Screen* screen, ScreenFade* fade = NULL);
std::auto_ptr<Console> console;
std::auto_ptr<ScreenFade> screen_fade;
std::vector<Screen*> screen_stack;
+ bool screenshot_requested; /**< true if a screenshot should be taken after the next frame has been rendered */
};
extern MainLoop* main_loop;