Home
last modified time | relevance | path

Searched refs:IsValidTeam (Results 1 – 20 of 20) sorted by relevance

/dports/games/spring/spring_98.0/rts/Sim/Misc/
H A DTeamHandler.h107 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 Dd_netinfo.cpp195 …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 Dteaminfo.h49 bool IsValidTeam (unsigned int uiTeam);
H A Dteaminfo.cpp246 bool FTeam::IsValidTeam (unsigned int uiTeam) in IsValidTeam() function in FTeam
H A Db_game.cpp293 if (TeamLibrary.IsValidTeam (thebot->lastteam)) in SpawnBot()
558 if (!TeamLibrary.IsValidTeam (teamnum)) in LoadBots()
H A Dhu_scores.cpp271 …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 DUnitDrawerState.cpp219 assert(teamHandler->IsValidTeam(team)); in SetTeamColor()
301 assert(teamHandler->IsValidTeam(team)); in SetTeamColor()
454 assert(teamHandler->IsValidTeam(team)); in SetTeamColor()
H A DUnitDrawer.cpp1191 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 DGlobalUnsynced.cpp111 if (!teamHandler->IsValidTeam(myTeam)) { in SetMyPlayer()
H A DPreGame.cpp460 if (!teamHandler->IsValidTeam(player->team)) { in GameDataReceived()
H A DUnsyncedGameCommands.cpp1074 if (teamHandler->IsValidTeam(teamId)) { in Execute()
1111 if (!teamHandler->IsValidTeam(teamId)) in Execute()
/dports/games/spring/spring_98.0/rts/Net/
H A DNetCommands.cpp421 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 DLuaSyncedCtrl.cpp431 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 DLuaSyncedRead.cpp670 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 DLuaUnsyncedCtrl.cpp748 if (!teamHandler->IsValidTeam(teamId)) { in AddWorldUnit()
899 if (!teamHandler->IsValidTeam(teamID)) { in SetTeamColor()
2538 if (!teamHandler->IsValidTeam(teamID)) { in ShareResources()
H A DLuaUnsyncedRead.cpp735 if (!teamHandler->IsValidTeam(teamID)) in GetVisibleUnits()
H A DLuaOpenGL.cpp1465 if (!teamHandler->IsValidTeam(teamID)) { in UnitShape()
/dports/games/spring/spring_98.0/rts/Game/UI/
H A DQuitBox.cpp272 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 DAICallback.cpp172 && 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 DUnitLoader.cpp175 …if ((!teamHandler->IsValidTeam(team)) || (args[teamArgIdx].find_first_not_of("0123456789") != std:… in ParseAndExecuteGiveUnitsCommand()