mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 12:31:54 +00:00
Character Select: add button prompts for info and default buttons
This commit is contained in:
parent
b772a66541
commit
28f1fc7175
1 changed files with 15 additions and 0 deletions
|
|
@ -2090,6 +2090,8 @@ static void M_DrawProfileCard(INT32 x, INT32 y, boolean greyedout, profile_t *p)
|
||||||
|
|
||||||
void M_DrawCharacterSelect(void)
|
void M_DrawCharacterSelect(void)
|
||||||
{
|
{
|
||||||
|
const UINT8 pid = 0;
|
||||||
|
|
||||||
UINT8 i, j, k;
|
UINT8 i, j, k;
|
||||||
UINT8 priority = 0;
|
UINT8 priority = 0;
|
||||||
INT16 quadx, quady;
|
INT16 quadx, quady;
|
||||||
|
|
@ -2102,6 +2104,19 @@ void M_DrawCharacterSelect(void)
|
||||||
priority = setup_animcounter % setup_numplayers;
|
priority = setup_animcounter % setup_numplayers;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
const int kLeft = 80;
|
||||||
|
const int kTop = 6;
|
||||||
|
const int kButtonWidth = 16;
|
||||||
|
INT32 x = basex + kLeft;
|
||||||
|
|
||||||
|
K_drawButton((x += 18) * FRACUNIT, (kTop - 3) * FRACUNIT, 0, kp_button_r, M_MenuButtonPressed(pid, MBT_R));
|
||||||
|
V_DrawThinString((x += kButtonWidth), kTop, 0, "Info");
|
||||||
|
|
||||||
|
K_drawButton((x += 58) * FRACUNIT, (kTop - 1) * FRACUNIT, 0, kp_button_c[1], M_MenuButtonPressed(pid, MBT_C));
|
||||||
|
V_DrawThinString((x += kButtonWidth), kTop, 0, "Default");
|
||||||
|
}
|
||||||
|
|
||||||
// We have to loop twice -- first time to draw the drop shadows, a second time to draw the icons.
|
// We have to loop twice -- first time to draw the drop shadows, a second time to draw the icons.
|
||||||
if (forceskin == false)
|
if (forceskin == false)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue