mirror of
https://github.com/UberGames/rpgxEF.git
synced 2025-02-24 13:01:10 +00:00
- Fixed all errors that occured due to using c++ compiler - changed c++ standart to c++17 - removed lua, added library instead - made all bg_* and q_* file into a shared item project
30 lines
483 B
C++
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;
|
|
}
|
|
|
|
/*---------------------------------------------------------------------------*/
|
|
|
|
|
|
|
|
|
|
|
|
|