This commit is contained in:
TehRealSalt 2017-12-22 16:24:20 -05:00
parent 94a42d1bf6
commit 508df2e269
3 changed files with 86 additions and 89 deletions

View file

@ -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();

View file

@ -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!

View file

@ -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];