412 Commits

Author SHA1 Message Date
Mikko Mononen
fa66b9a9f3 Compiles with -Wall (except stb_truetype) 2010-02-05 07:32:30 +00:00
Mikko Mononen
9c5b541b00 Enabled more warnings on xcode project. Issue 39: GCC compiler warnings 2010-02-05 07:26:23 +00:00
Mikko Mononen
be4a807242 fix for Issue 40: RecastMesh.cpp : removeVertex bad indexing 2010-02-05 06:50:08 +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
9035462e86 rcBuildRegionsMonotone works again too. 2010-02-01 14:57:26 +00:00
Mikko Mononen
9b881bde8c 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). 2010-02-01 14:08:06 +00:00
Mikko Mononen
139409c645 Fix for Issue 37: Endian swap routines are incorrect 2010-02-01 10:30:30 +00:00
Mikko Mononen
1753297fd5 Humble beginnings of box volume too. Allow to save and restore GeomInput state. 2010-01-29 13:58:36 +00:00
Mikko Mononen
d6a5eb5ee2 Climb height to int should floor not ceil. 2010-01-29 13:02:54 +00:00
Mikko Mononen
9bf68216a3 Better handling of low obstacles. 2010-01-29 11:37:14 +00:00
Mikko Mononen
bd2e60a008 Humble beginnings of test cases. 2010-01-28 15:04:01 +00:00
Mikko Mononen
3648ebe765 Updated win32 project, compile fixes. 2010-01-28 13:53:23 +00:00
Mikko Mononen
1202ee641a Removed debug printfs. 2010-01-28 10:18:12 +00:00
Mikko Mononen
531d655ff6 Off-Mesh connection direction now actually works. 2010-01-28 08:37:56 +00:00
Mikko Mononen
4d3be029d7 Endianess conversion routines for navmesh data. 2010-01-27 15:37:48 +00:00
Mikko Mononen
5651b7c5dd Changed many 0xffff:s to named consts. 2010-01-27 14:52:18 +00:00
Mikko Mononen
4cb96e9dc0 Better documentation of navmesh header. 2010-01-27 14:30:43 +00:00
Mikko Mononen
a56bf3ec2d Off-Mesh connections across tile boundaries. Fixed getPolysAround(). Detour links per poly use linked list. Adjusted off-mesh connection tool. 2010-01-26 12:48:58 +00:00
Mikko Mononen
e973b71d4b More polygons flags. Added filter for Detour queries. 2010-01-19 15:13:33 +00:00
Mikko Mononen
fe1a62db22 Draw off-mesh connections over/after navmesh edges. Fixed bvtree size issue (was not decoded correctly on mesh add). 2010-01-19 14:29:01 +00:00
Mikko Mononen
3abbfe006d Changed Detour header var names more to verbose. Pass params as a struct to dtCreateNavMeshData. Named Off-mesh links to Off-mesh connections. Cleaned up Off-mesh connection code and samples. Added connection radius and direction to Off-mesh connections. Agent dimensions passed store in navmesh header. 2010-01-19 14:22:48 +00:00
Mikko Mononen
da9dec1eef Sped up off-mesh link connection process. 2010-01-13 21:32:28 +00:00
Mikko Mononen
a81223f3bb Update path iterator code to cope with off-mesh links. findStraightPath() returns now more info so that off-mesh links can de detected. 2010-01-13 21:25:07 +00:00
Mikko Mononen
4ad8dafa40 Off-Mesh link progress (not fully working). 2010-01-10 17:21:01 +00:00
Mikko Mononen
5c4f1ed0bd Off-Mesh Link progress (not fully working). 2010-01-10 17:19:02 +00:00
Mikko Mononen
6c76919ab9 Moved common debugdraw code to DebugDraw.h/cpp, changed API to allow uint colors. 2010-01-10 17:17:47 +00:00
Mikko Mononen
44b6c54c57 Fixed too large memory alloc in rcBuildPolyMesh. 2010-01-10 17:16:33 +00:00
Mikko Mononen
c897eaedb8 Issue 32: Fixed crash in Sample_TileMesh. 2010-01-06 10:40:05 +00:00
Mikko Mononen
eb6b215d23 Changed the sample stuff to support extra link tool. Added simple tool to create eextra links (no detour support yet). 2010-01-05 14:26:40 +00:00
Mikko Mononen
57c70704d8 Missing files from NavMeshTesterTool. 2009-12-30 16:27:11 +00:00
Mikko Mononen
4934dc2065 Refactored sample code. Separated navmesh test code to a tool class. 2009-12-30 08:49:46 +00:00
Mikko Mononen
5daf3f8157 raycast resturns hit normal. 2009-12-21 10:48:27 +00:00
Mikko Mononen
021880fe92 Updated VC project to contain Detour merge.
Some debug draw code was still passing number of primitives to draw to the DD, removed those.
2009-12-21 08:14:01 +00:00
Mikko Mononen
41061699d6 Missing debug utils files. 2009-12-09 16:45:57 +00:00
Mikko Mononen
a73da5e966 Moved all debug draw utilities to DebugUtils folder. Added recast data to .obj dump functions. 2009-12-09 15:45:10 +00:00
Mikko Mononen
121807b601 Fixed Issue 27: RecastMeshDetail.cpp:buildPolyDetail: Unused parameter: reg 2009-12-07 09:53:41 +00:00
Mikko Mononen
8d146ade90 Fixed Issue 26: RecastMeshDetail.cpp: updateLeftFace: t parameter is unused. 2009-12-07 09:52:07 +00:00
Mikko Mononen
113ba0aaae Fox for Issue 25: RecastMeshDetail.cpp:buildPolyDetail: Uneeded line of code. 2009-12-07 09:48:23 +00:00
Mikko Mononen
b4a0dc6e7f Commented dtNavMesh header. 2009-12-04 07:45:05 +00:00
Mikko Mononen
e4239a3bdf Removed stat and tile navmeshes. Fixed examples. 2009-12-04 07:27:53 +00:00
Mikko Mononen
6a00efb936 Compile fixes for VC. Update VC project. 2009-12-03 16:28:27 +00:00
Mikko Mononen
a47e3436c9 Changed static navmesh samples to use new navmesh. Renamed Stat samples to Solo. Added moveAlongPathCorridor() to dtNavMesh. 2009-12-03 13:16:25 +00:00
Mikko Mononen
d142754ad5 Fixed crash in rcBuildPolyMesh() when one of the contours had zero vertices. 2009-11-25 15:21:49 +00:00
Mikko Mononen
f77a7511ed Detail mesh is calculated in tile local coordinates for better floating point accuracy. 2009-11-23 08:44:01 +00:00
Mikko Mononen
7b7f0e6fb9 Removed ununsed dialtion code from detail mesh getHeightData(). 2009-11-23 08:34:39 +00:00
Mikko Mononen
753ebdc319 Issue 20: removed unused variable from mergePolys() function. 2009-11-20 13:47:15 +00:00
Mikko Mononen
ab023b1700 Added dtNavMesh, which is combination of dtStatNavMesh and dtTiledNavMesh. Added Sample_DynMesh which is used for dtNavMesh testing for now. 2009-11-20 13:26:13 +00:00
Mikko Mononen
3a8b259bd2 Align all data chunks in the navmesh data to 4 bytes. 2009-11-20 08:29:03 +00:00
Mikko Mononen
b93bd10fa4 Fixed a couple of bounds checks in detail mesh height query. 2009-11-20 08:15:09 +00:00
Mikko Mononen
5ecdda0a18 Documented debug draw iface. 2009-11-15 15:40:17 +00:00