504 Commits

Author SHA1 Message Date
Stephen Pratt
923098b43c Recast: New API documentation, and standardized tab/space use.
Documented DetourAlloc.h and most members in DetourCommon.h.
Added warning related to issue 180. (Limitation on use of dtNavmeshQuery::findNearestPoly.)
Standardized the use of tab/space indenting in the API documentation.
2011-09-13 13:22:09 +00:00
Stephen Pratt
79a61cbdb1 Recast: Removed unused inline functions and standardized tab/space use.
Removed the unused rcAlign4 function from Recast.h.
Removed the unused rcVequal function from Recast.h.
Standardized the use of tab/space indenting in the API documentation.
2011-09-13 13:14:40 +00:00
Stephen Pratt
986c8becf8 RecastDemo: Added NavmeshPruneTool files to the Visual Studio project. 2011-09-13 13:07:16 +00:00
Mikko Mononen
54e0e86ff2 Added simple Detour navmesh flood fill and prune tool. 2011-09-11 11:08:55 +00:00
Mikko Mononen
751cf50af8 Sample_TileMesh::buildTileMesh() was returning false instead of 0. 2011-09-04 12:39:53 +00:00
Mikko Mononen
1076b27e0f Initialize m_nav to zero in dtNavMeshQuery 2011-09-04 12:38:05 +00:00
Stephen Pratt
6f5c9f9b82 Recast: Detail API documentation for the members declared in Recast.h. (Complete)
Recast.h: Completed rcPolyMeshDetail through end, plus updates to existing documentation.
Configuration: Removed DebugUtils directory from the document build.
Configuration: Fixed issue 179. (Backslashes)
2011-08-29 23:03:16 +00:00
Stephen Pratt
5553d19d59 Recast: Detail API documentation for the elements declared in Recast.h. (Partial)
The elements through rcPolyMesh are complete.
2011-08-22 21:49:21 +00:00
Stephen Pratt
2198f85997 Recast: Detail API documentation covering the elements declared in RecastAlloc.h. 2011-08-22 21:46:43 +00:00
Stephen Pratt
a20f4192f3 Update Doxygen configuration and conceptual content. (Minor changes.) 2011-08-22 21:43:59 +00:00
Stephen Pratt
c150272f99 Detour: Detail API documentation covering the DetourCommon.h and DetourNavMeshQuery.h files 2011-08-15 17:01:16 +00:00
Stephen Pratt
11fe155861 Update Doxygen configuration and add initial documentation support files. 2011-08-15 16:45:39 +00:00
Mikko Mononen
9b80662206 Removed misplaced stdio.h. 2011-08-01 10:53:18 +00:00
Mikko Mononen
1b6ca5a94a Fixed findStraightPath() to return partial results. Fixed main.cpp FPS throttling. Added initial support for path replanning in DetourCrowd. 2011-08-01 10:48:56 +00:00
Cameron Hart
2c9a3a0b4f Use FindSDL for MSVC builds too. Set the CMAKE_PREFIX_PATH so it looks in the Contrib/SDL directory for it. 2011-07-06 01:25:25 +00:00
Mikko Mononen
c4f95ec7e2 Fix for issue 174. 2011-07-03 11:49:16 +00:00
Cameron hart
d5729c678b Changed header comments to use Doxygen format and added configuration Doxyfile. 2011-05-06 23:22:08 +00:00
Mikko Mononen
69f00ef893 Fixed type on rcAddSpan definition in header file. 2011-04-30 05:43:07 +00:00
Cameron hart
3cee73cb8c Added CMake files for Linux compilation and removed Makefiles build. CMake build should also work on Windows and MacOS for those who wish to use it. 2011-04-20 10:55:10 +00:00
Mikko Mononen
4ca8b91653 Updated win32 project. 2011-04-19 05:47:55 +00:00
Mikko Mononen
fba6a794af Missing tile cache files. 2011-04-19 05:40:57 +00:00
Mikko Mononen
9902efc845 TileCache progress: Moved tile cache to Detour and made proper class for it. Better obstacles and tile layer management. 2011-04-16 07:57:50 +00:00
Mikko Mononen
76444aa747 - Updated win32 project
- Fixed VC compile errors
2011-03-25 10:13:27 +00:00
Mikko Mononen
1de5e2f119 DETOUR API CHANGE!
- Detour Navmesh supports layers
- Allow to disable Navmesh BV-tree
- Added DetourTileCache
- Cleaned up Recast layer code
- Moved portal edge detection to Recast
- Removed polymesh border offset
- Removed lean heighfield
2011-03-25 09:16:38 +00:00
Mikko Mononen
838d0657bd Temp fix for neighbour rendering. 2011-03-15 07:31:52 +00:00
Mikko Mononen
f85bb4c52c Fix for strange neighbours. Was using m_agents, instead agents in few places. 2011-03-15 07:30:55 +00:00
Mikko Mononen
4be11d07f8 Fixed bug in edge generation (also appears in regular side). Added portal edge detection. Adjusted layer related debug draw. 2011-03-11 20:22:22 +00:00
Mikko Mononen
e238288549 getNeibours() was accessing wrong agent list. 2011-03-11 17:28:39 +00:00
Mikko Mononen
b6a93f063a Removed layer portals, added cons, which stores connectivity and portals. Layer heights is stored as bytes. 2011-03-11 15:12:15 +00:00
Mikko Mononen
9f2390e196 Added mipmaps to the grid texture. Removed obsolete SoloMeshTiled sample. 2011-03-06 16:00:04 +00:00
Mikko Mononen
e84d563bfe Added boxmapped texturing to input mesh, helps visualize it better. Added polymesh generation for layered heighfields. 2011-03-06 15:40:33 +00:00
Mikko Mononen
6cb0413cc7 Layer progress: Fixed reg building with multiple areas. Added contour generation. 2011-03-06 08:26:55 +00:00
Mikko Mononen
a1babd6803 Fixed out of bounds bug in rcBuildLayerRegions. Improved region merging. 2011-02-28 08:18:44 +00:00
Mikko Mononen
ce6f2a52fc Fixed mem leaks with layers. Added layer region generation test. 2011-02-27 20:39:17 +00:00
Mikko Mononen
f140c3962d Heighfield Layer progress. 2011-02-26 15:05:21 +00:00
Mikko Mononen
d1dde08d35 Added delay to make sure the app does not hog all CPU. 2011-02-25 08:24:30 +00:00
Mikko Mononen
fdb4ad30f7 getPolyWallSegments can return both walls and portals. Added userData pointer to dtCrowdAgent. 2011-02-11 08:43:05 +00:00
Mikko Mononen
1080b6c249 Fix for Issue 162. 2011-02-09 18:52:25 +00:00
Mikko Mononen
496ee57897 Added userData pointer for dtCrowdAgent. 2011-02-06 13:13:42 +00:00
Mikko Mononen
5b4f8b6047 Allow different obstacle avoidance parameters. Changed update flags to be per agent, not per crowd. Added optional separation to steering. Added UI to change obstacle avoidance quality. 2011-02-06 12:52:08 +00:00
Mikko Mononen
9bb9abad33 Fix for issue 150 2011-02-03 09:48:16 +00:00
Mikko Mononen
98e7390ba0 Fix for issue 155 2011-02-03 09:32:55 +00:00
Mikko Mononen
0ede4bca39 Fix for issue 156 2011-02-03 09:23:45 +00:00
Mikko Mononen
0896e365f0 Updated xcode project and binary. 2011-01-31 07:36:39 +00:00
Mikko Mononen
6271b40ae6 Updated VC project and fixed compile warnings. 2011-01-31 07:33:01 +00:00
Mikko Mononen
070d591aa8 Fixed tool update on temp obstacle sample. 2011-01-30 20:57:33 +00:00
Mikko Mononen
1f2aea55f5 Fix for a crash in path queue. Bail out if cannot init obstacle query. 2011-01-30 20:43:16 +00:00
Mikko Mononen
6c6a62e3b1 Replaced liblzf with fastlz. 2011-01-30 19:52:10 +00:00
Mikko Mononen
7f2696cbbf First implementation of DetourCrowd off-mesh connection handling. 2011-01-30 17:11:20 +00:00
Mikko Mononen
e70a4664c9 Added multisampling. Moved obstacle avoidance to DetourCrowd. 2011-01-29 15:39:42 +00:00