diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-04-26 22:24:38 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-04-27 03:49:15 +0300 |
commit | 70f471c5322231d7651c0275df46b3a9547f9ac0 (patch) | |
tree | 9bc0e4948f8fcfab71c2b4f900dd4c0f16611a96 /src/gui | |
parent | 129b19f69fbbdcd896150aa8faa7f20254169c0c (diff) | |
download | manaverse-70f471c5322231d7651c0275df46b3a9547f9ac0.tar.gz manaverse-70f471c5322231d7651c0275df46b3a9547f9ac0.tar.bz2 manaverse-70f471c5322231d7651c0275df46b3a9547f9ac0.tar.xz manaverse-70f471c5322231d7651c0275df46b3a9547f9ac0.zip |
Add option for enable textures compression (disabled by default)
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/setup_perfomance.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/gui/setup_perfomance.cpp b/src/gui/setup_perfomance.cpp index 976f1123b..865839c52 100644 --- a/src/gui/setup_perfomance.cpp +++ b/src/gui/setup_perfomance.cpp @@ -79,6 +79,7 @@ Setup_Perfomance::Setup_Perfomance() new SetupItemCheckBox(_("Enable reorder sprites."), "", "enableReorderSprites", this, "enableReorderSpritesEvent"); + new SetupItemLabel(_("Small memory (enable for lower memory usage)"), "", this); @@ -88,6 +89,14 @@ Setup_Perfomance::Setup_Perfomance() new SetupItemCheckBox(_("Disable beings caching (Software)"), "", "disableBeingCaching", this, "disableBeingCachingEvent"); + + new SetupItemLabel(_("Different options (enable or disable can improve perfomance)"), + "", this); + + new SetupItemCheckBox(_("Enable texture compression (fast OpenGL)"), "", + "compresstextures", this, "compresstexturesEvent"); + + setDimension(gcn::Rectangle(0, 0, 550, 350)); } |