summaryrefslogtreecommitdiff
path: root/src/screenshot.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-12-19 19:21:37 +0000
committerrubidium <rubidium@openttd.org>2009-12-19 19:21:37 +0000
commita6146f5f516ce08dfb9c5ad62b260ba2e3ae8010 (patch)
treec9d60cba50de218e9bc3a85a2e140cbb6eb4aa82 /src/screenshot.h
parent29d6491605bb13e7a751b2a1a8b8728f17bbc54b (diff)
downloadopenttd-a6146f5f516ce08dfb9c5ad62b260ba2e3ae8010.tar.xz
(svn r18546) -Codechange: make making the screenshot not asynchronious; just do it at the moment it's requested.
Diffstat (limited to 'src/screenshot.h')
-rw-r--r--src/screenshot.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/screenshot.h b/src/screenshot.h
index 81b97f9ad..2ceac4486 100644
--- a/src/screenshot.h
+++ b/src/screenshot.h
@@ -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;