diff options
author | alberth <alberth@openttd.org> | 2011-05-28 13:54:18 +0000 |
---|---|---|
committer | alberth <alberth@openttd.org> | 2011-05-28 13:54:18 +0000 |
commit | be048e05f2535458aeef5024ff1c61da183a7836 (patch) | |
tree | 1e3db57bee4d99492efdf09dd4bc942fd1d06835 /src/screenshot.h | |
parent | 64745b4d0d94db4a4d36805ab8a768bf3b01dec1 (diff) | |
download | openttd-be048e05f2535458aeef5024ff1c61da183a7836.tar.xz |
(svn r22509) -Add: Save heightmap.
Diffstat (limited to 'src/screenshot.h')
-rw-r--r-- | src/screenshot.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/screenshot.h b/src/screenshot.h index 21271214c..acd694f2b 100644 --- a/src/screenshot.h +++ b/src/screenshot.h @@ -19,12 +19,14 @@ void SetScreenshotFormat(uint i); /** Type of requested screenshot */ enum ScreenshotType { - SC_VIEWPORT, ///< Screenshot of viewport - SC_RAW, ///< Raw screenshot from blitter buffer - SC_ZOOMEDIN, ///< Zoomed in screenshot of the visible area - SC_WORLD, ///< World screenshot + SC_VIEWPORT, ///< Screenshot of viewport. + SC_RAW, ///< Raw screenshot from blitter buffer. + SC_ZOOMEDIN, ///< Zoomed in screenshot of the visible area. + SC_WORLD, ///< World screenshot. + SC_HEIGHTMAP, ///< Heightmap of the world. }; +bool MakeHeightmapScreenshot(const char *filename); bool MakeScreenshot(ScreenshotType t, const char *name); extern char _screenshot_format_name[8]; |