Home
last modified time | relevance | path

Searched refs:activeTeam (Results 1 – 12 of 12) sorted by relevance

/dports/games/ufoai/ufoai-2.5-source/src/game/
H A Dg_round.cpp80 const int activeTeam = level.activeTeam; in G_CheckForceEndRound() local
84 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 …]
H A Dg_client.cpp330 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()
H A Dg_match.cpp314 const int timeGap = (level.activeTeam == TEAM_ALIEN ? 10.0 : 3.0); in G_MatchEndCheck()
329 return (level.activeTeam != TEAM_NO_ACTIVE); in G_MatchIsRunning()
H A Dg_events.cpp405 gi.WriteByte(level.activeTeam); in G_EventEndRound()
657 void G_EventReset (const Player &player, int activeTeam) in G_EventReset() argument
661 gi.WriteByte(activeTeam); in G_EventReset()
H A Dg_events.h69 void G_EventReset(const Player &player, int activeTeam);
H A Dg_mission.cpp190 const int currentIndex = (level.activeTeam + level.teamOfs) % MAX_TEAMS; in G_MissionThink()
H A Dg_spawn.cpp353 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()
H A Dg_local.h99 int activeTeam; member
H A Dg_reaction.cpp591 if (G_MatchIsRunning() && ent->team != level.activeTeam) in G_ReactionFireCanBeEnabled()
652 if (shooter->team == level.activeTeam) in isEnemy()
H A Dg_combat.cpp726 if (player.getTeam() != level.activeTeam && G_TeamPointVis(i, newPos)) in G_ShootGrenade()
H A Dg_ai.cpp1450 if (level.activeTeam != player.getTeam() || player.roundDone) in AI_PlayerRun()
/dports/games/ufoai/ufoai-2.5-source/src/tests/
H A Dtest_game.cpp208 level.activeTeam = TEAM_ALIEN; in testInventoryForDiedAlien()
273 level.activeTeam = TEAM_ALIEN; in testInventoryWithTwoDiedAliensOnTheSameGridTile()
350 level.activeTeam = TEAM_ALIEN; in testInventoryTempContainerLinks()