Feature: Minimap screenshot
This commit is contained in:
committed by
Niels Martin Hansen
parent
e7922cd078
commit
e04ca904a9
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user