mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Use KARTKREW instead of CONSBACK
Less lump redundancy, no longer need the poor downscaled version :V
This commit is contained in:
parent
1ca1673f68
commit
f568b2542c
2 changed files with 5 additions and 5 deletions
|
|
@ -1230,7 +1230,7 @@ void CONS_Printf(const char *fmt, ...)
|
||||||
patch_t *con_backpic;
|
patch_t *con_backpic;
|
||||||
|
|
||||||
if (con_backpic_lumpnum == UINT32_MAX)
|
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
|
// We load the raw lump, even in hardware mode
|
||||||
con_backpic = (patch_t*)W_CacheLumpNum(con_backpic_lumpnum, PU_CACHE);
|
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)startx;
|
||||||
(void)destwidth;
|
(void)destwidth;
|
||||||
V_DrawScaledPatch(0, 0, 0, pic);
|
V_DrawFixedPatch(0, 0, FRACUNIT/2, 0, pic, NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
#if 0
|
#if 0
|
||||||
|
|
@ -1551,12 +1551,12 @@ static void CON_DrawConsole(void)
|
||||||
patch_t *con_backpic;
|
patch_t *con_backpic;
|
||||||
|
|
||||||
if (con_backpic_lumpnum == UINT32_MAX)
|
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);
|
con_backpic = (patch_t*)W_CachePatchNum(con_backpic_lumpnum, PU_CACHE);
|
||||||
|
|
||||||
if (rendermode != render_soft)
|
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)
|
else if (rendermode != render_none)
|
||||||
CON_DrawBackpic(con_backpic, 0, vid.width); // picture as background
|
CON_DrawBackpic(con_backpic, 0, vid.width); // picture as background
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -638,7 +638,7 @@ void D_SRB2Loop(void)
|
||||||
COM_ImmedExecute("cls;version");
|
COM_ImmedExecute("cls;version");
|
||||||
|
|
||||||
if (rendermode == render_soft)
|
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
|
I_FinishUpdate(); // page flip or blit buffer
|
||||||
|
|
||||||
for (;;)
|
for (;;)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue