1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2026-01-06 05:13:07 +00:00
openmw/components/detournavigator
elsid 98ddc31902
Fix calculating min distance to nearest absent tile
Tile can be present in either mPushed (waiting in a queue), mProcessingTiles (
being processed or waiting in db queue), mPresentTiles (added to navmesh). It's
not enough to walk over mPushed tiles to find all not present. Need also to
check mProcessingTiles.

Otherwise if all tiles are in mProcessingTiles only
waitUntilJobsDoneForNotPresentTiles may return too early because there are none
in mPushed and therefore none tiles are considered to be absent on navmesh which
is not true.
2022-09-06 21:51:48 +02:00
..
agentbounds.hpp Support different agent collision shape type for pathfinding 2022-06-21 12:57:32 +02:00
areatype.hpp Move std::ostream& operator<< to .cpp 2022-06-26 22:43:53 +02:00
asyncnavmeshupdater.cpp Fix calculating min distance to nearest absent tile 2022-09-06 21:51:48 +02:00
asyncnavmeshupdater.hpp Separate reading navigator stats and reporting 2022-08-28 14:52:34 +02:00
bounds.hpp Split makeNavMeshTileData 2018-10-13 22:22:15 +03:00
cachedrecastmeshmanager.cpp Make frequently called oneliners inline 2022-09-06 21:51:48 +02:00
cachedrecastmeshmanager.hpp Make frequently called oneliners inline 2022-09-06 21:51:48 +02:00
changetype.hpp Store changed tiles in TileCachedRecastMeshManager 2022-09-05 11:49:39 +02:00
collisionshapetype.cpp Support cylinder and rotating box collision shape types for actors 2022-07-30 14:28:21 +02:00
collisionshapetype.hpp Support cylinder and rotating box collision shape types for actors 2022-07-30 14:28:21 +02:00
dbrefgeometryobject.hpp Do not write shapes to navmeshdb when writing is disabled 2021-12-16 22:57:35 +01:00
debug.cpp Do not check getPolyHeight status 2022-08-24 23:30:36 +02:00
debug.hpp Do single navigator update per frame 2022-08-20 19:15:55 +02:00
exceptions.hpp Update NavMesh one by one tile in order from nearest to player 2018-10-13 22:16:26 +03:00
findrandompointaroundcircle.cpp Refactor DetourNavigator to pass prng along, use world prng for AiWander 2022-05-17 20:37:15 +03:00
findrandompointaroundcircle.hpp Refactor DetourNavigator to pass prng along, use world prng for AiWander 2022-05-17 20:37:15 +03:00
findsmoothpath.cpp Fix crash in DetourNavigator::fixupCorridor 2021-10-19 22:54:46 +02:00
findsmoothpath.hpp Do not check getPolyHeight status 2022-08-24 23:30:36 +02:00
flags.hpp Move std::ostream& operator<< to .cpp 2022-06-26 22:43:53 +02:00
generatenavmeshtile.cpp Cleanup detournavigator includes 2022-08-15 19:46:10 +02:00
generatenavmeshtile.hpp Support different agent collision shape type for pathfinding 2022-06-21 12:57:32 +02:00
gettilespositions.cpp Cull navmesh objects by scene bounds 2022-02-03 22:09:37 +01:00
gettilespositions.hpp Add navmeshtool flag to remove unused tiles from navmesh disk cache 2022-02-18 21:57:23 +01:00
guardednavmeshcacheitem.hpp Cleanup detournavigator includes 2022-08-15 19:46:10 +02:00
heightfieldshape.hpp Add raw heightfield data to navigator 2021-12-03 01:16:15 +01:00
makenavmesh.cpp Cleanup detournavigator includes 2022-08-15 19:46:10 +02:00
makenavmesh.hpp Cleanup detournavigator includes 2022-08-15 19:46:10 +02:00
navigator.cpp Limit max navmeshdb file size 2022-03-18 19:08:46 +01:00
navigator.hpp Separate reading navigator stats and reporting 2022-08-28 14:52:34 +02:00
navigatorimpl.cpp Store changed tiles in TileCachedRecastMeshManager 2022-09-05 11:49:39 +02:00
navigatorimpl.hpp Separate reading navigator stats and reporting 2022-08-28 14:52:34 +02:00
navigatorstub.hpp Separate reading navigator stats and reporting 2022-08-28 14:52:34 +02:00
navigatorutils.cpp Support different agent collision shape type for pathfinding 2022-06-21 12:57:32 +02:00
navigatorutils.hpp Cleanup detournavigator includes 2022-08-15 19:46:10 +02:00
navmeshcacheitem.cpp Move std::ostream& operator<< to .cpp 2022-06-26 22:43:53 +02:00
navmeshcacheitem.hpp Cleanup detournavigator includes 2022-08-15 19:46:10 +02:00
navmeshdata.hpp Add missing initialization 2021-08-09 17:54:19 +02:00
navmeshdb.cpp Split components/misc/stringops.hpp into multiple headers 2022-08-03 22:06:24 +02:00
navmeshdb.hpp Limit max navmeshdb file size 2022-03-18 19:08:46 +01:00
navmeshdbutils.cpp Support compilation with c++20 2022-02-24 00:49:40 +01:00
navmeshdbutils.hpp Do not write shapes to navmeshdb when writing is disabled 2021-12-16 22:57:35 +01:00
navmeshmanager.cpp Do not try to update tile to post 2022-09-06 21:51:48 +02:00
navmeshmanager.hpp Store changed tiles in TileCachedRecastMeshManager 2022-09-05 11:49:39 +02:00
navmeshtilescache.cpp Separate reading navigator stats and reporting 2022-08-28 14:52:34 +02:00
navmeshtilescache.hpp Separate reading navigator stats and reporting 2022-08-28 14:52:34 +02:00
navmeshtileview.cpp Fix unity build 2021-11-21 14:24:18 +01:00
navmeshtileview.hpp Fix unity build 2021-11-21 14:24:18 +01:00
objectid.hpp Add a binary to generate navmesh from content files 2021-12-11 00:21:56 +01:00
objecttransform.hpp Store mesh source data in recast mesh 2021-12-10 23:55:02 +01:00
offmeshconnection.hpp Do not use off mesh connections as a part of navmesh cache key 2021-07-14 12:19:17 +02:00
offmeshconnectionsmanager.cpp Add a binary to generate navmesh from content files 2021-12-11 00:21:56 +01:00
offmeshconnectionsmanager.hpp Add a binary to generate navmesh from content files 2021-12-11 00:21:56 +01:00
oscillatingrecastmeshobject.cpp Limit oscillating recast mesh object AABB by tile bounds 2021-05-27 12:40:29 +02:00
oscillatingrecastmeshobject.hpp Limit oscillating recast mesh object AABB by tile bounds 2021-05-27 12:40:29 +02:00
preparednavmeshdata.cpp Write generated navmesh to navmeshdb 2021-12-11 00:22:04 +01:00
preparednavmeshdata.hpp Cleanup detournavigator includes 2022-08-15 19:46:10 +02:00
preparednavmeshdatatuple.hpp Fix unity build 2021-11-21 14:24:18 +01:00
raycast.cpp Split navigator settings into subtypes 2021-12-10 23:55:03 +01:00
raycast.hpp Split navigator settings into subtypes 2021-12-10 23:55:03 +01:00
recast.cpp Write generated navmesh to navmeshdb 2021-12-11 00:22:04 +01:00
recast.hpp Write generated navmesh to navmeshdb 2021-12-11 00:22:04 +01:00
recastallocutils.hpp use c++11 std::align from <memory> (#2026) 2018-11-08 17:38:09 +01:00
recastglobalallocator.hpp Add missing include and use std malloc and free 2021-02-15 00:20:15 +01:00
recastmesh.cpp Use version instead of generation and revision for recast mesh 2022-09-06 21:51:48 +02:00
recastmesh.hpp Use version instead of generation and revision for recast mesh 2022-09-06 21:51:48 +02:00
recastmeshbuilder.cpp Use version instead of generation and revision for recast mesh 2022-09-06 21:51:48 +02:00
recastmeshbuilder.hpp Use version instead of generation and revision for recast mesh 2022-09-06 21:51:48 +02:00
recastmeshmanager.cpp Use version instead of generation and revision for recast mesh 2022-09-06 21:51:48 +02:00
recastmeshmanager.hpp Make frequently called oneliners inline 2022-09-06 21:51:48 +02:00
recastmeshobject.cpp Store mesh source data in recast mesh 2021-12-10 23:55:02 +01:00
recastmeshobject.hpp Store mesh source data in recast mesh 2021-12-10 23:55:02 +01:00
recastmeshprovider.hpp Cleanup detournavigator includes 2022-08-15 19:46:10 +02:00
recastmeshtiles.hpp Replace include by RecastMesh forward declaration 2021-05-04 13:00:06 +02:00
recastparams.hpp Support cylinder and rotating box collision shape types for actors 2022-07-30 14:28:21 +02:00
recasttempallocator.hpp use c++11 std::align from <memory> (#2026) 2018-11-08 17:38:09 +01:00
ref.hpp Add missing include 2021-07-21 11:37:50 +02:00
serialization.cpp Cleanup detournavigator includes 2022-08-15 19:46:10 +02:00
serialization.hpp Support different agent collision shape type for pathfinding 2022-06-21 12:57:32 +02:00
settings.cpp Support different agent collision shape type for pathfinding 2022-06-21 12:57:32 +02:00
settings.hpp Fix C4459 msvc warning 2022-07-01 18:47:40 +02:00
settingsutils.hpp Cull navmesh objects by scene bounds 2022-02-03 22:09:37 +01:00
sharednavmesh.hpp Cache navmesh tiles 2018-10-13 22:22:12 +03:00
sharednavmeshcacheitem.hpp Cleanup detournavigator includes 2022-08-15 19:46:10 +02:00
stats.cpp Separate reading navigator stats and reporting 2022-08-28 14:52:34 +02:00
stats.hpp Separate reading navigator stats and reporting 2022-08-28 14:52:34 +02:00
status.hpp Do not check getPolyHeight status 2022-08-24 23:30:36 +02:00
tilebounds.hpp Cull navmesh objects by scene bounds 2022-02-03 22:09:37 +01:00
tilecachedrecastmeshmanager.cpp Store changed tiles in TileCachedRecastMeshManager 2022-09-05 11:49:39 +02:00
tilecachedrecastmeshmanager.hpp Store changed tiles in TileCachedRecastMeshManager 2022-09-05 11:49:39 +02:00
tileposition.hpp Use recastnavigation to find path 2018-10-13 22:16:25 +03:00
tilespositionsrange.hpp Add navmeshtool flag to remove unused tiles from navmesh disk cache 2022-02-18 21:57:23 +01:00
version.hpp Replace generation and revision by version 2021-11-21 17:40:54 +01:00
waitconditiontype.hpp Apply min distance only for not present tiles 2021-05-14 22:41:11 +02:00