summaryrefslogtreecommitdiff
path: root/src/setup/display.c
diff options
context:
space:
mode:
authorSimon Howard2008-11-26 21:09:12 +0000
committerSimon Howard2008-11-26 21:09:12 +0000
commit2b5de0bafc1ebe347e08617de7595c1ea507c0b9 (patch)
treed822c7e164353d49e7de1018e9a2219487488cf4 /src/setup/display.c
parent2f67325278637a349bb86fa6fc388e527a75a5c9 (diff)
downloadchocolate-doom-2b5de0bafc1ebe347e08617de7595c1ea507c0b9.tar.gz
chocolate-doom-2b5de0bafc1ebe347e08617de7595c1ea507c0b9.tar.bz2
chocolate-doom-2b5de0bafc1ebe347e08617de7595c1ea507c0b9.zip
Add bindings for remaining missing config file variables, to get
chocolate-setup functional again. Subversion-branch: /branches/raven-branch Subversion-revision: 1388
Diffstat (limited to 'src/setup/display.c')
-rw-r--r--src/setup/display.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/setup/display.c b/src/setup/display.c
index efb659a3..a8865c30 100644
--- a/src/setup/display.c
+++ b/src/setup/display.c
@@ -74,6 +74,7 @@ static int screen_width = 320;
static int screen_height = 200;
static int startup_delay = 1000;
static int show_endoom = 1;
+static int usegamma = 0;
// These are the last screen width/height values that were chosen by the
// user. These are used when finding the "nearest" mode, so when
@@ -446,6 +447,7 @@ void BindDisplayVariables(void)
M_BindVariable("screen_height", &screen_height);
M_BindVariable("startup_delay", &startup_delay);
M_BindVariable("video_driver", &video_driver);
+ M_BindVariable("usegamma", &usegamma);
// doom, heretic only:
M_BindVariable("show_endoom", &show_endoom);