mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-02-07 08:51:40 +00:00
thing
This commit is contained in:
parent
94a42d1bf6
commit
508df2e269
3 changed files with 86 additions and 89 deletions
|
@ -1132,8 +1132,6 @@ static void HU_DrawDemoInfo(void)
|
|||
//
|
||||
void HU_Drawer(void)
|
||||
{
|
||||
K_drawMinimap();
|
||||
|
||||
// draw chat string plus cursor
|
||||
if (chat_on)
|
||||
HU_DrawChat();
|
||||
|
|
17
src/k_kart.c
17
src/k_kart.c
|
@ -4888,21 +4888,21 @@ static void K_UnLoadIconGraphics(INT32 skinnum)
|
|||
}
|
||||
#endif
|
||||
|
||||
void K_drawMinimap(void)
|
||||
void K_drawKartMinimap(void)
|
||||
{
|
||||
INT32 amnumxpos;
|
||||
INT32 amnumypos;
|
||||
fixed_t amnumxpos;
|
||||
fixed_t amnumypos;
|
||||
INT32 amxpos;
|
||||
INT32 amypos;
|
||||
INT32 lumpnum;
|
||||
patch_t *AutomapPic;
|
||||
INT32 i = 0;
|
||||
INT32 x, y;
|
||||
|
||||
// Draw the HUD only when playing in a level.
|
||||
// hu_stuff needs this, unlike st_stuff.
|
||||
if (Playing() && gamestate == GS_LEVEL)
|
||||
{
|
||||
INT32 x, y;
|
||||
if (!(Playing() && gamestate == GS_LEVEL))
|
||||
return;
|
||||
|
||||
lumpnum = W_CheckNumForName(va("%sR", G_BuildMapName(gamemap)));
|
||||
|
||||
|
@ -4991,9 +4991,6 @@ void K_drawMinimap(void)
|
|||
}
|
||||
}
|
||||
}
|
||||
/*if (!splitscreen && maptol & TOL_RACE && !hu_showscores)
|
||||
HU_DrawRaceRankings();*/
|
||||
}
|
||||
}
|
||||
|
||||
static void K_drawBattleFullscreen(void)
|
||||
|
@ -5194,6 +5191,8 @@ void K_drawKartHUD(void)
|
|||
// Draw the CHECK indicator before the other items too, so it's overlapped by everything else
|
||||
if (cv_kartcheck.value)
|
||||
K_drawKartPlayerCheck();
|
||||
|
||||
K_drawKartMinimap();
|
||||
}
|
||||
|
||||
// If the item window is closing, draw it closing!
|
||||
|
|
|
@ -428,7 +428,7 @@ void V_DrawFixedPatch(fixed_t x, fixed_t y, fixed_t pscale, INT32 scrn, patch_t
|
|||
y += (BASEVIDHEIGHT/2)<<FRACBITS;
|
||||
|
||||
if (scrn & V_HORZSCREEN)
|
||||
x = ((BASEVIDWIDTH<<FRACBITS) - x) - (FixedMul((SHORT(patch->width) - SHORT(patch->leftoffset))<<FRACBITS, pscale));
|
||||
x += (BASEVIDWIDTH/2)<<FRACBITS;
|
||||
|
||||
desttop = screens[scrn&V_PARAMMASK];
|
||||
|
||||
|
|
Loading…
Reference in a new issue