From 8c0e2a0259906c9b5cc495a24ce07f8cca44cb71 Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Sat, 17 Sep 2005 20:25:56 +0000 Subject: 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 --- src/v_video.c | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'src/v_video.c') 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 -- cgit v1.2.3