fix a few widescreen offsets (#131)

This commit is contained in:
Roman Fomin 2021-02-18 22:57:26 +07:00 committed by GitHub
parent ae80eca00d
commit 9f1c0e021a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -297,7 +297,7 @@ void D_Display (void)
int y = 4;
if (!automapactive)
y += viewwindowy;
V_DrawPatchDirect(viewwindowx+(scaledviewwidth-68)/2,
V_DrawPatchDirect(viewwindowx+(scaledviewwidth-68)/2-WIDESCREENDELTA,
y,0,W_CacheLumpName ("M_PAUSE", PU_CACHE));
}

View File

@ -2215,7 +2215,7 @@ void M_DrawScreenItems(setup_menu_t* src)
// Data used to draw the "are you sure?" dialogue box when resetting
// to defaults.
#define VERIFYBOXXORG 66
#define VERIFYBOXXORG (66+WIDESCREENDELTA)
#define VERIFYBOXYORG 88
#define PAL_GRAY1 91
#define PAL_GRAY2 98
@ -2257,7 +2257,7 @@ void M_DrawDefVerify()
if (whichSkull) // blink the text
{
strcpy(menu_buffer,"Reset to defaults? (Y or N)");
M_DrawMenuString(VERIFYBOXXORG+8,VERIFYBOXYORG+8,CR_RED);
M_DrawMenuString(VERIFYBOXXORG+8-WIDESCREENDELTA,VERIFYBOXYORG+8,CR_RED);
}
}