diff options
author | Simon Howard | 2006-10-23 17:58:50 +0000 |
---|---|---|
committer | Simon Howard | 2006-10-23 17:58:50 +0000 |
commit | 5e3221964de6a7cadd69dfc88d90a72f2c1648b5 (patch) | |
tree | 5379cc5cdea70ea6b4dc77b6d83829f955d854aa /setup/sound.c | |
parent | 6ffcadb705613e2a4443f0a129a0191c897485eb (diff) | |
download | chocolate-doom-5e3221964de6a7cadd69dfc88d90a72f2c1648b5.tar.gz chocolate-doom-5e3221964de6a7cadd69dfc88d90a72f2c1648b5.tar.bz2 chocolate-doom-5e3221964de6a7cadd69dfc88d90a72f2c1648b5.zip |
Change config variable names to be the same as used in Doom.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 717
Diffstat (limited to 'setup/sound.c')
-rw-r--r-- | setup/sound.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/setup/sound.c b/setup/sound.c index e8e05277..d5a61ac4 100644 --- a/setup/sound.c +++ b/setup/sound.c @@ -28,11 +28,11 @@ #include "sound.h" int snd_sfxdevice = 3; -int snd_channels = 8; -int sfx_volume = 15; +int numChannels = 8; +int sfxVolume = 15; int snd_musicdevice = 3; -int music_volume = 15; +int musicVolume = 15; static int snd_sfxenabled; static int snd_musicenabled; @@ -91,16 +91,16 @@ void ConfigSound(void) TXT_AddWidgets(sfx_table, TXT_NewLabel("Sound channels"), - TXT_NewSpinControl(&snd_channels, 1, 8), + TXT_NewSpinControl(&numChannels, 1, 8), TXT_NewLabel("SFX volume"), - TXT_NewSpinControl(&sfx_volume, 0, 15), + TXT_NewSpinControl(&sfxVolume, 0, 15), NULL); TXT_SetColumnWidths(music_table, 20, 5); TXT_AddWidgets(music_table, TXT_NewLabel("Music volume"), - TXT_NewSpinControl(&music_volume, 0, 15), + TXT_NewSpinControl(&musicVolume, 0, 15), NULL); } |