summaryrefslogtreecommitdiff
path: root/src/gui/setup_audio.h
diff options
context:
space:
mode:
authorChuck Miller <shadowmil@gmail.com>2009-12-19 04:40:42 -0500
committerChuck Miller <shadowmil@gmail.com>2009-12-19 05:08:56 -0500
commitcbc14c8a3c6614987d2331057e114d92336cbac0 (patch)
treea3693bd6ac6aca39a34a2d9a9f644873d63ecf32 /src/gui/setup_audio.h
parent117cc13e863b788bfc8adef9468dba54c4909b9b (diff)
downloadmana-cbc14c8a3c6614987d2331057e114d92336cbac0.tar.gz
mana-cbc14c8a3c6614987d2331057e114d92336cbac0.tar.bz2
mana-cbc14c8a3c6614987d2331057e114d92336cbac0.tar.xz
mana-cbc14c8a3c6614987d2331057e114d92336cbac0.zip
Added support for resources.xml from update server... Also added option to download music optionally
I had to edit the XML wrapper a bit, basicilly its constructor can now take a optional thrid arguement which will tell it to use a resman or open the file directly Also I added fallback support for the old resouce2.txt so servers don't have to upgrade if they do not want to
Diffstat (limited to 'src/gui/setup_audio.h')
-rw-r--r--src/gui/setup_audio.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/setup_audio.h b/src/gui/setup_audio.h
index b398a880..6cb3e1f3 100644
--- a/src/gui/setup_audio.h
+++ b/src/gui/setup_audio.h
@@ -40,9 +40,9 @@ class Setup_Audio : public SetupTab, public gcn::ActionListener
private:
int mMusicVolume, mSfxVolume;
- bool mSoundEnabled;
+ bool mSoundEnabled, mDownloadEnabled;
- gcn::CheckBox *mSoundCheckBox;
+ gcn::CheckBox *mSoundCheckBox, *mDownloadMusicCheckBox;
gcn::Slider *mSfxSlider, *mMusicSlider;
};