summaryrefslogtreecommitdiff
path: root/src/game.h
diff options
context:
space:
mode:
authorStefan Dombrowski <stefan@uni-bonn.de>2009-12-09 17:51:17 +0100
committerThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2009-12-09 18:13:14 +0100
commite356eb91b4edb860bb567cbcd467a43ef011c86f (patch)
tree0430d6c0f42b56b801a664cf6413b717b43fa0e7 /src/game.h
parent782b3d32ba1f713750bc4555ab7d28fd808b28e0 (diff)
downloadMana-e356eb91b4edb860bb567cbcd467a43ef011c86f.tar.gz
Mana-e356eb91b4edb860bb567cbcd467a43ef011c86f.tar.bz2
Mana-e356eb91b4edb860bb567cbcd467a43ef011c86f.tar.xz
Mana-e356eb91b4edb860bb567cbcd467a43ef011c86f.zip
Unifying the default folder for screenshots and making it configurable
For all operating systems screenshots are now saved in ~/Desktop. If this folder does not exist, then the user's home is used. The players can change this with the new option --screenshot-dir. This patch is for http://mantis.themanaworld.org/view.php?id=969
Diffstat (limited to 'src/game.h')
-rw-r--r--src/game.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game.h b/src/game.h
index 628c710b..1293db98 100644
--- a/src/game.h
+++ b/src/game.h
@@ -66,4 +66,6 @@ class Game : public ConfigListener
*/
int get_elapsed_time(int start_time);
+void setScreenshotDir(const std::string &dir);
+
#endif