summaryrefslogtreecommitdiff
path: root/src/game.h
diff options
context:
space:
mode:
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);