char _full_screenshot_name[MAX_PATH]
Pathname of the screenshot file.
const char * GetCurrentScreenshotExtension()
Get filename extension of current screenshot file format.
void SetupScreenshotViewport(ScreenshotType t, struct ViewPort *vp)
Configure a ViewPort for rendering (a part of) the map into a screenshot.
Fully zoomed in screenshot of the visible area.
uint _cur_screenshot_format
Index of the currently selected screenshot format in _screenshot_formats.
void InitializeScreenshotFormats()
Initialize screenshot format information on startup, with _screenshot_format_name filled from the loa...
char _screenshot_format_name[8]
Extension of the current screenshot format (corresponds with _cur_screenshot_format).
bool MakeScreenshot(ScreenshotType t, const char *name)
Make an actual screenshot.
Data structure for viewport, display of a part of the world.
Zoomed to default zoom level screenshot of the visible area.
uint _num_screenshot_formats
Number of available screenshot formats.
bool MakeHeightmapScreenshot(const char *filename)
Make a heightmap of the current map.
Raw screenshot from blitter buffer.
ScreenshotType
Type of requested screenshot.