summaryrefslogtreecommitdiff
path: root/src/game.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-05-11 18:58:18 +0300
committerAndrei Karas <akaras@inbox.ru>2017-05-11 19:11:45 +0300
commit85576f6d4fa83a0151ea08e2684f7babdfcfc707 (patch)
treea152a34c6bef6734ac63d251bc638004f11565a7 /src/game.h
parent37eac088655e2d4f5cd9e511058eead078bbf497 (diff)
downloadplus-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.h5
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);