aboutsummaryrefslogtreecommitdiff
path: root/src/defaultsettings.cpp
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2011-06-26 19:33:40 +0300
committerPerttu Ahola <celeron55@gmail.com>2011-06-26 19:33:40 +0300
commit7e59938c5468a948634d93adaa61a71d383852ff (patch)
treecc6b22fe716ac30a084f332b9534a7121b584c39 /src/defaultsettings.cpp
parent5e3deed67232cfa67471536814fc0fd61e93011f (diff)
downloadminetest-7e59938c5468a948634d93adaa61a71d383852ff.tar.gz
minetest-7e59938c5468a948634d93adaa61a71d383852ff.tar.bz2
minetest-7e59938c5468a948634d93adaa61a71d383852ff.zip
added screenshot key F12 (from spongie)
Diffstat (limited to 'src/defaultsettings.cpp')
-rw-r--r--src/defaultsettings.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/defaultsettings.cpp b/src/defaultsettings.cpp
index 84fac75ec..435eefd86 100644
--- a/src/defaultsettings.cpp
+++ b/src/defaultsettings.cpp
@@ -43,6 +43,7 @@ void set_default_settings()
g_settings.setDefault("keymap_freemove", "KEY_KEY_K");
g_settings.setDefault("keymap_fastmove", "KEY_KEY_J");
g_settings.setDefault("keymap_frametime_graph", "KEY_F1");
+ g_settings.setDefault("keymap_screenshot", "KEY_F12");
// Some (temporary) keys for debugging
g_settings.setDefault("keymap_special1", "KEY_KEY_E");
g_settings.setDefault("keymap_print_debug_stacks", "KEY_KEY_P");
@@ -71,6 +72,7 @@ void set_default_settings()
g_settings.setDefault("enable_farmesh", "false");
g_settings.setDefault("enable_clouds", "true");
g_settings.setDefault("invisible_stone", "false");
+ g_settings.setDefault("screenshot_path", ".");
// Server stuff
g_settings.setDefault("enable_experimental", "false");