Commit Graph

20 Commits

Author SHA1 Message Date
Marcus Comstedt
a7e49f2945 TOON: Grow size of path finding heap dynamically 2011-07-21 15:00:04 +02:00
Marcus Comstedt
e4427fd589 TOON: Fix off-by-one use of path heap array
The first element of the _data array in PathFindingHeap was never
used, fix that.
2011-07-21 13:09:18 +02:00
D G Turner
d035bcae82 TOON: Cleanup and Memory Usage Reduction fixes in PathFinding Heap.
This halves the size of the pathifnding heap, but adds warnings if push()
is attempted on a full heap.
2011-07-20 23:05:24 +01:00
Julien
367605d774 TSAGE: Allocate resource decoding buffer on the heap 2011-06-23 15:11:37 +08:00
Max Horn
88913c0139 ALL: Remove trailing whitespaces
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-06-20 00:59:48 +02:00
strangerke
69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
Bluddy
781e178df3 TOON: Reduced fragmentation by using a fixed value for pathfinding allocation
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-28 18:02:07 +03:00
Ori Avtalion
9414d7a6e2 JANITORIAL: Reduce header dependencies in shared code
Some backends may break as I only compiled SDL
2011-04-28 15:08:58 +03:00
strangerke
fae2be668f TOON: Cleanup 2011-03-10 01:32:03 +01:00
Sylvain Dupont
96f4cc4b8a TOON: Pathfinding & walking improvements
Use direct line path if possible
Smooth facing direction to avoid flickering (entering zanidu shuttle for example)
Fix possible lockups

svn-id: r55624
2011-01-29 20:12:27 +00:00
Sylvain Dupont
1b8678d5de TOON: Path finding bug fixes
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-12-27 21:56:52 +00:00
Sylvain Dupont
698f4c2b45 TOON: Walk animation improved
Smoothing direction changes. Still needs to be polished though.

svn-id: r54221
2010-11-13 01:15:37 +00:00
David Turner
5d30eeea95 TOON: Further corrections to close memory leaks.
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-08 03:14:32 +00:00
David Turner
4acad22d6e TOON: Corrections to close some memory leaks.
These corrections close a number of leaks in the Toon engine reported by running Valgrind with --leak-check=full option.

svn-id: r54127
2010-11-07 21:08:46 +00:00
Lars Persson
c0e2f1c6f8 TOON: Updated code to build properly for WINSCW and GCCE(symbian)
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-13 07:14:38 +00:00
Torbjörn Andersson
54b2a8c98d JANITORIAL: Cleanup (mostly whitespace)
svn-id: r53161
2010-10-12 04:19:58 +00:00
Sylvain Dupont
95c0e6cc42 TOON: Fixed uninitialized var
svn-id: r53156
2010-10-11 23:14:32 +00:00
Johannes Schickel
eef9f7b57b TOON: Ran astyle over the toon engine (+ some manual corrections).
svn-id: r53098
2010-10-09 11:11:26 +00:00
Eugene Sandulenko
e11637c7bc TOON: Normalized include paths
svn-id: r53089
2010-10-08 22:45:28 +00:00
Eugene Sandulenko
cf82bef02e TOON: Merged Toon engine to ScummVM trunk
svn-id: r53087
2010-10-08 22:30:39 +00:00