Home
last modified time | relevance | path

Searched refs:ActiveTeams (Results 1 – 25 of 26) sorted by relevance

12

/dports/games/spring/spring_98.0/rts/Sim/Misc/
H A DTeamHandler.h104 int ActiveTeams() const { return teams.size(); } in ActiveTeams() function
108 return ((id >= 0) && (id < ActiveTeams())); in IsValidTeam()
H A DTeamHandler.cpp98 for (int a = 0; a < ActiveTeams(); ++a) { in GameFrame()
101 for (int a = 0; a < ActiveTeams(); ++a) { in GameFrame()
113 for (unsigned int teamNum = 0; teamNum < teamHandler->ActiveTeams(); teamNum++) { in GetNumTeamsInAllyTeam()
H A DTeam.cpp131 startPos.x = (teamNum - teamHandler->ActiveTeams()) * 4 * SQUARE_SIZE + xcenter; in SetDefaultStartPos()
132 startPos.z = (teamNum - teamHandler->ActiveTeams()) * 4 * SQUARE_SIZE + zcenter; in SetDefaultStartPos()
309 for (int a = 0; a < teamHandler->ActiveTeams(); ++a) { in SlowUpdate()
340 for (int a = 0; a < teamHandler->ActiveTeams(); ++a) { in SlowUpdate()
/dports/games/spring/spring_98.0/rts/Rendering/
H A DTeamHighlight.cpp24 for (int i = 0; i < teamHandler->ActiveTeams(); ++i) { in Enable()
58 for (int ti = 0; ti < teamHandler->ActiveTeams(); ++ti) { in Update()
H A DDebugDrawerAI.cpp17 graphs.resize(teamHandler->ActiveTeams(), Graph(GRAPH_MIN_SCALE, GRAPH_MAX_SCALE)); in DebugDrawerAI()
18 texsets.resize(teamHandler->ActiveTeams(), TexSet()); in DebugDrawerAI()
/dports/games/openmortal/openmortal-0.7/data/script/
H A DBackend.pl173 …$ActiveTeams = $numplayers; # Number of teams not in the Win2 / Dead states or have more team mem…
234 $ActiveTeams = 10000; # Make sure we don't trigger an accidental 'Won' event...
615 if ( $ActiveTeams <= 1 )
673 if ( $OverTimer == 0 and $ActiveTeams <= 0 )
H A DFighter.pl559 $::ko = 1 if $self->{TEAMSIZE} <= 1 and $::ActiveTeams <= 2;
781 --$::ActiveTeams if $self->{TEAMSIZE}<=1 or $nextst eq 'Won2';
/dports/games/spring/spring_98.0/rts/Game/UI/
H A DShareBox.cpp20 #define MAX_SHARE_TEAMS (teamHandler->ActiveTeams() - 1)
95 if (shareTeam >= teamHandler->ActiveTeams()) { in CShareBox()
343 if (team < teamHandler->ActiveTeams() && !teamHandler->Team(team)->isDead) { in MousePress()
415 if (team < teamHandler->ActiveTeams() && !teamHandler->Team(team)->isDead) { in MouseMove()
H A DQuitBox.cpp25 #define MAX_QUIT_TEAMS (teamHandler->ActiveTeams() - 1)
86 for(int team=0;team<teamHandler->ActiveTeams();++team){ in CQuitBox()
H A DEndGameBox.cpp401 for (int team = 0; team < teamHandler->ActiveTeams(); team++) { in Draw()
507 for (int team = 0; team < teamHandler->ActiveTeams(); team++) { in FillTeamStats()
/dports/games/spring/spring_98.0/rts/Sim/Units/
H A DUnitHandler.cpp64 for (unsigned int n = 0; n < teamHandler->ActiveTeams(); n++) { in CUnitHandler()
69 …unitsByDefs.resize(teamHandler->ActiveTeams(), std::vector<CUnitSet>(unitDefHandler->unitDefs.size… in CUnitHandler()
/dports/games/spring/spring_98.0/rts/System/Sync/
H A DDumpState.cpp231 file << "\tteams: " << teamHandler->ActiveTeams() << "\n"; in DumpState()
234 for (int a = 0; a < teamHandler->ActiveTeams(); ++a) { in DumpState()
/dports/games/spring/spring_98.0/rts/Game/
H A DGame.cpp425 for (int t = 0; t < teamHandler->ActiveTeams(); ++t) { in ~CGame()
686 CCobInstance::InitVars(teamHandler->ActiveTeams(), teamHandler->ActiveAllyTeams()); in PostLoadSimulation()
797 for (int t = 0; t < teamHandler->ActiveTeams(); ++t) { in LoadInterface()
1483 for (int a = 0; a < teamHandler->ActiveTeams(); ++a) { in StartPlaying()
1648 const int numTeams = teamHandler->ActiveTeams() - int(gs->useLuaGaia); in GameEnd()
1914 for (int t = 0; t < teamHandler->ActiveTeams(); ++t) { in ReColorTeams()
H A DSyncedGameCommands.cpp435 for (int a = 0; a < teamHandler->ActiveTeams(); ++a) { in Execute()
H A DSelectedUnitsHandler.cpp263 lastTeam = teamHandler->ActiveTeams() - 1; in HandleUnitBoxSelection()
316 lastTeam = teamHandler->ActiveTeams() - 1; in HandleSingleUnitClickSelection()
/dports/games/spring/spring_98.0/rts/Game/Players/
H A DPlayer.cpp59 for (int t = 0; t < teamHandler->ActiveTeams(); t++) { in SetControlledTeams()
/dports/games/spring/spring_98.0/rts/Sim/Path/QTPFS/
H A DPathManager.cpp188 numCurrExecutedSearches.resize(teamHandler->ActiveTeams() + 1, 0); in Load()
189 numPrevExecutedSearches.resize(teamHandler->ActiveTeams() + 1, 0); in Load()
912 newSearch->SetTeam(teamHandler->ActiveTeams()); in QueueSearch()
925 newSearch->SetTeam((object != NULL)? object->team: teamHandler->ActiveTeams()); in QueueSearch()
/dports/games/spring/spring_98.0/rts/System/LoadSave/
H A DCregLoadSaveHandler.cpp93 for (int a=0; a < teamHandler->ActiveTeams(); a++) { in Serialize()
/dports/games/spring/spring_98.0/rts/ExternalAI/
H A DSAIInterfaceCallbackImpl.cpp132 return teamHandler->ActiveTeams(); in aiInterfaceCallback_Teams_getSize()
H A DAICallback.cpp1799 for (int t = 0; t < teamHandler->ActiveTeams(); ++t) { in GetMapPoints()
1826 for (int t = 0; t < teamHandler->ActiveTeams(); ++t) { in GetMapLines()
H A DSSkirmishAICallbackImpl.cpp153 return (teamId < teamHandler->ActiveTeams()) ? teamHandler->Team(teamId) : NULL; in getTeam()
950 return teamHandler->ActiveTeams(); in skirmishAiCallback_Teams_getSize()
1228 return teamHandler->ActiveTeams(); in skirmishAiCallback_Game_getTeams()
3789 for (int i = 0; i < teamHandler->ActiveTeams() && a < teamIds_sizeMax; i++) { in skirmishAiCallback_getEnemyTeams()
3795 for (int i = 0; i < teamHandler->ActiveTeams(); i++) { in skirmishAiCallback_getEnemyTeams()
3811 for (int i = 0; i < teamHandler->ActiveTeams() && a < teamIds_sizeMax; i++) { in skirmishAiCallback_getAllyTeams()
3817 for (int i = 0; i < teamHandler->ActiveTeams(); i++) { in skirmishAiCallback_getAllyTeams()
/dports/games/spring/spring_98.0/rts/Lua/
H A DLuaHandleSynced.cpp1442 if ((teamID < CEventClient::MinSpecialTeam) || (teamID >= teamHandler->ActiveTeams())) { in CallAsTeam()
1463 if ((teamID < CEventClient::MinSpecialTeam) || (teamID >= teamHandler->ActiveTeams())) { in CallAsTeam()
H A DLuaUnsyncedRead.cpp785 for (int t = 0; t < teamHandler->ActiveTeams(); t++) { in GetVisibleUnits()
1508 if ((teamID < 0) || (teamID >= teamHandler->ActiveTeams())) { in GetTeamColor()
1528 if ((teamID < 0) || (teamID >= teamHandler->ActiveTeams())) { in GetTeamOrigColor()
H A DLuaSyncedRead.cpp1078 for (int t = 0; t < teamHandler->ActiveTeams(); t++) { in GetTeamList()
1110 if (teamID >= teamHandler->ActiveTeams()) { in GetPlayerList()
2044 } else if (teamID >= teamHandler->ActiveTeams()) { in ParseAllegiance()
2292 endTeam = teamHandler->ActiveTeams() - 1; in GetUnitsInPlanes()
/dports/games/spring/spring_98.0/rts/Net/
H A DNetCommands.cpp992 for (size_t t = 0; t < teamHandler->ActiveTeams(); ++t) { in ClientReadNet()

12