385 Commits

Author SHA1 Message Date
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
47a572d42e Fix for issue 101 2010-08-10 08:29:43 +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
1c4755012f Removed moveAlongPathCorridor() and added more generic moveAlongSurface(). 2010-08-09 11:26:07 +00:00
Mikko Mononen
b38ebc888f Dump and read for rcContourSet. 2010-08-05 06:04:09 +00:00
Mikko Mononen
281fdb9d64 Fix for Issue 100:Convex poly tool always removes last shape 2010-07-27 05:56:49 +00:00
Mikko Mononen
d83961ecd4 issue 46:getPolysAround with convex polygon query bounds 2010-07-21 07:11:37 +00:00
Mikko Mononen
5ebcb453fb Issue 45:Input triangle based area creation (another try) 2010-07-13 07:19:10 +00:00
Mikko Mononen
a48b50d89c Issue 45:Input triangle based area creation 2010-07-13 07:02:03 +00:00
Mikko Mononen
a87947cc3f fix for Issue 98 2010-07-11 10:18:44 +00:00
Mikko Mononen
da0b4ab05e missing alloc hint. 2010-07-11 07:57:27 +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
5c68878f49 duReadCompactHeightfield was still using new 2010-07-10 08:59:17 +00:00
Mikko Mononen
5070ca9fc4 Fix for Issue 95:rcIntArray still using new/delete 2010-07-10 08:51:35 +00:00
Mikko Mononen
377315641e Updated win32 project.
Fixed allocation of rcRegions, use placement new per array object, not for the whole array.
2010-07-09 13:25:28 +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
fb369a2efd Removed math.h dependancy from Recast.h, moved sqrtf to Recast.cpp. 2010-07-09 08:45:58 +00:00
Mikko Mononen
5d91c09e00 fix for Issue 94:rcBuildContours fails when small area is marked near tile edge 2010-07-08 14:38:53 +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
fca9709196 fix for issue 85:Make getSpanCount accessible 2010-07-08 11:41:08 +00:00
Mikko Mononen
1d36d4f40b fix for Issue 91:findStraightPath error with multiple height levels. 2010-07-08 11:37:14 +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
3ee2ef9d72 fix for Issue 90:Additional unit type annotation. 2010-07-08 11:20:20 +00:00
Mikko Mononen
0c3474f9c1 fix for Issue 84: Zero Byte Allocations 2010-07-08 11:06:49 +00:00
Mikko Mononen
4ac6b64050 use breath first search when finding detail data so that we don't expand to wrong storey. 2010-05-28 06:31:43 +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
11386cedcf Added option to tesselate edges between areas. Fixed bug in orphan contour merging, which could create overlapping contour. 2010-05-26 09:20:57 +00:00
Mikko Mononen
49f2b03cd8 Presentation mode tweaks. Fix for Issue 74: added FileIO interface, Fix for Issue 76: added pure virtual destructor for duDebugDraw. 2010-05-07 07:14:42 +00:00
Mikko Mononen
87800abc28 Fix for Issue 73, Handle zero-height spans. 2010-05-05 13:15:40 +00:00
Mikko Mononen
db0a8cdbd6 Debug draw navmesh connection portals. 2010-04-22 13:13:59 +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
4c1a122a91 Fixed bug where clicks went through GUI. Added a couple of consts into detail mesh code. 2010-04-20 07:35:40 +00:00
Mikko Mononen
32b54f7981 Fix for Issue 68 2010-04-19 14:01:13 +00:00
Mikko Mononen
07c5750e8a A couple of changes for Issue 52. 2010-04-15 07:46:50 +00:00
Mikko Mononen
d5c65a220f 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:58 +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
b21e854c9a Display total build in GUI for demo purposes. 2010-04-14 18:22:35 +00:00
Mikko Mononen
7f11a61066 Updated VC project, fixed W4 warnings in slideshow stuff. 2010-04-13 13:18:40 +00:00
Mikko Mononen
d6d51b73ee Slideshow stuff for demo purposes. 2010-04-13 11:11:22 +00:00
Mikko Mononen
193f44a388 Issue 61: take 2, missing files. 2010-04-13 10:58:18 +00:00
Mikko Mononen
9bb95ef45b Issue 61: Everything compiles now without errors in warning level 4. 2010-04-13 09:39:33 +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
ca6bbf1889 Fix for Issue 57: snprintf undefined on win32 2010-03-24 08:06:53 +00:00
Mikko Mononen
a988697cc1 fixes for Issue 56: Fairly minor bugs picked up by static analysis tool, redux 2010-03-18 08:57:16 +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