void DrawMainMenu()
{
int i;
+ char *name_text = (!options.network && setup.team_mode ? "Team:" : "Name:");
FadeSounds();
GetPlayerConfig();
ClearWindow();
DrawHeadline();
- DrawText(SX + 32, SY + 2*32, "Name:", FS_BIG, FC_GREEN);
+ DrawText(SX + 32, SY + 2*32, name_text, FS_BIG, FC_GREEN);
DrawText(SX + 6*32, SY + 2*32, setup.alias_name, FS_BIG, FC_RED);
DrawText(SX + 32, SY + 3*32, "Level:", FS_BIG, FC_GREEN);
DrawText(SX + 11*32, SY + 3*32, int2str(level_nr,3), FS_BIG,
game_status = EXITGAME;
}
- if (!button)
- redraw = TRUE;
+ redraw = TRUE;
}
}
BackToFront();
{ &setup.fading, "Fading:" },
{ &setup.quick_doors, "Quick Doors:" },
{ &setup.autorecord, "Auto-Record:" },
+ { &setup.team_mode, "Team-Mode:" },
{ NULL, "Input Devices" },
{ NULL, "" },
- { NULL, "" },
{ NULL, "Exit" },
{ NULL, "Save and exit" }
};
setup.autorecord = !setup.autorecord;
}
else if (y==13)
+ {
+ if (setup.team_mode)
+ DrawText(SX+14*32, SY+yy*32,"off",FS_BIG,FC_BLUE);
+ else
+ DrawText(SX+14*32, SY+yy*32,"on ",FS_BIG,FC_YELLOW);
+ setup.team_mode = !setup.team_mode;
+ }
+ else if (y==14)
{
game_status = SETUPINPUT;
DrawSetupInputScreen();