(svn r18546) -Codechange: make making the screenshot not asynchronious; just do it at the moment it's requested.

This commit is contained in:
rubidium
2009-12-19 19:21:37 +00:00
parent 29d6491605
commit a6146f5f51
6 changed files with 38 additions and 45 deletions

View File

@@ -19,15 +19,12 @@ void SetScreenshotFormat(int i);
/** Type of requested screenshot */
enum ScreenshotType {
SC_NONE, ///< No screenshot requested
SC_VIEWPORT, ///< Screenshot of viewport
SC_RAW, ///< Raw screenshot from blitter buffer
SC_WORLD, ///< World screenshot
};
bool MakeScreenshot();
void RequestScreenshot(ScreenshotType t, const char *name);
bool IsScreenshotRequested();
bool MakeScreenshot(ScreenshotType t, const char *name);
extern char _screenshot_format_name[8];
extern uint _num_screenshot_formats;