summaryrefslogtreecommitdiff
path: root/src/screenshot.h
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2012-12-09 16:53:01 +0000
committerfrosch <frosch@openttd.org>2012-12-09 16:53:01 +0000
commitfccf0ac84dae8c23ba9b55b4b2200d07530ba28c (patch)
tree631df9cfede086e1182f9a63b0118ade357ab8c7 /src/screenshot.h
parentedd9c0553a7ff735000cc52c9b02fa33db767521 (diff)
downloadopenttd-fccf0ac84dae8c23ba9b55b4b2200d07530ba28c.tar.xz
(svn r24805) -Codechange: Refactor determination of screenshot viewport for world screenshots.
Diffstat (limited to 'src/screenshot.h')
-rw-r--r--src/screenshot.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/screenshot.h b/src/screenshot.h
index a9b4c0f6e..7456a09de 100644
--- a/src/screenshot.h
+++ b/src/screenshot.h
@@ -29,6 +29,7 @@ enum ScreenshotType {
SC_HEIGHTMAP, ///< Heightmap of the world.
};
+void SetupScreenshotViewport(ScreenshotType t, struct ViewPort *vp);
bool MakeHeightmapScreenshot(const char *filename);
bool MakeScreenshot(ScreenshotType t, const char *name);