From cfbdd3d79d1e3cc48165536cb7b4166b94f77e9b Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Sun, 23 Oct 2011 23:23:15 +0000 Subject: Remove hack that forces the window to always be centered within the screen. Add a configuration file variable to control where the game window should appear. Subversion-branch: /branches/v2-branch Subversion-revision: 2467 --- src/setup/display.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/setup') diff --git a/src/setup/display.c b/src/setup/display.c index 92b436b7..d22cc67b 100644 --- a/src/setup/display.c +++ b/src/setup/display.c @@ -102,6 +102,7 @@ static int num_screen_modes_fullscreen; static int vidmode = 0; static char *video_driver = ""; +static char *window_position = ""; static int autoadjust_video_settings = 1; static int aspect_ratio_correct = 1; static int fullscreen = 1; @@ -790,6 +791,7 @@ void BindDisplayVariables(void) M_BindVariable("screen_bpp", &screen_bpp); M_BindVariable("startup_delay", &startup_delay); M_BindVariable("video_driver", &video_driver); + M_BindVariable("window_position", &window_position); M_BindVariable("usegamma", &usegamma); -- cgit v1.2.3