D G Turner
cfe7bf614b
TOON: Remove unecessary getSystem() function.
...
This was needed due to the unecessary protected shadow variable
hiding the Engine superclass _system member variable.
2012-07-07 14:37:15 +01:00
D G Turner
78b8ca5c7f
TOON: Replace remaining int32 x,y,w and h coordinates with int16.
2012-06-28 07:07:08 +01:00
D G Turner
acaf8f7623
TOON: Fix two latent off-by-one errors in Character Class.
...
These were exposed by assertions from Common::Array usage.
2012-06-14 21:02:44 +01:00
D G Turner
d2eab05e7d
TOON: Replace Character _currentPath static buffers with Common::Array.
2012-06-14 13:38:45 +01:00
D G Turner
87eb651886
TOON: Migrate Character API x,y coordinates and subclasses to int16.
...
This harmonises the usage with Common::Point.
2012-06-14 00:19:34 +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
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
Tarek Soliman
a4798602d7
JANITORIAL: Fix missing whitespace in pointer cast
...
find -name '*.h' -or -name '*.cpp' | xargs sed -r -i 's@\(([A-Za-z0-9]+)\*\)@(\1 *)@g'
This seems to have caught some params as well which is not undesirable IMO.
It also caught some strings containing this which is undesirable so I
excluded them manually. (engines/sci/engine/kernel_tables.h)
2012-02-15 10:07:10 -06:00
Willem Jan Palenstijn
f9ad14dc2d
TOON: Clean up Common::String usage
...
Thanks to Sylvain for testing.
2011-11-27 00:53:39 +01:00
Christoph Mallon
23a0f5318c
JANITORIAL: Remove trailing empty lines.
2011-08-07 13:53:33 +02:00
sylvaintv
53985000db
TOON: Fix bad character visibility after restore
...
Bug #3307195 : "TOON: Two instances of Flux Wildly"
2011-07-09 01:50:38 +02:00
strangerke
69b1485a22
GIT: Clean up: Suppress SVN tags, now useless
2011-05-12 01:16:22 +02: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
sylvaintv
1fd034f326
TOON: Fix Flux staying outside of the dressing room
2011-04-17 15:46:55 +02:00
sylvaintv
3dc87c4f3d
TOON: Fix several Valgrind issues
...
Maybe caused random crashes on reading invalid memory
2011-04-06 23:07:11 +02:00
strangerke
fae2be668f
TOON: Cleanup
2011-03-10 01:32:03 +01:00
strangerke
cf657d09e8
TOON: Janitorial: Suppress blanks at end of lines
2011-03-10 00:25:29 +01:00
Sylvain Dupont
01c32f7287
TOON: More Drew visibility fixes
...
In the castle, Drew disappeared if you clicked twice on the closed door.
svn-id: r55649
2011-01-30 00:44:51 +00:00
Sylvain Dupont
9c17cedd40
TOON: Bug #3124518 with disappearing inventory items fixed
...
Bug #3124518 : "TOON: loss of inventory items in Bricabrac's machine room"
Was caused by recursive walkTo that were not canceling out.
svn-id: r55641
2011-01-29 23:03:08 +00: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
Torbjörn Andersson
6b8a3dba70
TOON: Attempt to fix crash when Bricabrac puts on his glasses
...
This was a regression in r54223, and it's the most direct fix I can
think of. The problem seems to be that sys_Cmd_Remove_Scene_Anim()
clears the character's _animationInstance while character::playAnim()
is waiting "for the character to be ready".
My fix was to treat _animationInstance NULL as another sign that the
wait is over, but maybe the real fix is for sys_Cmd_Remove_Scene_Anim()
to do more than just clear the variable, e.g. stop the script or
something like that?
svn-id: r54549
2010-11-28 20:53:57 +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
52ecbd4305
TOON: Even more 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 few still remain.
svn-id: r54185
2010-11-10 06:22:18 +00:00
David Turner
a74b8ad67f
TOON: More 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: r54176
2010-11-09 23:57:56 +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
Max Horn
9a350f4398
ENGINES: Get rid of some (f)printfs
...
svn-id: r54011
2010-11-01 16:04:47 +00:00
Sylvain Dupont
3fb739f90a
TOON: Fix conversation freeze in the beginning of chapter 2
...
A missing talk animation was started
svn-id: r53723
2010-10-22 23:35:56 +00:00
Sylvain Dupont
9cbb0d5579
TOON: More talk animation fixes
...
There was a conflict between the idle animation and the talk animation
in some cases (showing the chain anim & idle anim in the arcade)
svn-id: r53713
2010-10-22 21:42:48 +00:00
Sylvain Dupont
66e3815963
TOON: Fixed Bug #3089974 and #3086015
...
Bug #3089974 : "TOON: Two Drews when exiting King's bedroom"
Bug #3086015 : "TOON: Woof doesn't idle correctly"
Most talking animation bugs are fixed with this.
The mouse is now hidden when entering a room.
svn-id: r53706
2010-10-22 20:53:25 +00:00
Sylvain Dupont
40d38fcc0d
TOON: Added most of the remaining Advanced Engine Features
...
Loading/Saving during runtime, Advanced Pausing,
Load savestate via launcher, RTL
svn-id: r53549
2010-10-16 21:58:33 +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
Sylvain Dupont
eb52eb32a0
TOON: Fixed Flux disappearing in barn when talking to the cow
...
Several animations are not present for every Flux facing.
There is an hardcoded table to handle this.
svn-id: r53157
2010-10-11 23:16:15 +00:00
Filippos Karapetis
576d6429bc
TOON: Reduced CPU usage by about 40%
...
svn-id: r53151
2010-10-11 21:27:28 +00:00
Sylvain Dupont
927f560eb2
TOON: Fixed bad Flux state when restoring a game
...
svn-id: r53127
2010-10-10 16:52:15 +00:00
Sylvain Dupont
7a7eabb139
TOON: Fix end of idle animations
...
svn-id: r53118
2010-10-10 14:27:19 +00:00
Johannes Schickel
571fe5d21e
TOON: Constify some more tables.
...
svn-id: r53099
2010-10-09 11:18:19 +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
Johannes Schickel
2a984d1d3f
TOON: Make some static data tables const.
...
svn-id: r53092
2010-10-09 00:26:58 +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