diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-04-10 00:33:27 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-04-10 00:33:27 +0300 |
commit | a0c7a0e2d34a13f2c3e86f662e352977ebe2ae73 (patch) | |
tree | 15996308da765b18751048c6bdaeb81926959328 /src/gui/setup_perfomance.cpp | |
parent | c5ff42706d5ff540b5f557fa1a2b1924a6cdf07b (diff) | |
download | manaplus-a0c7a0e2d34a13f2c3e86f662e352977ebe2ae73.tar.gz manaplus-a0c7a0e2d34a13f2c3e86f662e352977ebe2ae73.tar.bz2 manaplus-a0c7a0e2d34a13f2c3e86f662e352977ebe2ae73.tar.xz manaplus-a0c7a0e2d34a13f2c3e86f662e352977ebe2ae73.zip |
Add option to left all per map sprites in memory if once was loaded.
This can prevent random lags and also can use more memory.
Diffstat (limited to 'src/gui/setup_perfomance.cpp')
-rw-r--r-- | src/gui/setup_perfomance.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/setup_perfomance.cpp b/src/gui/setup_perfomance.cpp index c570ba1a1..0d924690b 100644 --- a/src/gui/setup_perfomance.cpp +++ b/src/gui/setup_perfomance.cpp @@ -129,6 +129,10 @@ Setup_Perfomance::Setup_Perfomance(const Widget2 *const widget) : new SetupItemCheckBox(_("Enable texture atlases (OpenGL)"), "", "useAtlases", this, "useAtlasesEvent"); + new SetupItemCheckBox(_("Cache all sprites per map (can use " + "additinal memory)"), "", "uselonglivesprites", this, + "uselonglivespritesEvent"); + setDimension(gcn::Rectangle(0, 0, 550, 350)); } |