diff options
Diffstat (limited to 'src/screenshot.h')
-rw-r--r-- | src/screenshot.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/screenshot.h b/src/screenshot.h index 400f8164e..148c018e1 100644 --- a/src/screenshot.h +++ b/src/screenshot.h @@ -25,10 +25,10 @@ enum ScreenshotType { SC_MINIMAP, ///< Minimap screenshot. }; -void SetupScreenshotViewport(ScreenshotType t, struct Viewport *vp); +void SetupScreenshotViewport(ScreenshotType t, struct Viewport *vp, uint32 width = 0, uint32 height = 0); bool MakeHeightmapScreenshot(const char *filename); void MakeScreenshotWithConfirm(ScreenshotType t); -bool MakeScreenshot(ScreenshotType t, const char *name); +bool MakeScreenshot(ScreenshotType t, const char *name, uint32 width = 0, uint32 height = 0); bool MakeMinimapWorldScreenshot(); extern char _screenshot_format_name[8]; |