Searched refs:activeTeam (Results 1 – 12 of 12) sorted by relevance
80 const int activeTeam = level.activeTeam; in G_CheckForceEndRound() local84 if (p->getTeam() == activeTeam) { in G_CheckForceEndRound()158 level.activeTeam = TEAM_NO_ACTIVE; in G_GetNextActiveTeam()165 level.activeTeam = team; in G_GetNextActiveTeam()256 G_BleedWounds(level.activeTeam); in G_ClientEndRound()259 G_UpdateStunState(level.activeTeam); in G_ClientEndRound()262 G_GiveTimeUnits(level.activeTeam); in G_ClientEndRound()265 G_ReactionFireReset(level.activeTeam); in G_ClientEndRound()267 G_MoraleBehaviour(level.activeTeam); in G_ClientEndRound()269 G_UpdateCarriedWeight(level.activeTeam); in G_ClientEndRound()[all …]
330 return level.activeTeam; in G_GetActiveTeam()384 if (level.activeTeam != player.getTeam()) { in G_ActionCheckForCurrentTeam()931 level.activeTeam = player.getTeam(); in G_GetStartingTeam()932 level.teamOfs = MAX_TEAMS - level.activeTeam; in G_GetStartingTeam()954 level.activeTeam = knownTeams[teamIndex]; in G_GetStartingTeam()955 level.teamOfs = MAX_TEAMS - level.activeTeam; in G_GetStartingTeam()958 if (p->getTeam() != level.activeTeam) in G_GetStartingTeam()1372 G_EventReset(player, level.activeTeam); in G_ClientStartMatch()1494 if (level.activeTeam == player.getTeam()) in G_ClientDisconnect()
314 const int timeGap = (level.activeTeam == TEAM_ALIEN ? 10.0 : 3.0); in G_MatchEndCheck()329 return (level.activeTeam != TEAM_NO_ACTIVE); in G_MatchIsRunning()
405 gi.WriteByte(level.activeTeam); in G_EventEndRound()657 void G_EventReset (const Player &player, int activeTeam) in G_EventReset() argument661 gi.WriteByte(activeTeam); in G_EventReset()
69 void G_EventReset(const Player &player, int activeTeam);
190 const int currentIndex = (level.activeTeam + level.teamOfs) % MAX_TEAMS; in G_MissionThink()
353 level.activeTeam = TEAM_NO_ACTIVE; in G_SpawnEntities()431 const int currentIndex = (level.activeTeam + level.teamOfs) % MAX_TEAMS; in Think_SmokeAndFire()1046 ent->team = level.activeTeam; in G_SpawnField()
99 int activeTeam; member
591 if (G_MatchIsRunning() && ent->team != level.activeTeam) in G_ReactionFireCanBeEnabled()652 if (shooter->team == level.activeTeam) in isEnemy()
726 if (player.getTeam() != level.activeTeam && G_TeamPointVis(i, newPos)) in G_ShootGrenade()
1450 if (level.activeTeam != player.getTeam() || player.roundDone) in AI_PlayerRun()
208 level.activeTeam = TEAM_ALIEN; in testInventoryForDiedAlien()273 level.activeTeam = TEAM_ALIEN; in testInventoryWithTwoDiedAliensOnTheSameGridTile()350 level.activeTeam = TEAM_ALIEN; in testInventoryTempContainerLinks()