From 33bec3c99c48b9a683f7fa0bd0588b8a19fd621e Mon Sep 17 00:00:00 2001 From: toaster Date: Mon, 15 May 2023 17:26:13 +0100 Subject: [PATCH] Y_IntermissionDrawer: Draw the foreground border on widescreen resolutions Also changes the position of the Replay Save message to not get cut off --- src/y_inter.c | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/y_inter.c b/src/y_inter.c index 41e3a3ec9..f0f9488ed 100644 --- a/src/y_inter.c +++ b/src/y_inter.c @@ -1331,14 +1331,14 @@ finalcounter: INT32 buttonx = BASEVIDWIDTH; INT32 buttony = 2; - K_drawButtonAnim(buttonx - 76, buttony, V_SNAPTOTOP|V_SNAPTORIGHT, kp_button_b[1], replayprompttic); - V_DrawRightAlignedThinString(buttonx - 55, buttony, V_SNAPTOTOP|V_SNAPTORIGHT|V_ALLOWLOWERCASE|V_6WIDTHSPACE|highlightflags, "or"); - K_drawButtonAnim(buttonx - 55, buttony, V_SNAPTOTOP|V_SNAPTORIGHT, kp_button_x[1], replayprompttic); - V_DrawRightAlignedThinString(buttonx - 2, buttony, V_SNAPTOTOP|V_SNAPTORIGHT|V_ALLOWLOWERCASE|V_6WIDTHSPACE|highlightflags, "Save replay"); + K_drawButtonAnim(buttonx - 76, buttony, 0, kp_button_b[1], replayprompttic); + V_DrawRightAlignedThinString(buttonx - 55, buttony, V_ALLOWLOWERCASE|V_6WIDTHSPACE|highlightflags, "or"); + K_drawButtonAnim(buttonx - 55, buttony, 0, kp_button_x[1], replayprompttic); + V_DrawRightAlignedThinString(buttonx - 2, buttony, V_ALLOWLOWERCASE|V_6WIDTHSPACE|highlightflags, "Save replay"); break; } case DSM_SAVED: - V_DrawRightAlignedThinString(BASEVIDWIDTH - 2, 2, V_SNAPTOTOP|V_SNAPTORIGHT|V_ALLOWLOWERCASE|V_6WIDTHSPACE|highlightflags, "Replay saved!"); + V_DrawRightAlignedThinString(BASEVIDWIDTH - 2, 2, V_ALLOWLOWERCASE|V_6WIDTHSPACE|highlightflags, "Replay saved!"); break; case DSM_TITLEENTRY: @@ -1364,6 +1364,8 @@ finalcounter: va("%d", tickDown) ); } + + M_DrawMenuForeground(); } //