aboutsummaryrefslogtreecommitdiff
path: root/engines/toon/path.cpp
AgeCommit message (Collapse)Author
2014-02-18TOON: Make GPL headers consistent in themselves.Johannes Schickel
2013-10-30TOON: Fix CID 1002430, 1002431, 1002727Strangerke
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 retPath static buffers with Common::Array.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-12-08TOON: Replace usage of 'goto'.D G Turner
2011-07-21TOON: Grow size of path finding heap dynamicallyMarcus Comstedt
2011-07-21TOON: Fix off-by-one use of path heap arrayMarcus Comstedt
The first element of the _data array in PathFindingHeap was never used, fix that.
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-06-23TSAGE: Allocate resource decoding buffer on the heapJulien
2011-06-20ALL: Remove trailing whitespacesMax Horn
This tries to make our code a bit more compliant with our code formatting conventions. For future use, this is the command I used: git ls-files "*.cpp" "*.h" | xargs sed -i -e 's/[ \t]*$//'
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-04-28TOON: Reduced fragmentation by using a fixed value for pathfinding allocationBluddy
Toon makes some rather big allocations for pathfinding, alternating between 3MB and 6MB). In small devices, this creates really bad fragmentation which can cause crashes. I set the size at a fixed 6MB.
2011-04-28JANITORIAL: Reduce header dependencies in shared codeOri Avtalion
Some backends may break as I only compiled SDL
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-11-07TOON: Corrections to close some memory leaks.David Turner
These corrections close a number of leaks in the Toon engine reported by running Valgrind with --leak-check=full option. svn-id: r54127
2010-10-13TOON: Updated code to build properly for WINSCW and GCCE(symbian)Lars Persson
Added templates to MAX & MIN functions. Correct usage of OpcodeV2(instead of Opcode) Match implementation with function definition. (int32 is not == int on all platforms) svn-id: r53401
2010-10-12JANITORIAL: Cleanup (mostly whitespace)Torbjörn Andersson
svn-id: r53161
2010-10-11TOON: Fixed uninitialized varSylvain Dupont
svn-id: r53156
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