shithub: choc

Download patch

ref: 6ffcadb705613e2a4443f0a129a0191c897485eb
parent: 3ae824b5b4c0f92a3ed3fe5a7274bbba6337e2ee
author: Simon Howard <fraggle@gmail.com>
date: Mon Oct 23 13:57:56 EDT 2006

Change config variable names to be the same as used in Doom.

Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 716

--- a/setup/display.h
+++ b/setup/display.h
@@ -22,6 +22,7 @@
 #ifndef SETUP_DISPLAY_H 
 #define SETUP_DISPLAY_H
 
+extern int autoadjust_video_settings;
 extern int fullscreen;
 extern int screenmultiply;
 extern int startup_delay;
--- a/setup/mouse.h
+++ b/setup/mouse.h
@@ -22,7 +22,7 @@
 #ifndef SETUP_MOUSE_H
 #define SETUP_MOUSE_H
 
-extern int use_mouse;
+extern int usemouse;
 
 extern int novert;
 extern int mouseSensitivity;
--- a/setup/multiplayer.h
+++ b/setup/multiplayer.h
@@ -23,7 +23,7 @@
 #define SETUP_MULTIPLAYER_H
 
 extern char *player_name;
-extern char *chatmacros[10];
+extern char *chat_macros[10];
 
 void StartMultiGame(void);
 void JoinMultiGame(void);
--- a/setup/sound.h
+++ b/setup/sound.h
@@ -23,11 +23,11 @@
 #define SETUP_SOUND_H
 
 extern int snd_sfxdevice;
-extern int snd_channels;
-extern int sfx_volume;
+extern int numChannels;
+extern int sfxVolume;
 
 extern int snd_musicdevice;
-extern int music_volume;
+extern int musicVolume;
 
 void ConfigSound(void);