aboutsummaryrefslogtreecommitdiff
path: root/engines/toon/character.cpp
AgeCommit message (Collapse)Author
2014-05-25TOON: Add a safeguard to avoid dereferencing a null pointer in playAnim()Strangerke
2014-02-18TOON: Make GPL headers consistent in themselves.Johannes Schickel
2013-10-30TOON: Fix CID 1002728, 1002729, 1003215, 1002731, 1002730Strangerke
2013-06-30TOON: Fix bug #3611869 - Drew sometimes ends up stuck walking foreversylvaintv
Canceled old character setFacing when a new one is issued during the character rotation. Bug #3611869: "TOON: Drew sometimes ends up stuck walking forever"
2012-07-07TOON: Remove unecessary getSystem() function.D G Turner
This was needed due to the unecessary protected shadow variable hiding the Engine superclass _system member variable.
2012-06-28TOON: Replace remaining int32 x,y,w and h coordinates with int16.D G Turner
2012-06-14TOON: Fix two latent off-by-one errors in Character Class.D G Turner
These were exposed by assertions from Common::Array usage.
2012-06-14TOON: Replace Character _currentPath static buffers with Common::Array.D G Turner
2012-06-14TOON: Migrate Character API x,y coordinates and subclasses to int16.D G Turner
This harmonises the usage with Common::Point.
2012-06-10TOON: Minor type fixes and cleanups in Pathfinding class.D G Turner
2012-06-10TOON: Migrate Pathfinding API x,y coordinates to int16.D G Turner
This harmonises the usage with Common::Point.
2012-02-15JANITORIAL: Fix missing whitespace in pointer castTarek Soliman
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)
2011-11-27TOON: Clean up Common::String usageWillem Jan Palenstijn
Thanks to Sylvain for testing.
2011-08-07JANITORIAL: Remove trailing empty lines.Christoph Mallon
2011-07-09TOON: Fix bad character visibility after restoresylvaintv
Bug #3307195: "TOON: Two instances of Flux Wildly"
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-04-28JANITORIAL: Reduce header dependencies in shared codeOri Avtalion
Some backends may break as I only compiled SDL
2011-04-17TOON: Fix Flux staying outside of the dressing roomsylvaintv
2011-04-06TOON: Fix several Valgrind issuessylvaintv
Maybe caused random crashes on reading invalid memory
2011-03-10TOON: Cleanupstrangerke
2011-03-10TOON: Janitorial: Suppress blanks at end of linesstrangerke
2011-01-30TOON: More Drew visibility fixesSylvain Dupont
In the castle, Drew disappeared if you clicked twice on the closed door. svn-id: r55649
2011-01-29TOON: Bug #3124518 with disappearing inventory items fixedSylvain Dupont
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-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-11-28TOON: Attempt to fix crash when Bricabrac puts on his glassesTorbjörn Andersson
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-13TOON: Walk animation improvedSylvain Dupont
Smoothing direction changes. Still needs to be polished though. svn-id: r54221
2010-11-10TOON: Even more 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 few still remain. svn-id: r54185
2010-11-09TOON: More 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: r54176
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-01ENGINES: Get rid of some (f)printfsMax Horn
svn-id: r54011
2010-10-22TOON: Fix conversation freeze in the beginning of chapter 2Sylvain Dupont
A missing talk animation was started svn-id: r53723
2010-10-22TOON: More talk animation fixesSylvain Dupont
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-22TOON: Fixed Bug #3089974 and #3086015Sylvain Dupont
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-16TOON: Added most of the remaining Advanced Engine FeaturesSylvain Dupont
Loading/Saving during runtime, Advanced Pausing, Load savestate via launcher, RTL svn-id: r53549
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-11TOON: Fixed Flux disappearing in barn when talking to the cowSylvain Dupont
Several animations are not present for every Flux facing. There is an hardcoded table to handle this. svn-id: r53157
2010-10-11TOON: Reduced CPU usage by about 40%Filippos Karapetis
svn-id: r53151
2010-10-10TOON: Fixed bad Flux state when restoring a gameSylvain Dupont
svn-id: r53127
2010-10-10TOON: Fix end of idle animationsSylvain Dupont
svn-id: r53118
2010-10-09TOON: Constify some more tables.Johannes Schickel
svn-id: r53099
2010-10-09TOON: Ran astyle over the toon engine (+ some manual corrections).Johannes Schickel
svn-id: r53098
2010-10-09TOON: Make some static data tables const.Johannes Schickel
svn-id: r53092
2010-10-08TOON: Normalized include pathsEugene Sandulenko
svn-id: r53089
2010-10-08TOON: Merged Toon engine to ScummVM trunkEugene Sandulenko
svn-id: r53087