shithub: choc

Download patch

ref: 1bbff030380ff35f37bece2d300394da71b3a20d
parent: 65b4f070df684851e8c5fdcb9d7721c8e9e23816
author: Simon Howard <[email protected]>
date: Wed Sep 24 15:21:28 EDT 2008

Set default values for some configuration variables.

Subversion-branch: /branches/raven-branch
Subversion-revision: 1276

--- a/src/heretic/r_main.c
+++ b/src/heretic/r_main.c
@@ -662,7 +662,7 @@
 */
 
 int detailLevel;
-int screenblocks;
+int screenblocks = 10;
 
 void R_Init(void)
 {
--- a/src/heretic/s_sound.c
+++ b/src/heretic/s_sound.c
@@ -55,14 +55,9 @@
 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;