HUD refinement for Rings tutorial

- Hide roundscore outside of GTR_POINTLIMIT
- Hide position number in K_Cooperative
    - Tutorial should have counted as K_Cooperative when implemented, fix that now
This commit is contained in:
toaster 2023-11-04 23:59:17 +00:00
parent b55b17ccee
commit 75d8f1539c
2 changed files with 10 additions and 2 deletions

View file

@ -2352,6 +2352,8 @@ static boolean K_drawKartPositionFaces(void)
if ((gametyperules & GTR_BUMPERS) && (players[rankplayer[i]].pflags & PF_ELIMINATED))
V_DrawScaledPatch(FACE_X-4, Y-3, V_HUDTRANS|V_SLIDEIN|V_SNAPTOLEFT, kp_ranknobumpers);
else if (K_Cooperative())
;
else if (gametyperules & GTR_CIRCUIT)
{
INT32 pos = players[rankplayer[i]].position;
@ -2360,7 +2362,7 @@ static boolean K_drawKartPositionFaces(void)
// Draws the little number over the face
V_DrawScaledPatch(FACE_X-5, Y+10, V_HUDTRANS|V_SLIDEIN|V_SNAPTOLEFT, kp_facenum[pos]);
}
else
else if (gametyperules & GTR_POINTLIMIT)
{
INT32 flags = V_HUDTRANS | V_SLIDEIN | V_SNAPTOLEFT;
@ -5526,7 +5528,7 @@ void K_drawKartHUD(void)
if (!battleprisons)
K_drawKartEmeralds();
}
else if (!islonesome)
else if (!islonesome && !K_Cooperative())
K_DrawKartPositionNum(stplyr->position);
}

View file

@ -12570,6 +12570,12 @@ boolean K_Cooperative(void)
return true;
}
if (gametype == GT_TUTORIAL)
{
// Maybe this should be a rule. Eventually?
return true;
}
return false;
}