diff options
author | Jared Adams <jaxad0127@gmail.com> | 2009-10-14 10:21:50 -0600 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2009-10-14 10:21:50 -0600 |
commit | b4befc985875588a4b454b112b8b79a94c26e5e6 (patch) | |
tree | 05f0d7cc50934b076e37fe005533cee1abf872f7 /src/gui/setup_video.cpp | |
parent | d51d85d49eb0429ba170c13de4ee8b4c277b7937 (diff) | |
download | mana-b4befc985875588a4b454b112b8b79a94c26e5e6.tar.gz mana-b4befc985875588a4b454b112b8b79a94c26e5e6.tar.bz2 mana-b4befc985875588a4b454b112b8b79a94c26e5e6.tar.xz mana-b4befc985875588a4b454b112b8b79a94c26e5e6.zip |
Add more detail to DebugWindow
Diffstat (limited to 'src/gui/setup_video.cpp')
-rw-r--r-- | src/gui/setup_video.cpp | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/gui/setup_video.cpp b/src/gui/setup_video.cpp index f21f20e0..a4bd6864 100644 --- a/src/gui/setup_video.cpp +++ b/src/gui/setup_video.cpp @@ -146,8 +146,11 @@ static const char *speechModeToString(Being::Speech mode) return ""; } -static const char *overlayDetailToString(int detail) +const char *Setup_Video::overlayDetailToString(int detail) { + if (detail == -1) + detail = config.getValue("OverlayDetail", -1); + switch (detail) { case 0: return _("off"); @@ -157,8 +160,11 @@ static const char *overlayDetailToString(int detail) return ""; } -static const char *particleDetailToString(int detail) +const char *Setup_Video::particleDetailToString(int detail) { + if (detail == -1) + detail = 3 - config.getValue("particleEmitterSkip", -1); + switch (detail) { case 0: return _("low"); |