From: DeaDDooMER Date: Sun, 24 Jul 2022 18:01:44 +0000 (+0300) Subject: gl: draw pause screen X-Git-Url: http://deadsoftware.ru/gitweb?a=commitdiff_plain;h=39c0c4d47988c58cc9bae4b29525b95767782b8f;p=d2df-sdl.git gl: draw pause screen --- diff --git a/src/game/renders/opengl/r_render.pas b/src/game/renders/opengl/r_render.pas index 26fd93e..d445dcb 100644 --- a/src/game/renders/opengl/r_render.pas +++ b/src/game/renders/opengl/r_render.pas @@ -1026,7 +1026,8 @@ implementation if gPauseMain and gGameOn {$IFDEF ENABLE_MENU}and (g_ActiveWindow = nil){$ENDIF} then begin - // TODO draw pause screen + r_Draw_FillRect(0, 0, gScreenWidth - 1, gScreenHeight - 1, 0, 0, 0, 105); + r_Common_DrawText(_lc[I_MENU_PAUSE], gScreenWidth div 2, gScreenHeight div 2, 255, 255, 255, 255, menufont, TBasePoint.BP_CENTER); end; if not gGameOn then