Sergey Sharybin
41e5040e2f
Use static context trick for all platforms.
...
Should be safe until modifier stack is not threaded.
Solves issues with mingw and older glibc version (like used in release environment).
2011-09-15 15:29:40 +00:00
Antony Riakiotakis
8a977cbcc9
fix compilation for MinGW by substituting qsort_r with qsort. What aversion do MinGW guys have for including '_r' variants of functions anyway?
...
Warning: a clean build will be needed probably to account for recent merge changes, or link errors will occur.
2011-09-13 19:51:58 +00:00
Sergey Sharybin
7548333b55
Fix typo in own commit for raycast library
2011-09-13 16:54:01 +00:00
Sergey Sharybin
4e9381bc35
Fixed for navmesh on FreeBSD. Oatch by sambler, thanks!
2011-09-10 14:55:14 +00:00
Sergey Sharybin
bdd4aa27b0
Another set of fixes for recats: osx uses different order of arguments for sort_r
...
and it's callback.
Also do not use char constants like 'NAVM' which is casting to int.
And added defautl section to switch in KX_NavMeshObject::DrawNavMesh.
2011-09-10 14:12:15 +00:00
Campbell Barton
fb4abf2e41
fixed linking with CMake
2011-09-10 03:42:45 +00:00
Campbell Barton
0128218254
recast and detour patch now builds again with GCC
...
- rearrange structs to work for 64bit
- define all vars before goto's
- ifdefs for qsort_r/qsort_s
- dont cast pointers to int only for NULL checks
- dont printf STR_String directly, get the char pointer from it
also minor change to gpu py module, no need to pass empty tuple to PyObject_CallObject, can just be NULL
2011-09-10 03:07:26 +00:00
Nick Samarin
5ceb8b3d35
synched with trunk at revision 37212
2011-06-05 18:51:00 +00:00
Nick Samarin
ea7353dcd7
synched with trunk at revision 34793
2011-02-16 16:47:48 +00:00
Benoit Bolsee
a52f51df27
Recast: add SCons build system.
2010-09-01 21:43:22 +00:00
Benoit Bolsee
0bca249298
Add CMake build system on Recast&Navigation branch
2010-08-31 22:08:01 +00:00
Benoit Bolsee
b6b277cac0
Detour: remove unused files
2010-08-31 21:40:11 +00:00
Benoit Bolsee
2b4c0cd43b
Recast: remove unused files
2010-08-31 21:32:58 +00:00
Nick Samarin
a2372308d7
integrated adaptive sampling algorithm for obstacle avoidance
2010-08-04 19:32:37 +00:00
Nick Samarin
dbc8d4274f
- moved navmesh conversion code to ED_Editors project (ED_navmesh_conversion.h and navmesh_conversion.cpp files)
...
- added new custom data layer CD_Recast
2010-07-30 13:02:32 +00:00
Nick Samarin
870e0e37e5
- fixed bug in steering actuator: calculate 2d distance to target for seeking and fleeing
...
- added possibility to add navmesh modifier manually in order to transform manually created mesh to navigation mesh (with navigation polygons data layer)
- added possibility to use existed navigation mesh object for navmesh generation (so new object won't be created, but existed object will be updated)
2010-07-29 14:06:48 +00:00
Nick Samarin
14171324b7
- reworked conversion to dtStatNavMesh in KX_NavMeshObject to support navigation mesh editing
2010-07-28 19:43:05 +00:00
Nick Samarin
56784fcde9
added converting mesh of game object to Detour StatNavMesh (game object is defined by property "navmesh")
2010-05-19 01:42:17 +00:00
Nick Samarin
34058faa0e
added RecastNavigation library as extern project
2010-05-19 01:01:21 +00:00