diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-05-11 18:58:18 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-05-11 19:11:45 +0300 |
commit | 85576f6d4fa83a0151ea08e2684f7babdfcfc707 (patch) | |
tree | a152a34c6bef6734ac63d251bc638004f11565a7 /src/game.h | |
parent | 37eac088655e2d4f5cd9e511058eead078bbf497 (diff) | |
download | plus-85576f6d4fa83a0151ea08e2684f7babdfcfc707.tar.gz plus-85576f6d4fa83a0151ea08e2684f7babdfcfc707.tar.bz2 plus-85576f6d4fa83a0151ea08e2684f7babdfcfc707.tar.xz plus-85576f6d4fa83a0151ea08e2684f7babdfcfc707.zip |
Allow set image name prefix in chat command /screenshot.
Diffstat (limited to 'src/game.h')
-rw-r--r-- | src/game.h | 5 |
1 files changed, 3 insertions, 2 deletions
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); |