note: team_isactive and team_base can/should be used to check the limits for arrays of size '2'
| 111 | #define team_tospec(t) ((t) == TEAM_SPECT ? TEAM_SPECT : team_base(t) + TEAM_CLA_SPECT - TEAM_CLA) |
| 112 | // note: team_isactive and team_base can/should be used to check the limits for arrays of size '2' |
| 113 | static inline const char *team_string(int t, bool abbr = false) { const char **n = abbr ? teamnames_s : teamnames; return team_isvalid(t) ? n[t] : n[TEAM_NUM + 1]; } |
| 114 | |
| 115 | enum { ENT_PLAYER = 0, ENT_BOT, ENT_CAMERA, ENT_BOUNCE }; |
| 116 | enum { CS_ALIVE = 0, CS_DEAD, CS_SPAWNING, CS_LAGGED, CS_EDITING, CS_SPECTATE }; |
no outgoing calls
no test coverage detected