MCPcopy Create free account
hub / github.com/MoeMod/CSMoE / AddAreaToOpenList

Function AddAreaToOpenList

game_shared/bot/nav_area.h:905–939  ·  view source on GitHub ↗

Do a breadth-first search, invoking functor on each area. If functor returns 'true', continue searching from this area. If functor returns 'false', the area's adjacent areas are not explored (dead end). If 'maxRange' is 0 or less, no range check is done (all areas will be examined). NOTE: Returns all areas that overlap range, even partially TODO: Use ladder connections helper function

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

SearchSurroundingAreasFunction · 0.85

Calls 12

SetTotalCostMethod · 0.80
GetClosestPointOnAreaMethod · 0.80
GetCostSoFarMethod · 0.80
GetCenterMethod · 0.80
SetCostSoFarMethod · 0.80
AddToOpenListMethod · 0.80
IsMarkedMethod · 0.45
MarkMethod · 0.45
SetParentMethod · 0.45
IsLengthLessThanMethod · 0.45
Make2DMethod · 0.45
LengthMethod · 0.45

Tested by

no test coverage detected