aboutsummaryrefslogtreecommitdiff
path: root/engines/toon/path.h
AgeCommit message (Collapse)Author
2012-06-14TOON: Change Pathfinding weight buffers to uint16.D G Turner
This should result in a significant saving in RAM usage. Have added warning outputs if the weights exceed the maximum limit.
2012-06-10TOON: Minor type fixes and cleanups in Pathfinding class.D G Turner
2012-06-10TOON: Migrate Pathfinding Path Buffers to Common::Point.D G Turner
This removes the need for i32Point, which used int32, instead of the int16 of Common::Point. Since the co-ordinates passed in are in int16, this is safe. Tested with no regressions. Also, removed return value from walkLine function as it always returned true.
2012-06-10TOON: Migrate Pathfinding API x,y coordinates to int16.D G Turner
This harmonises the usage with Common::Point.
2012-06-09TOON: Minor cleanups in Pathfinding class. No functional change.D G Turner
2012-06-09TOON: Replace Pathfinding _tempPath static buffers with Common::Array.D G Turner
2012-06-07TOON: Further cleanup to Pathfinding Class.D G Turner
Removal of some unused variables, logical reordering of functions and minor changes to reduce minor duplication. No functional changes.
2012-06-07TOON: Reduce unecessary linkages in Pathfinding class.D G Turner
2012-06-07TOON: Minor cleanup and formatting fixes to Pathfinding class.D G Turner
2012-06-07TOON: Move PathFindingHeap API to use int16 for x,y coordinates.D G Turner
The internal x,y point representation was already changed to int16 anyway, so this just harmonises this with the external API (and with Common::Point which uses int16).
2011-07-20TOON: Cleanup and Memory Usage Reduction fixes in PathFinding Heap.D G Turner
This halves the size of the pathifnding heap, but adds warnings if push() is attempted on a full heap.
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-03-10TOON: Cleanupstrangerke
2011-01-29TOON: Pathfinding & walking improvementsSylvain Dupont
Use direct line path if possible Smooth facing direction to avoid flickering (entering zanidu shuttle for example) Fix possible lockups svn-id: r55624
2010-12-27TOON: Path finding bug fixesSylvain Dupont
Allows Flux to walk close to Drew if really needed to prevent total path block. Prevents path finding if the character is out of the screen svn-id: r55051
2010-11-13TOON: Walk animation improvedSylvain Dupont
Smoothing direction changes. Still needs to be polished though. svn-id: r54221
2010-11-08TOON: Further corrections to close memory leaks.David Turner
These corrections close a number of leaks in the Toon engine reported by running Valgrind with --leak-check=full option, but a significant number still remain. svn-id: r54136
2010-10-09TOON: Ran astyle over the toon engine (+ some manual corrections).Johannes Schickel
svn-id: r53098
2010-10-08TOON: Normalized include pathsEugene Sandulenko
svn-id: r53089
2010-10-08TOON: Merged Toon engine to ScummVM trunkEugene Sandulenko
svn-id: r53087