summaryrefslogtreecommitdiff
path: root/src/v_video.c
diff options
context:
space:
mode:
authorSimon Howard2005-09-17 20:25:56 +0000
committerSimon Howard2005-09-17 20:25:56 +0000
commit8c0e2a0259906c9b5cc495a24ce07f8cca44cb71 (patch)
treed9b00d18519fa780767e2dc51a30ca29e31ea0f2 /src/v_video.c
parent66bf226f5830b54152a80ab0cc64e2aa7498f418 (diff)
downloadchocolate-doom-8c0e2a0259906c9b5cc495a24ce07f8cca44cb71.tar.gz
chocolate-doom-8c0e2a0259906c9b5cc495a24ce07f8cca44cb71.tar.bz2
chocolate-doom-8c0e2a0259906c9b5cc495a24ce07f8cca44cb71.zip
Set the default values for variables in their initialisers. Remove the
"defaultvalue" parameter and associated code from the configuration file parsing code. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 110
Diffstat (limited to 'src/v_video.c')
-rw-r--r--src/v_video.c12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/v_video.c b/src/v_video.c
index aa5a1a42..8e2ab7ab 100644
--- a/src/v_video.c
+++ b/src/v_video.c
@@ -1,7 +1,7 @@
// Emacs style mode select -*- C++ -*-
//-----------------------------------------------------------------------------
//
-// $Id: v_video.c 8 2005-07-23 16:44:57Z fraggle $
+// $Id: v_video.c 110 2005-09-17 20:25:56Z fraggle $
//
// Copyright(C) 1993-1996 Id Software, Inc.
// Copyright(C) 2005 Simon Howard
@@ -22,6 +22,11 @@
// 02111-1307, USA.
//
// $Log$
+// Revision 1.3 2005/09/17 20:25:56 fraggle
+// Set the default values for variables in their initialisers. Remove the
+// "defaultvalue" parameter and associated code from the configuration
+// file parsing code.
+//
// Revision 1.2 2005/07/23 16:44:57 fraggle
// Update copyright to GNU GPL
//
@@ -38,7 +43,7 @@
static const char
-rcsid[] = "$Id: v_video.c 8 2005-07-23 16:44:57Z fraggle $";
+rcsid[] = "$Id: v_video.c 110 2005-09-17 20:25:56Z fraggle $";
#include "i_system.h"
@@ -146,8 +151,9 @@ byte gammatable[5][256] =
};
+// Gamma correction level to use
-int usegamma;
+int usegamma = 0;
//
// V_MarkRect