Include crash/desync log contents in PNG screenshots

This commit is contained in:
Jonathan G Rennison
2019-05-21 00:52:37 +01:00
parent e64706d147
commit 951a50ddd9
5 changed files with 28 additions and 3 deletions

View File

@@ -33,6 +33,8 @@ bool MakeHeightmapScreenshot(const char *filename);
bool MakeSmallMapScreenshot(unsigned int width, unsigned int height, SmallMapWindow *window);
bool MakeScreenshot(ScreenshotType t, const char *name);
void SaveMinimap(const char *name);
void SetScreenshotAuxiliaryText(const char *key, const char *value);
inline void ClearScreenshotAuxiliaryText() { SetScreenshotAuxiliaryText(nullptr, nullptr); }
extern char _screenshot_format_name[8];
extern uint _num_screenshot_formats;