Home
last modified time | relevance | path

Searched refs:pWptNearEnt (Results 1 – 2 of 2) sorted by relevance

/dports/games/assaultcube/AssaultCube_v1.2.0.2/source/src/bot/
H A Dac_bot_ai.cpp237 waypoint_s *pWptNearEnt = NULL; in SearchForEnts() local
245 pWptNearEnt = GetNearestFloodWP(o, 8.0f); in SearchForEnts()
248 pWptNearEnt = GetNearestWaypoint(o, 15.0f); in SearchForEnts()
250 if (!pWptNearEnt) continue; in SearchForEnts()
254 if (pWptNearEnt == NULL) // Ent is visible in SearchForEnts()
262 if (pWptNearEnt) in SearchForEnts()
263 pBestWpt = pWptNearEnt; in SearchForEnts()
H A Dbotmanager.cpp888 node_s *pWptNearEnt = NULL; in PickNextTrigger() local
890 pWptNearEnt = WaypointClass.GetNearestTriggerWaypoint(o, 2.0f); in PickNextTrigger()
892 if (pWptNearEnt) in PickNextTrigger()
894 if ((pWptNearEnt->sTriggerNr > 0) && in PickNextTrigger()
896 lowest = pWptNearEnt->sTriggerNr; in PickNextTrigger()
897 if (pWptNearEnt->sTriggerNr == 0) found0 = true; in PickNextTrigger()
901 pWptNearEnt = WaypointClass.GetNearestTriggerFloodWP(o, 2.0f); in PickNextTrigger()
903 if (pWptNearEnt) in PickNextTrigger()
905 if ((pWptNearEnt->sTriggerNr > 0) && in PickNextTrigger()
907 lowest = pWptNearEnt->sTriggerNr; in PickNextTrigger()
[all …]