diff --git a/src/xrEngine/Device_Initialize.cpp b/src/xrEngine/Device_Initialize.cpp index b2796fd75c6..1d2c1e57e1b 100644 --- a/src/xrEngine/Device_Initialize.cpp +++ b/src/xrEngine/Device_Initialize.cpp @@ -52,7 +52,7 @@ void CRenderDevice::Initialize() #endif | SDL_WINDOW_OPENGL; - m_sdlWnd = SDL_CreateWindow("S.T.A.L.K.E.R.: Call of Pripyat", 0, 0, 256, 192, flags); + m_sdlWnd = SDL_CreateWindow("S.T.A.L.K.E.R.: Call of Pripyat", 0, 0, 640, 480, flags); R_ASSERT3(m_sdlWnd, "Unable to create SDL window", SDL_GetError()); SDL_SetWindowHitTest(m_sdlWnd, WindowHitTest, nullptr); diff --git a/src/xrEngine/Device_create.cpp b/src/xrEngine/Device_create.cpp index dec7402bbb1..796b1794830 100644 --- a/src/xrEngine/Device_create.cpp +++ b/src/xrEngine/Device_create.cpp @@ -141,7 +141,14 @@ void CRenderDevice::UpdateWindowRects() void CRenderDevice::SelectResolution(const bool windowed) { - if (windowed) + // Dedicated server hardcoded resolution + // XXX: to be removed + if (GEnv.isDedicatedServer) + { + dwWidth = psCurrentVidMode[0] = 640; + dwHeight = psCurrentVidMode[1] = 480; + } + else if (windowed) { dwWidth = psCurrentVidMode[0]; dwHeight = psCurrentVidMode[1]; diff --git a/src/xrEngine/Text_Console.cpp b/src/xrEngine/Text_Console.cpp index 09c11a72e45..e6e01487f44 100644 --- a/src/xrEngine/Text_Console.cpp +++ b/src/xrEngine/Text_Console.cpp @@ -105,9 +105,9 @@ void CTextConsole::CreateLogWnd() lf.lfUnderline = 0; lf.lfStrikeOut = 0; lf.lfCharSet = DEFAULT_CHARSET; - lf.lfOutPrecision = OUT_STRING_PRECIS; + lf.lfOutPrecision = OUT_TT_PRECIS; lf.lfClipPrecision = CLIP_STROKE_PRECIS; - lf.lfQuality = DRAFT_QUALITY; + lf.lfQuality = CLEARTYPE_NATURAL_QUALITY; lf.lfPitchAndFamily = VARIABLE_PITCH | FF_SWISS; xr_sprintf(lf.lfFaceName, sizeof(lf.lfFaceName), "");