mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Use kThinTimer font for Tally GP success/game over
This commit is contained in:
parent
f442f933fc
commit
c19f11d75e
1 changed files with 11 additions and 9 deletions
|
|
@ -1051,8 +1051,9 @@ void level_tally_t::Draw(void)
|
||||||
if (lives_num > 0)
|
if (lives_num > 0)
|
||||||
{
|
{
|
||||||
lives_drawer
|
lives_drawer
|
||||||
.xy(17.0, 4.0)
|
.xy(19.0, 1.0)
|
||||||
.patch( va("OPPRNK%02d", lives_num) );
|
.font(srb2::Draw::Font::kThinTimer)
|
||||||
|
.text("{}", lives_num);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -1256,7 +1257,7 @@ void level_tally_t::Draw(void)
|
||||||
|
|
||||||
const skincolornum_t color = static_cast<skincolornum_t>(owner->skincolor);
|
const skincolornum_t color = static_cast<skincolornum_t>(owner->skincolor);
|
||||||
lives_drawer
|
lives_drawer
|
||||||
.x(r_splitscreen ? -7.0 : 0.0)
|
.x(r_splitscreen ? -7.0 : -2.0)
|
||||||
.colormap(owner->skin, color)
|
.colormap(owner->skin, color)
|
||||||
.patch(faceprefix[owner->skin][r_splitscreen ? FACE_MINIMAP : FACE_RANK]);
|
.patch(faceprefix[owner->skin][r_splitscreen ? FACE_MINIMAP : FACE_RANK]);
|
||||||
|
|
||||||
|
|
@ -1270,17 +1271,18 @@ void level_tally_t::Draw(void)
|
||||||
{
|
{
|
||||||
if (r_splitscreen)
|
if (r_splitscreen)
|
||||||
{
|
{
|
||||||
lives_drawer
|
lives_drawer = lives_drawer
|
||||||
.xy(6.0, 2.0)
|
.xy(6.0, 2.0)
|
||||||
.align(srb2::Draw::Align::kLeft)
|
.align(srb2::Draw::Align::kLeft);
|
||||||
.text(va("%d", lives_num));
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
lives_drawer
|
lives_drawer = lives_drawer
|
||||||
.xy(17.0, 4.0)
|
.xy(17.0, 1.0)
|
||||||
.patch( va("OPPRNK%02d", lives_num) );
|
.font(srb2::Draw::Font::kThinTimer);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
lives_drawer.text("{}", lives_num);
|
||||||
}
|
}
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue