140 Commits

Author SHA1 Message Date
Mikko Mononen
e5d603ac92 **API CHANGED** Implemented issue 124. Detour API returns error codes. 2010-10-29 12:08:13 +00:00
Mikko Mononen
ed7205308d Made some buffer sizes runtime configurable. 2010-10-23 09:19:26 +00:00
Mikko Mononen
7f84699bfe Cleaned up and simplified Detour obst. avoidance. Simplified path corridor, spinned off LocalBoundary to manage edge segs. 2010-10-20 17:13:47 +00:00
Mikko Mononen
7774a7f45d Adaptive sampling uses rotated circluar grid. Handles tight spots better. 2010-10-15 13:49:26 +00:00
Mikko Mononen
034fbbc67d Fixed Detour to work when using 64bit polyrefs. 2010-10-15 06:57:45 +00:00
Mikko Mononen
c9df5dc995 Changed dtNavmeshQuery.getPolyWallSegments() to require max number of segments to store. 2010-10-15 06:35:40 +00:00
Mikko Mononen
4cf5ab4d7b Fix for issue 125. 2010-09-24 06:15:01 +00:00
Mikko Mononen
e1355c4a33 Fixed several detail mesh issues. Fixed issue 106. 2010-09-17 10:20:08 +00:00
Mikko Mononen
8a2963bce0 Fix for issue 119. 2010-09-17 07:37:00 +00:00
Mikko Mononen
f5bb64a375 Fix for Issue 123. 2010-09-17 07:25:19 +00:00
Mikko Mononen
e65903dfce The humble beginnings of dtObstacleAvoidanceQuery, figuring out the API. Moved value graph/history to ValueHistory.h/cpp and changed the draw code to use imgui. Various tweaks to CrowdTool. 2010-08-31 12:36:32 +00:00
Mikko Mononen
5ba6518ed3 Detour compiles now with DT_VIRTUAL_QUERYFILTER. Fixed typos in comments. Fixed bug in findStraightPath() where leftPolyType was not used. 2010-08-26 18:57:53 +00:00
Mikko Mononen
c6ce6e2ba9 Added few more asserts. Moved hash function to common. 2010-08-26 18:26:56 +00:00
Mikko Mononen
3f0995dc1c Allow dtNavMesh m_tileBits and m_polyBits to be zero. 2010-08-24 21:02:31 +00:00
Mikko Mononen
057c3e9bfd Commented assert headers for encouraged usage. Navmesh query stores const dtNavMesh pointer. 2010-08-24 18:11:06 +00:00
Mikko Mononen
47ba806fef Fix for Issue 107 2010-08-23 17:40:45 +00:00
Mikko Mononen
0e4aa30e85 Changed dtQueryFilter to contain the flags check and cost calculation, can customized. Fix for issue 47 and issue 103. 2010-08-20 09:30:37 +00:00
Mikko Mononen
55360f6ee5 Missing files for R197 2010-08-19 09:55:12 +00:00
Mikko Mononen
785e9c68be Missing DetourNavMeshQuery files, plus sliced findPath. 2010-08-17 17:46:19 +00:00
Mikko Mononen
cbc47f4ddf Fix for Issue 99:Separate Detour mesh queries in to a different class from mesh data 2010-08-17 15:10:32 +00:00
Mikko Mononen
474a3ddc67 Changed link bmin/bmax to fraction along the edge. Fixed moveAlong to work with multiple links per edge. Use flat delta for path iterator. 2010-08-10 10:43:28 +00:00
Mikko Mononen
81c0402116 Missing changes from previous commit. Added dtNavMesh.findLocalNeighbourhood() and dtNavMesh.getPolyWallSegments() and test code for them. 2010-08-09 13:28:26 +00:00
Mikko Mononen
d83961ecd4 issue 46:getPolysAround with convex polygon query bounds 2010-07-21 07:11:37 +00:00
Mikko Mononen
99401f3944 offmesh con was using sizeof(new unsigned char), removeTile() was still using delete[]. 2010-07-10 09:00:26 +00:00
Mikko Mononen
cd3a351f40 Custom allocator for Recast. 2010-07-09 12:55:14 +00:00
Mikko Mononen
e5cca88cd1 Custom memory allocator for Detour. Fixed parallel touching portal connection. 2010-07-09 10:37:49 +00:00
Mikko Mononen
122ee3a7a1 Issue 86:Tiled world consisting of one tile - dtNavMesh::init fails. ___NOTE: dtPolyRef format changed___ 2010-07-08 12:04:43 +00:00
Mikko Mononen
939050eb82 fix for Issue 89:Call to dtVperp2d - don't need to negate 2010-07-08 11:25:57 +00:00
Mikko Mononen
0c3474f9c1 fix for Issue 84: Zero Byte Allocations 2010-07-08 11:06:49 +00:00
Mikko Mononen
2aa749c940 Fix for Issue 81. Fixed getPolysAround() and findDistanceToWall() when using off-mesh connections. 2010-05-26 09:46:02 +00:00
Mikko Mononen
1769d70e5c Fix for Issue 70: more const methods, Fix for Issue 72: changed to more accuracte tile connection test. 2010-04-22 13:13:27 +00:00
Mikko Mononen
32b54f7981 Fix for Issue 68 2010-04-19 14:01:13 +00:00
Mikko Mononen
6f1e34e9fe Raycast does not try to follow off-mesh links (Issue 64), use references instead of pointers in debugdraw api (Issue 62, Issue 63) 2010-04-15 07:22:47 +00:00
Mikko Mononen
10b330ffb4 Moved common functions behind name decoration. 2010-04-14 18:45:46 +00:00
Mikko Mononen
193f44a388 Issue 61: take 2, missing files. 2010-04-13 10:58:18 +00:00
Mikko Mononen
1d8c7dac84 Issue 60: fixed end of path issues in findStraightPath(). 2010-04-13 07:38:57 +00:00
Mikko Mononen
77cc2b9eef Update VC9 project, VC compiler fixes. 2010-03-30 07:04:07 +00:00
Mikko Mononen
5119b5cb16 API CHANGE! Better serialization support. 2010-03-25 12:24:40 +00:00
Mikko Mononen
9cd943264e fixes for Issue 56: Fairly minor bugs picked up by static analysis tool 2010-03-18 08:53:45 +00:00
Mikko Mononen
8291ceace2 Fix for Issue 54: Bug when a non-shared vertex is marked for remove 2010-03-18 08:42:45 +00:00
Mikko Mononen
21f76bc0a5 Fixed hadling of negative tile indices. Made findStraightPath a tiny bit simpler. 2010-03-08 09:43:16 +00:00
Mikko Mononen
359f15b11c Moved pointers from dtMeshHeader to dtMeshTile, allows mixing build/use 32/64 bit builds. Bumbed Detour version number. 2010-03-02 09:24:24 +00:00
Mikko Mononen
e51b31dab4 Made A-star cost admissible, fixed previous visib bug, commented path finder code, rearranged tests for readability. 2010-02-16 18:43:04 +00:00
Mikko Mononen
6f066ba9ea polygon area getter/setter. 2010-02-12 15:14:38 +00:00
Mikko Mononen
5ade5a3052 More robust path iteration code. 2010-02-12 13:04:55 +00:00
Mikko Mononen
f6236c133d Added cost per poly. Added API to change poly flags. Optimized pathfinder. 2010-02-12 09:29:09 +00:00
Mikko Mononen
a715e9a5f7 Area progress: Pass area type and ability flags to recast. Convex Area tool. Mark chf with convex volumes. Better visualization of volumes. 2010-02-05 16:15:49 +00:00
Mikko Mononen
f839fb080a NOTE: Changed the generation procedure, see samples! Erode walkable area before area is generated. Allow to mark areas on chf. Generate regions following areas (+ many fixes here and there to make it alwasy work). Part 2 2010-02-01 14:58:30 +00:00
Mikko Mononen
139409c645 Fix for Issue 37: Endian swap routines are incorrect 2010-02-01 10:30:30 +00:00
Mikko Mononen
1202ee641a Removed debug printfs. 2010-01-28 10:18:12 +00:00