mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 20:41:46 +00:00
Merge branch 'fix-4p-accessibility' into 'master'
Fix 4P accessibility icons (close enough) Closes #1484 See merge request kart-krew-dev/ring-racers-internal!2590
This commit is contained in:
commit
9b09c7059d
1 changed files with 15 additions and 1 deletions
|
|
@ -3721,6 +3721,11 @@ static void K_drawKartTeamScores(void)
|
||||||
*/
|
*/
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static boolean K_DrawingLaps()
|
||||||
|
{
|
||||||
|
return (numlaps != 1 && !K_InRaceDuel() && (UINT16)stplyr->exp != UINT16_MAX);
|
||||||
|
}
|
||||||
|
|
||||||
static boolean K_drawKartLaps(void)
|
static boolean K_drawKartLaps(void)
|
||||||
{
|
{
|
||||||
INT32 splitflags = V_SNAPTOBOTTOM|V_SNAPTOLEFT|V_SPLITSCREEN;
|
INT32 splitflags = V_SNAPTOBOTTOM|V_SNAPTOLEFT|V_SPLITSCREEN;
|
||||||
|
|
@ -4160,7 +4165,16 @@ static void K_drawKartAccessibilityIcons(boolean gametypeinfoshown, INT32 fx)
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
fx = LAPS_X+44;
|
fx = LAPS_X + 33;
|
||||||
|
|
||||||
|
if ((gametyperules & (GTR_BUMPERS|GTR_CIRCUIT)) == GTR_BUMPERS)
|
||||||
|
fx -= 14;
|
||||||
|
|
||||||
|
if (K_DrawingLaps())
|
||||||
|
{
|
||||||
|
fx += 30;
|
||||||
|
}
|
||||||
|
|
||||||
fy = LAPS_Y;
|
fy = LAPS_Y;
|
||||||
if (R_GetViewNumber() & 1) // If we are not P1 or P3...
|
if (R_GetViewNumber() & 1) // If we are not P1 or P3...
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue