remove V_DrawPatchDirect

This commit is contained in:
Roman Fomin 2024-03-14 17:04:28 +07:00
parent 29653b2e1a
commit 48ba57b84e
3 changed files with 5 additions and 7 deletions

View File

@ -329,7 +329,7 @@ static void M_DrawMainMenu(void)
options_active = false;
V_DrawPatchDirect(94, 2, W_CacheLumpName("M_DOOM", PU_CACHE));
V_DrawPatch(94, 2, W_CacheLumpName("M_DOOM", PU_CACHE));
}
/////////////////////////////
@ -3167,8 +3167,8 @@ void M_Drawer(void)
y = setup_active ? SCREENHEIGHT - 19 : currentMenu->y;
V_DrawPatchDirect(x + SKULLXOFF, y - 5 + itemOn * LINEHEIGHT,
W_CacheLumpName(skullName[whichSkull], PU_CACHE));
V_DrawPatch(x + SKULLXOFF, y - 5 + itemOn * LINEHEIGHT,
W_CacheLumpName(skullName[whichSkull], PU_CACHE));
if (delete_verify)
{
@ -3273,7 +3273,7 @@ static void WriteText(int x, int y, const char *string)
{
break;
}
V_DrawPatchDirect(cx, cy, hu_font[c]);
V_DrawPatch(cx, cy, hu_font[c]);
cx += w;
}
}

View File

@ -3709,7 +3709,7 @@ void MN_DrawTitle(int x, int y, const char *patch, const char *alttext)
if (patch_lump >= 0 && !(W_IsIWADLump(patch_lump) && bigfont_lump >= 0))
{
V_DrawPatchDirect(x, y, W_CacheLumpNum(patch_lump, PU_CACHE));
V_DrawPatch(x, y, W_CacheLumpNum(patch_lump, PU_CACHE));
}
else
{

View File

@ -149,8 +149,6 @@ void V_DrawPatchGeneral(int x, int y, struct patch_s *patch, boolean flipped);
#define V_DrawPatchFlipped(x, y, p) V_DrawPatchGeneral(x, y, p, true)
#define V_DrawPatchDirect V_DrawPatch /* killough 5/2/98 */
void V_DrawPatchTranslated(int x, int y, struct patch_s *patch, byte *outr);
void V_DrawPatchTRTR(int x, int y, struct patch_s *patch, byte *outr1,