(svn r22509) -Add: Save heightmap.

This commit is contained in:
alberth
2011-05-28 13:54:18 +00:00
parent 64745b4d0d
commit be048e05f2
2 changed files with 55 additions and 4 deletions

View File

@@ -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];