mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-11-15 17:21:34 +00:00
Address toast review
- Re-add highlighting to the header text, and shift it back up slightly - Move the viewpoint loop break out of a while and into the main loop
This commit is contained in:
parent
e6fd41339a
commit
58b52adf7e
2 changed files with 20 additions and 17 deletions
27
src/g_game.c
27
src/g_game.c
|
@ -1826,12 +1826,26 @@ boolean G_Responder(event_t *ev)
|
||||||
if (displayplayer == MAXPLAYERS)
|
if (displayplayer == MAXPLAYERS)
|
||||||
displayplayer = 0;
|
displayplayer = 0;
|
||||||
|
|
||||||
|
if (displayplayer == consoleplayer)
|
||||||
|
break; // End loop
|
||||||
|
|
||||||
if (!playeringame[displayplayer])
|
if (!playeringame[displayplayer])
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
if (players[displayplayer].spectator)
|
if (players[displayplayer].spectator)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
// SRB2Kart: Only go through players who are actually playing
|
||||||
|
if (players[displayplayer].exiting)
|
||||||
|
continue;
|
||||||
|
|
||||||
|
// I don't know if we want this actually, but I'll humor the suggestion anyway
|
||||||
|
if (G_BattleGametype())
|
||||||
|
{
|
||||||
|
if (players[displayplayer].kartstuff[k_bumper] <= 0)
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
// SRB2Kart: we have no team-based modes, YET...
|
// SRB2Kart: we have no team-based modes, YET...
|
||||||
/*if (G_GametypeHasTeams())
|
/*if (G_GametypeHasTeams())
|
||||||
{
|
{
|
||||||
|
@ -1857,19 +1871,8 @@ boolean G_Responder(event_t *ev)
|
||||||
continue;
|
continue;
|
||||||
}*/
|
}*/
|
||||||
|
|
||||||
// SRB2Kart: Only go through players who are actually playing
|
|
||||||
if (players[displayplayer].exiting)
|
|
||||||
continue;
|
|
||||||
|
|
||||||
// I don't know if we want this actually, but I'll humor the suggestion anyway
|
|
||||||
if (G_BattleGametype())
|
|
||||||
{
|
|
||||||
if (players[displayplayer].kartstuff[k_bumper] <= 0)
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
|
|
||||||
break;
|
break;
|
||||||
} while (displayplayer != consoleplayer);
|
}
|
||||||
|
|
||||||
// change statusbar also if playing back demo
|
// change statusbar also if playing back demo
|
||||||
if (singledemo)
|
if (singledemo)
|
||||||
|
|
10
src/m_menu.c
10
src/m_menu.c
|
@ -8588,11 +8588,11 @@ static void M_DrawControl(void)
|
||||||
// draw title (or big pic)
|
// draw title (or big pic)
|
||||||
M_DrawMenuTitle();
|
M_DrawMenuTitle();
|
||||||
|
|
||||||
M_CentreText(30,
|
M_CentreText(28,
|
||||||
(setupcontrols_fourthplayer ? "Set controls for Player 4" :
|
(setupcontrols_fourthplayer ? "\x86""Set controls for ""\x82""Player 4" :
|
||||||
(setupcontrols_thirdplayer ? "Set controls for Player 3" :
|
(setupcontrols_thirdplayer ? "\x86""Set controls for ""\x82""Player 3" :
|
||||||
(setupcontrols_secondaryplayer ? "Set controls for Player 2" :
|
(setupcontrols_secondaryplayer ? "\x86""Set controls for ""\x82""Player 2" :
|
||||||
"Press ENTER to change, BACKSPACE to clear"))));
|
"\x86""Press ""\x82""ENTER""\x86"" to change, ""\x82""BACKSPACE""\x86"" to clear"))));
|
||||||
|
|
||||||
if (i)
|
if (i)
|
||||||
V_DrawString(currentMenu->x - 16, y-(skullAnimCounter/5), highlightflags, "\x1A"); // up arrow
|
V_DrawString(currentMenu->x - 16, y-(skullAnimCounter/5), highlightflags, "\x1A"); // up arrow
|
||||||
|
|
Loading…
Reference in a new issue