mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
HUD: lives counter uses same font as rings
This commit is contained in:
parent
1da7a5c1da
commit
b058098f38
1 changed files with 9 additions and 6 deletions
|
|
@ -3079,10 +3079,12 @@ static void K_drawRingCounter(boolean gametypeinfoshown)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Rings
|
// Rings
|
||||||
if (!uselives)
|
using srb2::Draw;
|
||||||
V_DrawScaledPatch(LAPS_X, fy, V_HUDTRANS|V_SLIDEIN|splitflags, kp_ringsticker[1]);
|
Draw(LAPS_X+7, fy+1)
|
||||||
else
|
.flags(V_HUDTRANS|V_SLIDEIN|splitflags)
|
||||||
V_DrawScaledPatch(LAPS_X, fy, V_HUDTRANS|V_SLIDEIN|splitflags, kp_ringsticker[0]);
|
.align(Draw::Align::kCenter)
|
||||||
|
.width(uselives ? (stplyr->lives >= 10 ? 70 : 64) : 33)
|
||||||
|
.small_sticker();
|
||||||
|
|
||||||
V_DrawMappedPatch(LAPS_X+ringx+7, fy-5, V_HUDTRANS|V_SLIDEIN|splitflags|ringflip, kp_ring[ringanim_realframe], (colorring ? ringmap : NULL));
|
V_DrawMappedPatch(LAPS_X+ringx+7, fy-5, V_HUDTRANS|V_SLIDEIN|splitflags|ringflip, kp_ring[ringanim_realframe], (colorring ? ringmap : NULL));
|
||||||
|
|
||||||
|
|
@ -3122,8 +3124,9 @@ static void K_drawRingCounter(boolean gametypeinfoshown)
|
||||||
if (livescount > 10)
|
if (livescount > 10)
|
||||||
livescount = 10;
|
livescount = 10;
|
||||||
}
|
}
|
||||||
//K_DrawLivesDigits -- not using this because it messed with the FENG SHUI
|
using srb2::Draw;
|
||||||
V_DrawScaledPatch(LAPS_X+63, fy, V_HUDTRANS|V_SLIDEIN|splitflags, kp_facenum[livescount]);
|
Draw row = Draw(LAPS_X+65, fy-4).flags(V_HUDTRANS|V_SLIDEIN|splitflags).font(Draw::Font::kThinTimer);
|
||||||
|
row.text("{}", livescount);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue