aboutsummaryrefslogtreecommitdiff
path: root/engines/bbvs/walk.cpp
AgeCommit message (Collapse)Author
2016-09-03JANITORIAL: Make GPL headers uniformEugene Sandulenko
2015-11-23BBVS: Fix bug #6954: Pathfinding bug in Prisonjohndoe123
The bug was caused by a check introduced by me to avoid division-by-zero errors when the source and dest x values are equal. This had the side effect that it didn't work well in this case outlined in the bug report, maybe also in other places. I'm not sure how to handle a DBZ correctly here so I'm setting the x delta to 1.0 if it would normally be 0.0, which seems to work after walking around in some scenes.
2014-10-28BBVS: Remove trailing whitespaceFilippos Karapetis
2014-06-02BBVS: Use floating point constants of type float.Johannes Schickel
2014-06-02BBVS: Silence double->float conversion warning.Johannes Schickel
This might not be obvious to a C++ developer, but we use C's sin which is *always* double. Thus, sin will return a double and therefore some compilers might warn about this conversion.
2014-06-01BBVS: Silence gcc conversion warningsMatthew Hoops
2014-03-20BVBS: Fix some uninitialized variablesStrangerke
2014-02-22BBVS: Move some code out of bbvs.cppFilippos Karapetis