From 2b5de0bafc1ebe347e08617de7595c1ea507c0b9 Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Wed, 26 Nov 2008 21:09:12 +0000 Subject: Add bindings for remaining missing config file variables, to get chocolate-setup functional again. Subversion-branch: /branches/raven-branch Subversion-revision: 1388 --- src/setup/display.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/setup/display.c') 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); -- cgit v1.2.3