aboutsummaryrefslogtreecommitdiff
path: root/src/pathfinder.cpp
Commit message (Collapse)AuthorAge
* Pathfinder: use core::aabbox3d instead of own typeest312016-05-01
| | | | | There is no need to reinvent the wheel here, we have great classes from irrlicht.
* Pathfinder: Fix styleest312016-05-01
| | | | | | | | | | | * Fix naming style for methods and classes: Use camelCase for methods and PascalCase for classes as code style demands it. And use sneak_case for methods that are not member of a class. * Replace "* " with " *" for Pointers * Same for references * Put function body opening braces on new line * Other misc minor non functional style improvements
* Move pathfinder classes to cpp fileest312016-05-01
| | | | | | | | | | | | | | | There is no need to put them into the header, they are solely used inside the pathfinder. Another advantage of this change is that only the pathfinder.cpp has to be compiled if PATHFINDER_DEBUG gets defined or undefined, not all files including the .h. This commit moves the pathfinder classes to the cpp file without modifications. Also, the PATHFINDER_DEBUG macro gets moved to the cpp file and the PATHFINDER_CALC_TIME macro gets moved to a plce where it actually does work.
* Change i++ to ++iDavid Jones2015-08-25
|
* Fix pathfinder to produce more useful pathsobneq2015-05-03
| | | | | - Fix unintended negation of condition - Remove line_of_sight 'optimization'
* Remove noisy error messages, prepend "pathfinder: " to pathfinder messagessapier2014-02-03
|
* Fix bug in pathfinder causing endless loop in some situationssapier2013-08-31
|
* Use errorstream instead of std::cout in pathfinder.cppPilzAdam2013-08-16
|
* Omnicleanup: header cleanup, add ModApiUtil shared between game and mainmenuKahrl2013-08-14
|
* Math mapgen fix, ip show on connect, pathfinder segfault fixproller2013-06-23
|
* fix bug in scriptapi line_of_sightsapier2013-04-10
| | | | fix warnings for pathfinder debug traces
* Add Dijkstra A* and A* without prefetching pathfind algorithmssapier2013-04-06