From: Ketmar Dark Date: Thu, 15 Feb 2018 17:29:11 +0000 (+0200) Subject: set default window position to (60, 60), so poor shitdows10 users suffer less X-Git-Url: http://deadsoftware.ru/gitweb?p=d2df-sdl.git;a=commitdiff_plain;h=e1c1f7de2d4d90cedb74704518844133b936ff97 set default window position to (60, 60), so poor shitdows10 users suffer less --- diff --git a/src/game/g_options.pas b/src/game/g_options.pas index b92d257..3d67ec0 100644 --- a/src/game/g_options.pas +++ b/src/game/g_options.pas @@ -293,12 +293,12 @@ begin gScreenHeight := config.ReadInt('Video', 'ScreenHeight', 600); if gScreenHeight < 480 then gScreenHeight := 480; - gWinRealPosX := config.ReadInt('Video', 'WinPosX', 0); + gWinRealPosX := config.ReadInt('Video', 'WinPosX', 60); if gWinRealPosX < 0 then - gWinRealPosX := 0; - gWinRealPosY := config.ReadInt('Video', 'WinPosY', 0); + gWinRealPosX := 60; + gWinRealPosY := config.ReadInt('Video', 'WinPosY', 60); if gWinRealPosY < 0 then - gWinRealPosY := 0; + gWinRealPosY := 60; gFullScreen := config.ReadBool('Video', 'Fullscreen', False); gWinMaximized := config.ReadBool('Video', 'Maximized', False); gBPP := config.ReadInt('Video', 'BPP', 32);