forked from mirror/OpenTTD
(svn r18546) -Codechange: make making the screenshot not asynchronious; just do it at the moment it's requested.
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user