2012-08-04 10:54:37 +00:00
|
|
|
// Copyright (C) 1999-2000 Id Software, Inc.
|
2012-01-22 21:34:33 +00:00
|
|
|
//
|
|
|
|
|
|
|
|
#include "g_local.h"
|
|
|
|
|
|
|
|
const char *TeamName(int team) {
|
2012-11-15 22:43:56 +00:00
|
|
|
if (team==TEAM_SPECTATOR)
|
2012-01-22 21:34:33 +00:00
|
|
|
return "SPECTATOR";
|
|
|
|
return "FREE";
|
|
|
|
}
|
|
|
|
|
2012-08-04 10:54:37 +00:00
|
|
|
const char *OtherTeamName(int team) {
|
2012-11-15 22:43:56 +00:00
|
|
|
if (team==TEAM_SPECTATOR)
|
2012-08-04 10:54:37 +00:00
|
|
|
return "SPECTATOR";
|
|
|
|
return "FREE";
|
|
|
|
}
|
|
|
|
|
2012-01-22 21:34:33 +00:00
|
|
|
const char *TeamColorString(int team) {
|
2012-11-15 22:43:56 +00:00
|
|
|
if (team==TEAM_SPECTATOR)
|
2012-01-22 21:34:33 +00:00
|
|
|
return S_COLOR_YELLOW;
|
|
|
|
return S_COLOR_WHITE;
|
|
|
|
}
|
|
|
|
|
|
|
|
/*---------------------------------------------------------------------------*/
|
2012-08-04 10:54:37 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
2012-01-22 21:34:33 +00:00
|
|
|
|
|
|
|
|
|
|
|
|