summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-09-15 11:55:38 +0300
committerAndrei Karas <akaras@inbox.ru>2013-09-15 11:55:38 +0300
commitbe002b5d8b9137011e37df519ddc5d5174179103 (patch)
tree3b1f1bff7dbce4a73c923e557b8cdffaec96f31c /src/gui
parent54d665ca2ff9244ef4b5a6dc48424d4a3364a40c (diff)
downloadmanaplus-be002b5d8b9137011e37df519ddc5d5174179103.tar.gz
manaplus-be002b5d8b9137011e37df519ddc5d5174179103.tar.bz2
manaplus-be002b5d8b9137011e37df519ddc5d5174179103.tar.xz
manaplus-be002b5d8b9137011e37df519ddc5d5174179103.zip
add option to not unload sounds after using.
It configured by default for not unload sounds/music.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/setup_perfomance.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/setup_perfomance.cpp b/src/gui/setup_perfomance.cpp
index 079263a2d..8c8969335 100644
--- a/src/gui/setup_perfomance.cpp
+++ b/src/gui/setup_perfomance.cpp
@@ -148,6 +148,11 @@ Setup_Perfomance::Setup_Perfomance(const Widget2 *const widget) :
"additinal memory)"), "", "uselonglivesprites", this,
"uselonglivespritesEvent");
+ // TRANSLATORS: settings option
+ new SetupItemCheckBox(_("Cache all sounds (can use additinal memory)"),
+ "", "uselonglivesounds", this,
+ "uselonglivesoundsEvent");
+
setDimension(gcn::Rectangle(0, 0, 550, 350));
}