rpgxef/code/game/g_team.c
2012-11-16 00:02:59 +01:00

30 lines
483 B
C

// Copyright (C) 1999-2000 Id Software, Inc.
//
#include "g_local.h"
const char *TeamName(int team) {
if (team==TEAM_SPECTATOR)
return "SPECTATOR";
return "FREE";
}
const char *OtherTeamName(int team) {
if (team==TEAM_SPECTATOR)
return "SPECTATOR";
return "FREE";
}
const char *TeamColorString(int team) {
if (team==TEAM_SPECTATOR)
return S_COLOR_YELLOW;
return S_COLOR_WHITE;
}
/*---------------------------------------------------------------------------*/