Commit graph

24 commits

Author SHA1 Message Date
Eugene Sandulenko
a466106bbf
JANITORIAL: Fix grammar in Toon secondary license. Courtesy of md5 2024-03-24 23:24:02 +01:00
Eugene Sandulenko
987757762a
TOON: Dual-license the engine
Confirmed with the engine author, SylvainTV
2024-03-24 18:11:03 +01:00
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Johannes Schickel
1d65a915ba TOON: Make GPL headers consistent in themselves. 2014-02-18 02:39:39 +01:00
D G Turner
4aa0ec7fc4 TOON: Change Pathfinding weight buffers to uint16.
This should result in a significant saving in RAM usage.
Have added warning outputs if the weights exceed the maximum limit.
2012-06-14 17:23:01 +01:00
D G Turner
fcfff28c5f TOON: Minor type fixes and cleanups in Pathfinding class. 2012-06-10 21:12:01 +01:00
D G Turner
1383258000 TOON: Migrate Pathfinding Path Buffers to Common::Point.
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-10 20:45:37 +01:00
D G Turner
5458127d97 TOON: Migrate Pathfinding API x,y coordinates to int16.
This harmonises the usage with Common::Point.
2012-06-10 16:00:26 +01:00
D G Turner
2d0cedab1f TOON: Minor cleanups in Pathfinding class. No functional change. 2012-06-09 13:43:42 +01:00
D G Turner
a693603e1e TOON: Replace Pathfinding _tempPath static buffers with Common::Array. 2012-06-09 11:58:26 +01:00
D G Turner
380d3f000a TOON: Further cleanup to Pathfinding Class.
Removal of some unused variables, logical reordering of functions and
minor changes to reduce minor duplication. No functional changes.
2012-06-07 14:41:04 +01:00
D G Turner
70f09e4ee3 TOON: Reduce unecessary linkages in Pathfinding class. 2012-06-07 13:50:24 +01:00
D G Turner
8deb8b3d42 TOON: Minor cleanup and formatting fixes to Pathfinding class. 2012-06-07 12:33:13 +01:00
D G Turner
dd558510dc TOON: Move PathFindingHeap API to use int16 for x,y coordinates.
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).
2012-06-07 08:39:38 +01: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
strangerke
69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02: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
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