385 Commits

Author SHA1 Message Date
Mikko Mononen
70c17e8212 Fix for Issue 55: Negative array access in dtNavMesh::raycast() 2010-03-18 08:06:12 +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
d9d9fa85a5 Added more bits to compact neighbour indices, moved region id to rcCompactSpan to save memory. 2010-03-05 09:10:13 +00:00
Mikko Mononen
ababd28f59 Issue 51: crash when poly nvp is change to smaller after first build. 2010-03-02 10:05:04 +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
b50aecfa51 Removed cump code from solo test. 2010-03-01 08:25:59 +00:00
Mikko Mononen
af0d41f5ff Compact heighfield dump and debug project to load it. 2010-03-01 08:22:50 +00:00
Mikko Mononen
dbf95000e6 fix for issues 48 and 49. 2010-02-20 17:53:04 +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
095c9a544f Changed null to 0, fix compilation on linux. 2010-02-16 08:49:32 +00:00
Mikko Mononen
e0fe72ebb0 small change to display list 2010-02-16 08:48:21 +00:00
Mikko Mononen
f02c123001 debug draw display list class. 2010-02-16 08:45:42 +00:00
Mikko Mononen
deb7f0e0f8 uninitialized tile color. 2010-02-16 08:39:17 +00:00
Mikko Mononen
6f066ba9ea polygon area getter/setter. 2010-02-12 15:14:38 +00:00
Mikko Mononen
ce338df394 More robust handling of detail mesh height values. 2010-02-12 14:41:42 +00:00
Mikko Mononen
dd5377a503 Moved rcAddSpan to public API. 2010-02-12 13:19:47 +00:00
Mikko Mononen
5ade5a3052 More robust path iteration code. 2010-02-12 13:04:55 +00:00
Mikko Mononen
668484eb14 Better handling of contour problems. 2010-02-12 10:25:28 +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
1eaf28c548 Missing files for ConvexVolumeTool. 2010-02-09 16:15:54 +00:00
Mikko Mononen
4d778cbf39 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:19:50 +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
8561fb6d00 Updated stb_truetype, fixed compiler warnings. Compiles with -Wall now. 2010-02-05 08:01:30 +00:00
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