summaryrefslogtreecommitdiff
path: root/src/heretic
diff options
context:
space:
mode:
authorSimon Howard2008-09-24 19:21:28 +0000
committerSimon Howard2008-09-24 19:21:28 +0000
commit1bbff030380ff35f37bece2d300394da71b3a20d (patch)
treef62de6402fd3bc1c6cafd51fbebb7559af236f27 /src/heretic
parent65b4f070df684851e8c5fdcb9d7721c8e9e23816 (diff)
downloadchocolate-doom-1bbff030380ff35f37bece2d300394da71b3a20d.tar.gz
chocolate-doom-1bbff030380ff35f37bece2d300394da71b3a20d.tar.bz2
chocolate-doom-1bbff030380ff35f37bece2d300394da71b3a20d.zip
Set default values for some configuration variables.
Subversion-branch: /branches/raven-branch Subversion-revision: 1276
Diffstat (limited to 'src/heretic')
-rw-r--r--src/heretic/r_main.c2
-rw-r--r--src/heretic/s_sound.c11
2 files changed, 4 insertions, 9 deletions
diff --git a/src/heretic/r_main.c b/src/heretic/r_main.c
index c20d5d03..975dce0c 100644
--- a/src/heretic/r_main.c
+++ b/src/heretic/r_main.c
@@ -662,7 +662,7 @@ void R_ExecuteSetViewSize(void)
*/
int detailLevel;
-int screenblocks;
+int screenblocks = 10;
void R_Init(void)
{
diff --git a/src/heretic/s_sound.c b/src/heretic/s_sound.c
index c38c5938..ae40269b 100644
--- a/src/heretic/s_sound.c
+++ b/src/heretic/s_sound.c
@@ -55,14 +55,9 @@ byte *soundCurve;
extern sfxinfo_t S_sfx[];
extern musicinfo_t S_music[];
-extern int snd_DesiredMusicDevice;
-extern int snd_DesiredSfxDevice;
-int snd_MaxVolume;
-int snd_MusicVolume;
-int snd_Channels;
-
-extern int startepisode;
-extern int startmap;
+int snd_MaxVolume = 10;
+int snd_MusicVolume = 10;
+int snd_Channels = 16;
int AmbChan;