Home
last modified time | relevance | path

Searched refs:TEAM_FIRST (Results 1 – 6 of 6) sorted by relevance

/dports/games/bloodfrontier/bloodfrontier/src/game/
H A Dstfmode.h144 int steam = i+TEAM_FIRST; in endcheck()
H A Dserver.cpp735 …e.aitype <= AI_BOT && clients[i]->team >= TEAM_FIRST && isteam(gamemode, mutators, clients[i]->tea… in checklimits()
736 teamscores[clients[i]->team-TEAM_FIRST] += clients[i]->state.frags; in checklimits()
889 if(!k && !isteam(gamemode, mutators, sents[i].attrs[0], TEAM_FIRST)) continue; in setupspawns()
897 loopi(numt) if(spawns[i+TEAM_FIRST].ents.empty()) in setupspawns()
1457 …int team = isteam(gamemode, mutators, suggest, TEAM_FIRST) ? suggest : -1, balance = GVAR(teambala… in chooseteam()
1473 teamscore &ts = teamscores[cp->team-TEAM_FIRST]; in chooseteam()
2632 if(doteam && (doteam == 2 || !isteam(gamemode, mutators, ci->team, TEAM_FIRST))) in waiting()
3548 …EDITING) && team != TEAM_NEUTRAL) || !isteam(gamemode, mutators, team, TEAM_FIRST) || ci->state.ai… in parsepacket()
3751 …SPECTATOR || cp->state.state == CS_EDITING || !isteam(gamemode, mutators, team, TEAM_FIRST)) break; in parsepacket()
H A Dctf.cpp32 … loopi(numteams(game::gamemode, game::mutators)+TEAM_FIRST) loadmodel(teamtype[i].flag, -1, true); in preload()
305 …&& isteam(game::gamemode, game::mutators, entities::ents[i]->attrs[0], TEAM_FIRST)) // not linked … in setupflags()
311 loopvj(st.flags) if(st.flags[j].team == i+TEAM_FIRST) { found = true; break; } in setupflags()
H A Dclient.cpp82 if((t && t == i+TEAM_FIRST) || !strcasecmp(teamtype[i+TEAM_FIRST].name, team)) in teamname()
84 return i+TEAM_FIRST; in teamname()
88 return TEAM_FIRST; in teamname()
H A Dentities.cpp42 if(valteam(attr[0], TEAM_FIRST)) in entinfo()
1632 if(valteam(e.attrs[1], TEAM_FIRST)) teams[e.attrs[1]-TEAM_FIRST]++; in importentities()
1716 e.attrs[1] = lowest+TEAM_FIRST; in importentities()
H A Dgame.h514 TEAM_FIRST = TEAM_ALPHA, TEAM_LAST = TEAM_DELTA, TEAM_NUM = TEAM_LAST-(TEAM_FIRST-1) enumerator