From 85576f6d4fa83a0151ea08e2684f7babdfcfc707 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 11 May 2017 18:58:18 +0300 Subject: Allow set image name prefix in chat command /screenshot. --- src/game.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/game.h') diff --git a/src/game.h b/src/game.h index b80f9c3ee..50c52736a 100644 --- a/src/game.h +++ b/src/game.h @@ -122,11 +122,12 @@ class Game final static void moveInDirection(const unsigned char direction); - static bool createScreenshot(); + static bool createScreenshot(const std::string &prefix); static void addWatermark(); - static bool saveScreenshot(SDL_Surface *const screenshot); + static bool saveScreenshot(SDL_Surface *const screenshot, + const std::string &prefix); void updateHistory(const SDL_Event &event); -- cgit v1.2.3-70-g09d2