Commit Graph
280 Commits
Author SHA1 Message Date
Jakob Botsch Nielsen 7230dea2e3 Ensure SDL2.dll is copied for paths with spaces
The generated VS project would fail to copy the SDL2.dll file
if the solution or Bin path contained spaces.
2016-01-05 12:08:27 +01:00
Graham Pentheny 2eb3abfb60 Updated RecastDemo to SDL2
* Renamed a bunch of variables in main.cpp to be more descriptive.
* Removed unnecessary SDLMain.h and SDLMain.m OSX objective-c class as well as the plist, strings, xib and icns files, which are not needed.
* included cstdio in imguiRenderGL since SDL2 doesn't do it for us.
* Updated premake5 script to support SDL2 and to set the debug directory, as well as copy the SDL2.dll to the target directory on Windows.
* Updated readme with more descriptive, platform-specific demo project setup instructions
* Updated appveyor build script to build vs2015 as well.
* Updated Travis build script to build SDL2 from source, because they use Ubuntu 12.04 which doesn't have the libsdl2-dev package in its repositories.
2016-01-04 18:56:51 -05:00
Rafael Stahl 15025e8519 handle the case when allocSpan fails to allocate memory. adds bool return types to rcAddSpan, rcRasterizeTriangle and rcRasterizeTriangles 2015-12-18 16:41:02 +01:00
Ben Hymers e558e98592 Add AppVeyor and Travis CI build scripts
Build scripts download SDL, download (or build) premake5, generate projects, then build, in several configurations and platforms

Project now builds with premake5 instead of premake4 to allow VS2015 project generation
Tweaked SDL directory dependency to work better with CI
Update README
2015-12-16 01:33:18 +00:00
grahamboree 45b36f4d75 Removed redundant dtSqrt function and replaced calls to it with dtMathSqrtf 2015-01-03 16:00:00 -05:00
grahamboree 0482a3104c Fixed potential memory leak deserializing an InputGeom. 2014-12-24 15:35:36 -05:00
grahamboree ce4c63787b Fixed a potential memory leak when reading a mesh file. 2014-12-24 15:34:01 -05:00
grahamboree 91fbf05ec3 Uninitialized pointer in TempObstacleCreationTool 2014-12-24 15:32:50 -05:00
grahamboree 42afde6273 Fixed potential memory leak when loading test case files. 2014-12-24 15:29:47 -05:00
grahamboree 35ac315b70 Fixed potential memory leak when loading font file. 2014-12-24 15:22:23 -05:00
Mikko Mononen 65b844170f More verbose explanation of tile bounding box. 2014-12-18 12:07:12 +02:00
Mikko Mononen 0d48004dfb Merge pull request #29 from hgaiser/master
Add save/load functionality for TileCache
2014-12-13 13:50:38 +02:00
Mikko Mononen 56b6e1173d Merge pull request #58 from Kromster80/CopyPasteFix
Copy paste fix
2014-12-13 13:48:43 +02:00
Kromster80 dfed678d3d Fixed copy/paste bug 2014-11-28 18:40:53 +03:00
Kromster80 96ff08a255 Removed unnecessary assignments 2014-11-27 22:41:28 +03:00
axelrodR 8816e71535 Merge branch 'master' of https://github.com/memononen/recastnavigation 2014-06-19 17:04:14 +03:00
Mikko Mononen 3cb87f2432 Merge branch 'master' of https://github.com/memononen/recastnavigation 2014-06-13 13:25:07 +03:00
Mikko Mononen a89bb843d7 Added new method to partition heighfield
- added layer based heighfield partitioning
- the method is a bit slower than monotone partitioning, but does not
suffer from the long thin ploys
- the method partitions the heighfield into non-overlapping areas, but
does not try to resolve holes
- improved contour hole merging so that it can properly handle all
kinds of holes
- improved polygon triangulation to handle overlapping segments
- improved small and long polygon detail mesh generation
- updated samples to include all 3 partition methods and little
documentation to help to choose between them
2014-06-13 13:25:01 +03:00
axelrodR a246038b2a Merge branch 'master' of https://github.com/memononen/recastnavigation 2014-05-27 23:30:28 +03:00
Mikko Mononen d477061f83 - fixed missing index in calls to get query filter
- fixed bug in dtCrowd:addAgent getNearestPolygon()
2014-05-24 18:48:43 +03:00
Mikko Mononen ad74197c8f Getting rid of the phantom 2014-05-24 18:44:05 +03:00
Hans Gaiser 247c1f9b41 Add save/load functionality for TileCache 2014-04-29 13:07:54 +02:00
axelrodR 9b73c5cf51 Merge branch 'master' of https://github.com/memononen/recastnavigation 2014-04-23 14:53:04 +03:00
Mikko Mononen 4bcfb17f57 Merge pull request #22 from jadamcze/windowpos
Constrain the window's aspect ratio
2014-04-11 11:42:33 +03:00
Jonathan Adamczewski 1d05c18c00 Used read length (and suppress warning) 2014-03-24 00:16:35 -07:00
Jonathan Adamczewski 88484cbd7d Remove unused variable 2014-03-23 23:57:46 -07:00
Jonathan Adamczewski 97fb44e422 Update to latest stb versions
Includes minor compile warning fix
2014-03-23 23:57:39 -07:00
Jonathan Adamczewski c98c31f33b Constrain the window's aspect ratio 2014-03-23 23:53:57 -07:00
axelrodR 232187b9d6 changed the default options of the pathfinder to 0 (i.e. no raycasts), changed the the tester tool to display all points along the sliced path (a better default for non flat terrain). 2014-02-27 14:21:09 +02:00
axelrodR 5686f4a83c changed the NavMeshTesterTool so that pathFind and straightPath use the default options (i.e. not any-angle) while sliced path uses the any angle search. 2014-02-26 21:30:24 +02:00
Mikko Mononen 19e2d8dbe6 Fixed pos-over-poly case for finding nearest polygon 2014-02-16 11:27:45 +02:00
Mikko Mononen 6702143bc1 Fix for broken raycasts, changes how findNearestPoly works, slight API change
- test case supports raycasts
- changes how findNearestPoly works directly over polygons
- API change: findNearestPoly has additional parameter
2014-02-11 20:32:00 +02:00
Mikko Mononen bc964f9994 Fix for U-turn path case 2014-01-21 19:15:08 +02:00
Mikko Mononen 6469a99f11 Fixed item type in PolyRefArray from int to dtPolyRef 2014-01-19 15:32:09 +02:00
grahamboree 683acbb11c Silenced double->float conversion warning. 2013-10-14 16:38:03 -04:00
grahamboree b493e7e6f6 Added rcIngoreUnused which can be called to ignore unused parameters. 2013-10-14 16:32:20 -04:00
Cameron Hart 2d9033f3d4 Generate debug symbols in release builds and use fast floats. 2013-10-06 12:07:38 +11:00
Cameron Hart e01b1ef3b6 Fixed bug where debug and release libs would have the same file path.
This broke make when switching between debug and release configs.
2013-10-06 10:45:10 +11:00
Cameron Hart bbcb11fd14 Quick fix for Win32. Need to handle linking to SDL for x64 still. 2013-10-02 08:18:48 +10:00
Mikko Mononen be4d6fc180 Updated build system to premake4 2013-10-01 19:53:18 +02:00
Cameron Hart ee4fa30c73 Fixes for MSVC CMake build.
Look in the right place for SDL libs depending on arch.
Output exe's to RecastDemo/Bin, with output suffix so different
configs don't clash.
2013-09-29 14:38:44 +10:00
Mikko Mononen 15cd962073 Adjust result height for raycasting 2013-09-25 19:53:13 +02:00
Mikko Mononen 36a967ffcd Fixed google code Issue 234 2013-09-17 21:10:14 +02:00
Mikko Mononen b060188804 Updated Xcode project
- Added DetourMath.h Xcode project
- Added -Wignored-qualifiers to compiler settings
2013-09-16 20:47:57 +02:00
Matthew Endsley b0e4e6a834 Add wrappers for the standard math library
Simplifies transition to software based math libraries
for projects requiring determinism.
2013-09-15 20:09:01 -07:00
Mikko Mononen c48cd11038 Ignore more xcode user data
- ignore xcode user data
- added xcode4 workspace data
2013-09-15 21:02:14 +02:00
Mikko Mononen 0f47222795 Updated readme
- added README.md
- moved old release notes to wiki
- removed TODO.txt
- remove old readme
- added more stuff to .gitingore
2013-09-15 20:50:28 +02:00
Mikko Mononen 3fe0ce617d Added .gitignore and removed binaries
- Removed binaries since they are always out of sync anyways
- Added .gitignore for DS store files
2013-09-15 20:33:41 +02:00
Cameron Hart 57e003c3c6 CMake fix - removed hidden variable SDLMAIN_LIBRARY from TARGET_LINK_LIBRARIES, it's not needed. 2013-01-26 05:56:31 +00:00
Mikko Mononen 943ce1b263 Fix0ring r347... 2012-10-21 16:21:47 +00:00