mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-02-03 15:01:06 +00:00
Make some minor tweaks to the two server setup menus (splitscreen and not-splitscreen).
I wouldn't have done this, but I was already in the code to fix the bugs, so I hit something that was bugging me[/sonic adventure voice] as well
This commit is contained in:
parent
7f066fbf60
commit
c895f45d96
1 changed files with 13 additions and 11 deletions
24
src/m_menu.c
24
src/m_menu.c
|
@ -929,12 +929,13 @@ static menuitem_t MP_MainMenu[] =
|
||||||
|
|
||||||
static menuitem_t MP_ServerMenu[] =
|
static menuitem_t MP_ServerMenu[] =
|
||||||
{
|
{
|
||||||
{IT_STRING|IT_CVAR, NULL, "Game Type", &cv_newgametype, 10},
|
{IT_STRING|IT_CVAR, NULL, "Max. Player Count", &cv_maxplayers, 10},
|
||||||
#ifndef NONET
|
#ifndef NONET
|
||||||
{IT_STRING|IT_CALL, NULL, "Room...", M_RoomMenu, 20},
|
{IT_STRING|IT_CALL, NULL, "Room...", M_RoomMenu, 20},
|
||||||
{IT_STRING|IT_CVAR|IT_CV_STRING, NULL, "Server Name", &cv_servername, 30},
|
{IT_STRING|IT_CVAR|IT_CV_STRING, NULL, "Server Name", &cv_servername, 30},
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
{IT_STRING|IT_CVAR, NULL, "Game Type", &cv_newgametype, 68},
|
||||||
{IT_STRING|IT_CVAR, NULL, "Level", &cv_nextmap, 78},
|
{IT_STRING|IT_CVAR, NULL, "Level", &cv_nextmap, 78},
|
||||||
|
|
||||||
{IT_WHITESTRING|IT_CALL, NULL, "Start", M_StartServer, 130},
|
{IT_WHITESTRING|IT_CALL, NULL, "Start", M_StartServer, 130},
|
||||||
|
@ -943,19 +944,20 @@ static menuitem_t MP_ServerMenu[] =
|
||||||
// Separated splitscreen and normal servers.
|
// Separated splitscreen and normal servers.
|
||||||
static menuitem_t MP_SplitServerMenu[] =
|
static menuitem_t MP_SplitServerMenu[] =
|
||||||
{
|
{
|
||||||
{IT_STRING|IT_CVAR, NULL, "Game Type", &cv_newgametype, 10},
|
|
||||||
#ifndef NOFOURPLAYER
|
#ifndef NOFOURPLAYER
|
||||||
{IT_STRING|IT_CVAR, NULL, "Number of players", &cv_dummysplitplayers, 20},
|
{IT_STRING|IT_CVAR, NULL, "Number of players", &cv_dummysplitplayers, 10},
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
{IT_STRING|IT_CVAR, NULL, "Game Type", &cv_newgametype, 68},
|
||||||
{IT_STRING|IT_CVAR, NULL, "Level", &cv_nextmap, 78},
|
{IT_STRING|IT_CVAR, NULL, "Level", &cv_nextmap, 78},
|
||||||
#ifdef NOFOURPLAYER
|
#ifdef NOFOURPLAYER
|
||||||
{IT_STRING|IT_CALL, NULL, "P1 Setup...", M_SetupMultiPlayer, 108},
|
{IT_STRING|IT_CALL, NULL, "P1 Setup...", M_SetupMultiPlayer, 110},
|
||||||
{IT_STRING|IT_CALL, NULL, "P2 Setup... ", M_SetupMultiPlayer2, 118},
|
{IT_STRING|IT_CALL, NULL, "P2 Setup... ", M_SetupMultiPlayer2, 120},
|
||||||
#else
|
#else
|
||||||
{IT_STRING|IT_CALL, NULL, "P1 Setup...", M_SetupMultiPlayer, 88},
|
{IT_STRING|IT_CALL, NULL, "P1 Setup...", M_SetupMultiPlayer, 90},
|
||||||
{IT_STRING|IT_CALL, NULL, "P2 Setup... ", M_SetupMultiPlayer2, 98},
|
{IT_STRING|IT_CALL, NULL, "P2 Setup... ", M_SetupMultiPlayer2, 100},
|
||||||
{IT_GRAYEDOUT, NULL, "P3 Setup...", M_SetupMultiPlayer3, 108},
|
{IT_GRAYEDOUT, NULL, "P3 Setup...", M_SetupMultiPlayer3, 110},
|
||||||
{IT_GRAYEDOUT, NULL, "P4 Setup... ", M_SetupMultiPlayer4, 118},
|
{IT_GRAYEDOUT, NULL, "P4 Setup... ", M_SetupMultiPlayer4, 120},
|
||||||
#endif
|
#endif
|
||||||
{IT_WHITESTRING|IT_CALL, NULL, "Start", M_StartServer, 130},
|
{IT_WHITESTRING|IT_CALL, NULL, "Start", M_StartServer, 130},
|
||||||
};
|
};
|
||||||
|
@ -1474,7 +1476,7 @@ static menuitem_t OP_ServerOptionsMenu[] =
|
||||||
{IT_STRING | IT_CVAR, NULL, "Voting Timer", &cv_votetime, 60},
|
{IT_STRING | IT_CVAR, NULL, "Voting Timer", &cv_votetime, 60},
|
||||||
|
|
||||||
#ifndef NONET
|
#ifndef NONET
|
||||||
{IT_STRING | IT_CVAR, NULL, "Max Player Count", &cv_maxplayers, 80},
|
{IT_STRING | IT_CVAR, NULL, "Max. Player Count", &cv_maxplayers, 80},
|
||||||
{IT_STRING | IT_CVAR, NULL, "Allow Players to Join", &cv_allownewplayer, 90},
|
{IT_STRING | IT_CVAR, NULL, "Allow Players to Join", &cv_allownewplayer, 90},
|
||||||
//{IT_STRING | IT_CVAR, NULL, "Join on Map Change", &cv_joinnextround, 100},
|
//{IT_STRING | IT_CVAR, NULL, "Join on Map Change", &cv_joinnextround, 100},
|
||||||
|
|
||||||
|
@ -6872,7 +6874,7 @@ static void M_DrawServerMenu(void)
|
||||||
3*
|
3*
|
||||||
#endif
|
#endif
|
||||||
incrwidth;
|
incrwidth;
|
||||||
INT32 x = BASEVIDWIDTH/2 - paw/2, y = currentMenu->y + 32, trans = 0;
|
INT32 x = BASEVIDWIDTH/2 - paw/2, y = currentMenu->y + 27, trans = 0;
|
||||||
patch_t *face;
|
patch_t *face;
|
||||||
|
|
||||||
while (++i <=
|
while (++i <=
|
||||||
|
|
Loading…
Reference in a new issue