/dports/games/spring/spring_98.0/rts/Sim/Misc/ |
H A D | TeamHandler.h | 107 bool IsValidTeam(int id) const { in IsValidTeam() function 111 return (IsValidTeam(id) && !teams[id]->isDead); in IsActiveTeam()
|
/dports/games/zdoom/zdoom-2.8.1/src/ |
H A D | d_netinfo.cpp | 195 …if (teamplay && TeamLibrary.IsValidTeam((team = info->GetTeam())) && !Teams[team].GetAllowCustomPl… in D_GetPlayerColor() 250 if (TeamLibrary.IsValidTeam(team)) in D_PickRandomTeam() 305 …2_NO_TEAM_SWITCH) && (alwaysapplydmflags || deathmatch) && TeamLibrary.IsValidTeam (info->GetTeam(… in UpdateTeam() 313 if (!TeamLibrary.IsValidTeam (team)) in UpdateTeam() 322 if (TeamLibrary.IsValidTeam (team)) in UpdateTeam() 334 if (!TeamLibrary.IsValidTeam (team)) in UpdateTeam() 343 if (!teamplay || !TeamLibrary.IsValidTeam(team)) in D_GetFragCount() 439 if (teamplay && !TeamLibrary.IsValidTeam(team)) in TeamChanged()
|
H A D | teaminfo.h | 49 bool IsValidTeam (unsigned int uiTeam);
|
H A D | teaminfo.cpp | 246 bool FTeam::IsValidTeam (unsigned int uiTeam) in IsValidTeam() function in FTeam
|
H A D | b_game.cpp | 293 if (TeamLibrary.IsValidTeam (thebot->lastteam)) in SpawnBot() 558 if (!TeamLibrary.IsValidTeam (teamnum)) in LoadBots()
|
H A D | hu_scores.cpp | 271 …if (playeringame[sortedplayers[i]-players] && TeamLibrary.IsValidTeam (sortedplayers[i]->userinfo.… in HU_DoDrawScores() 474 if (TeamLibrary.IsValidTeam (player->userinfo.GetTeam())) in HU_GetRowColor()
|
/dports/games/spring/spring_98.0/rts/Rendering/ |
H A D | UnitDrawerState.cpp | 219 assert(teamHandler->IsValidTeam(team)); in SetTeamColor() 301 assert(teamHandler->IsValidTeam(team)); in SetTeamColor() 454 assert(teamHandler->IsValidTeam(team)); in SetTeamColor()
|
H A D | UnitDrawer.cpp | 1191 if (teamHandler->IsValidTeam(team)) { in SetTeamColour() 1352 assert(teamHandler->IsValidTeam(team)); in DrawBuildingSample() 1418 assert(teamHandler->IsValidTeam(team)); in DrawUnitDef()
|
/dports/games/spring/spring_98.0/rts/Game/ |
H A D | GlobalUnsynced.cpp | 111 if (!teamHandler->IsValidTeam(myTeam)) { in SetMyPlayer()
|
H A D | PreGame.cpp | 460 if (!teamHandler->IsValidTeam(player->team)) { in GameDataReceived()
|
H A D | UnsyncedGameCommands.cpp | 1074 if (teamHandler->IsValidTeam(teamId)) { in Execute() 1111 if (!teamHandler->IsValidTeam(teamId)) in Execute()
|
/dports/games/spring/spring_98.0/rts/Net/ |
H A D | NetCommands.cpp | 421 if (!teamHandler->IsValidTeam(teamID)) { in ClientReadNet() 912 if (!teamHandler->IsValidTeam(team)) { in ClientReadNet() 949 if (!teamHandler->IsValidTeam(toTeam) || !teamHandler->IsValidTeam(giverTeam)) { in ClientReadNet() 1022 if (!teamHandler->IsValidTeam(newTeam)) { in ClientReadNet()
|
/dports/games/spring/spring_98.0/rts/Lua/ |
H A D | LuaSyncedCtrl.cpp | 431 if (!teamHandler->IsValidTeam(teamID)) { in ParseTeam() 594 if (!teamHandler->IsValidTeam(teamID)) in KillTeam() 618 if (!teamHandler->IsValidTeam(teamID)) in AssignPlayerToTeam() 661 if (!teamHandler->IsValidTeam(teamID)) { in AddTeamResource() 689 if (!teamHandler->IsValidTeam(teamID)) { in UseTeamResource() 752 if (!teamHandler->IsValidTeam(teamID)) { in SetTeamResource() 788 if (!teamHandler->IsValidTeam(teamID)) { in SetTeamShareLevel() 816 if (!teamHandler->IsValidTeam(teamID1)) { in ShareTeamResource() 828 if (!teamHandler->IsValidTeam(teamID2)) { in ShareTeamResource() 1137 if (!teamHandler->IsValidTeam(teamID)) { in CreateUnit() [all …]
|
H A D | LuaSyncedRead.cpp | 670 if (!teamHandler->IsValidTeam(teamID)) { in ParseTeam() 1139 if (!teamHandler->IsValidTeam(teamID)) { in GetTeamInfo() 1487 if (!teamHandler->IsValidTeam(teamId)) { in GetAIInfo() 1552 if (!teamHandler->IsValidTeam(teamId1) || in AreTeamsAllied() 1553 !teamHandler->IsValidTeam(teamId2)) { in AreTeamsAllied() 2708 if (teamHandler->IsValidTeam(unit->team)) { in GetUnitTooltip() 5439 if (!teamHandler->IsValidTeam(teamID)) { in GetCOBTeamVar()
|
H A D | LuaUnsyncedCtrl.cpp | 748 if (!teamHandler->IsValidTeam(teamId)) { in AddWorldUnit() 899 if (!teamHandler->IsValidTeam(teamID)) { in SetTeamColor() 2538 if (!teamHandler->IsValidTeam(teamID)) { in ShareResources()
|
H A D | LuaUnsyncedRead.cpp | 735 if (!teamHandler->IsValidTeam(teamID)) in GetVisibleUnits()
|
H A D | LuaOpenGL.cpp | 1465 if (!teamHandler->IsValidTeam(teamID)) { in UnitShape()
|
/dports/games/spring/spring_98.0/rts/Game/UI/ |
H A D | QuitBox.cpp | 272 if(teamHandler->IsValidTeam(team) && !teamHandler->Team(team)->isDead){ in MousePress() 358 if(teamHandler->IsValidTeam(team) && !teamHandler->Team(team)->isDead){ in MouseMove()
|
/dports/games/spring/spring_98.0/rts/ExternalAI/ |
H A D | AICallback.cpp | 172 && teamHandler->IsValidTeam(receivingTeamId) in SendResources() 202 && teamHandler->IsValidTeam(receivingTeamId) in SendUnits() 282 if (teamHandler->IsValidTeam(teamId)) { in GetTeamSide()
|
/dports/games/spring/spring_98.0/rts/Sim/Units/ |
H A D | UnitLoader.cpp | 175 …if ((!teamHandler->IsValidTeam(team)) || (args[teamArgIdx].find_first_not_of("0123456789") != std:… in ParseAndExecuteGiveUnitsCommand()
|