void MakeScreenshotWithConfirm(ScreenshotType t)
Make a screenshot.
std::string _screenshot_format_name
Extension of the current screenshot format.
bool MakeMinimapWorldScreenshot()
Make a minimap screenshot.
std::string_view GetCurrentScreenshotExtension()
Get filename extension of current screenshot file format.
ScreenshotType
Type of requested screenshot.
@ SC_VIEWPORT
Screenshot of viewport.
@ SC_CRASHLOG
Raw screenshot from blitter buffer.
@ SC_ZOOMEDIN
Fully zoomed in screenshot of the visible area.
@ SC_HEIGHTMAP
Heightmap of the world.
@ SC_WORLD
World screenshot.
@ SC_MINIMAP
Minimap screenshot.
@ SC_DEFAULTZOOM
Zoomed to default zoom level screenshot of the visible area.
std::string _full_screenshot_path
Pathname of the screenshot file.
bool MakeHeightmapScreenshot(std::string_view filename)
Make a heightmap of the current map.
bool MakeScreenshot(ScreenshotType t, const std::string &name, uint32_t width=0, uint32_t height=0)
Schedule making a screenshot.