mirror of
https://github.com/fabiangreffrath/woof.git
synced 2025-09-22 11:22:18 -04:00
remove V_DrawPatchDirect
This commit is contained in:
parent
29653b2e1a
commit
48ba57b84e
@ -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;
|
||||
}
|
||||
}
|
||||
|
@ -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
|
||||
{
|
||||
|
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user