mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-02-21 03:11:24 +00:00
Use KARTKREW instead of CONSBACK
Less lump redundancy, no longer need the poor downscaled version :V
This commit is contained in:
parent
abfefd3d51
commit
9339b96449
2 changed files with 5 additions and 5 deletions
|
@ -1230,7 +1230,7 @@ void CONS_Printf(const char *fmt, ...)
|
|||
patch_t *con_backpic;
|
||||
|
||||
if (con_backpic_lumpnum == UINT32_MAX)
|
||||
con_backpic_lumpnum = W_GetNumForName("CONSBACK");
|
||||
con_backpic_lumpnum = W_GetNumForName("KARTKREW");
|
||||
|
||||
// We load the raw lump, even in hardware mode
|
||||
con_backpic = (patch_t*)W_CacheLumpNum(con_backpic_lumpnum, PU_CACHE);
|
||||
|
@ -1475,7 +1475,7 @@ static void CON_DrawBackpic(patch_t *pic, INT32 startx, INT32 destwidth)
|
|||
{
|
||||
(void)startx;
|
||||
(void)destwidth;
|
||||
V_DrawScaledPatch(0, 0, 0, pic);
|
||||
V_DrawFixedPatch(0, 0, FRACUNIT/2, 0, pic, NULL);
|
||||
}
|
||||
|
||||
#if 0
|
||||
|
@ -1551,12 +1551,12 @@ static void CON_DrawConsole(void)
|
|||
patch_t *con_backpic;
|
||||
|
||||
if (con_backpic_lumpnum == UINT32_MAX)
|
||||
con_backpic_lumpnum = W_GetNumForName("CONSBACK");
|
||||
con_backpic_lumpnum = W_GetNumForName("KARTKREW");
|
||||
|
||||
con_backpic = (patch_t*)W_CachePatchNum(con_backpic_lumpnum, PU_CACHE);
|
||||
|
||||
if (rendermode != render_soft)
|
||||
V_DrawScaledPatch(0, 0, 0, con_backpic);
|
||||
V_DrawFixedPatch(0, 0, FRACUNIT/2, 0, con_backpic, NULL);
|
||||
else if (rendermode != render_none)
|
||||
CON_DrawBackpic(con_backpic, 0, vid.width); // picture as background
|
||||
|
||||
|
|
|
@ -638,7 +638,7 @@ void D_SRB2Loop(void)
|
|||
COM_ImmedExecute("cls;version");
|
||||
|
||||
if (rendermode == render_soft)
|
||||
V_DrawScaledPatch(0, 0, 0, (patch_t *)W_CacheLumpNum(W_GetNumForName("CONSBACK"), PU_CACHE));
|
||||
V_DrawFixedPatch(0, 0, FRACUNIT/2, 0, (patch_t *)W_CacheLumpNum(W_GetNumForName("KARTKREW"), PU_CACHE), NULL);
|
||||
I_FinishUpdate(); // page flip or blit buffer
|
||||
|
||||
for (;;)
|
||||
|
|
Loading…
Reference in a new issue