summaryrefslogtreecommitdiff
path: root/src/screenshot.h
diff options
context:
space:
mode:
authorTELK <telk5093@gmail.com>2020-01-05 01:47:37 +0900
committerNiels Martin Hansen <nielsm@indvikleren.dk>2020-01-04 18:21:38 +0100
commite04ca904a9455afc63aa87db775fe4463ab899b7 (patch)
tree5fbdd52c01d7eaec457b4f0603992d31c83ab3de /src/screenshot.h
parente7922cd078837567ca5fb2c82a585fdada71f2b8 (diff)
downloadopenttd-e04ca904a9455afc63aa87db775fe4463ab899b7.tar.xz
Feature: Minimap screenshot
Diffstat (limited to 'src/screenshot.h')
-rw-r--r--src/screenshot.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/screenshot.h b/src/screenshot.h
index 7a08cd4fb..aea08a8d5 100644
--- a/src/screenshot.h
+++ b/src/screenshot.h
@@ -22,11 +22,13 @@ enum ScreenshotType {
SC_DEFAULTZOOM, ///< Zoomed to default zoom level screenshot of the visible area.
SC_WORLD, ///< World screenshot.
SC_HEIGHTMAP, ///< Heightmap of the world.
+ SC_MINIMAP, ///< Minimap screenshot.
};
void SetupScreenshotViewport(ScreenshotType t, struct ViewPort *vp);
bool MakeHeightmapScreenshot(const char *filename);
bool MakeScreenshot(ScreenshotType t, const char *name);
+bool MakeMinimapWorldScreenshot();
extern char _screenshot_format_name[8];
extern uint _num_screenshot_formats;