/dports/games/spring/spring_98.0/rts/Sim/Misc/ |
H A D | TeamHandler.h | 104 int ActiveTeams() const { return teams.size(); } in ActiveTeams() function 108 return ((id >= 0) && (id < ActiveTeams())); in IsValidTeam()
|
H A D | TeamHandler.cpp | 98 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 D | Team.cpp | 131 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 D | TeamHighlight.cpp | 24 for (int i = 0; i < teamHandler->ActiveTeams(); ++i) { in Enable() 58 for (int ti = 0; ti < teamHandler->ActiveTeams(); ++ti) { in Update()
|
H A D | DebugDrawerAI.cpp | 17 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 D | Backend.pl | 173 …$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 D | Fighter.pl | 559 $::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 D | ShareBox.cpp | 20 #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 D | QuitBox.cpp | 25 #define MAX_QUIT_TEAMS (teamHandler->ActiveTeams() - 1) 86 for(int team=0;team<teamHandler->ActiveTeams();++team){ in CQuitBox()
|
H A D | EndGameBox.cpp | 401 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 D | UnitHandler.cpp | 64 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 D | DumpState.cpp | 231 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 D | Game.cpp | 425 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 D | SyncedGameCommands.cpp | 435 for (int a = 0; a < teamHandler->ActiveTeams(); ++a) { in Execute()
|
H A D | SelectedUnitsHandler.cpp | 263 lastTeam = teamHandler->ActiveTeams() - 1; in HandleUnitBoxSelection() 316 lastTeam = teamHandler->ActiveTeams() - 1; in HandleSingleUnitClickSelection()
|
/dports/games/spring/spring_98.0/rts/Game/Players/ |
H A D | Player.cpp | 59 for (int t = 0; t < teamHandler->ActiveTeams(); t++) { in SetControlledTeams()
|
/dports/games/spring/spring_98.0/rts/Sim/Path/QTPFS/ |
H A D | PathManager.cpp | 188 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 D | CregLoadSaveHandler.cpp | 93 for (int a=0; a < teamHandler->ActiveTeams(); a++) { in Serialize()
|
/dports/games/spring/spring_98.0/rts/ExternalAI/ |
H A D | SAIInterfaceCallbackImpl.cpp | 132 return teamHandler->ActiveTeams(); in aiInterfaceCallback_Teams_getSize()
|
H A D | AICallback.cpp | 1799 for (int t = 0; t < teamHandler->ActiveTeams(); ++t) { in GetMapPoints() 1826 for (int t = 0; t < teamHandler->ActiveTeams(); ++t) { in GetMapLines()
|
H A D | SSkirmishAICallbackImpl.cpp | 153 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 D | LuaHandleSynced.cpp | 1442 if ((teamID < CEventClient::MinSpecialTeam) || (teamID >= teamHandler->ActiveTeams())) { in CallAsTeam() 1463 if ((teamID < CEventClient::MinSpecialTeam) || (teamID >= teamHandler->ActiveTeams())) { in CallAsTeam()
|
H A D | LuaUnsyncedRead.cpp | 785 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 D | LuaSyncedRead.cpp | 1078 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 D | NetCommands.cpp | 992 for (size_t t = 0; t < teamHandler->ActiveTeams(); ++t) { in ClientReadNet()
|