From cbc14c8a3c6614987d2331057e114d92336cbac0 Mon Sep 17 00:00:00 2001 From: Chuck Miller Date: Sat, 19 Dec 2009 04:40:42 -0500 Subject: 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 --- src/gui/setup_audio.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui/setup_audio.h') 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; }; -- cgit v1.2.3-70-g09d2