aboutsummaryrefslogtreecommitdiff
path: root/engines/toon
AgeCommit message (Collapse)Author
2011-01-22TOON: Fix Further Memory Leaks in Savegame Loading.David Turner
svn-id: r55408
2011-01-22TOON: Fix Uninitialized Memory Read During Cursor Animation on Load.David Turner
This was mainly due to _mouseX, which along with the associated variables was not defined until the first mouse event. This was detected by Valgrind. svn-id: r55402
2011-01-22TOON: Fix for Memory Leak during Savegame Loading.David Turner
svn-id: r55401
2011-01-21TOON: Fix Memory Leak when opening Inventory.David Turner
svn-id: r55400
2011-01-21TOON: Bug #3153351 fixed with disappearing DrewSylvain Dupont
Bug #3153351: "TOON: Drew vanishes when fixing churnatron" Made sure the scale is never zero. svn-id: r55399
2011-01-21TOON: Always reset video playback to lowRes when loading new movieSylvain Dupont
svn-id: r55398
2011-01-21TOON: Fix double declaration warningSylvain Dupont
Thanks to clone2727 ;) svn-id: r55396
2011-01-21TOON: Fix all the glitches in smacker video playbackSylvain Dupont
Handle manually 2x scaling when it is needed now. svn-id: r55393
2010-12-28TOON: Add mapping for upper 'ç' and for plenking, both used in french versionArnaud Boutonné
svn-id: r55057
2010-12-28TOON: Fixed memory corruption in several roomsSylvain Dupont
Some mask line drawings were writing outside the buffer. svn-id: r55055
2010-12-28TOON: Removed useless confusing code in conversation process partSylvain Dupont
svn-id: r55054
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-12-26TOON: Fixed Bug #3124527 with Dungeon freezeSylvain Dupont
Bug #3089974: "TOON: Game freezes in act 2 when thrown to the prison" Wrong pointer increment in conversation process code. svn-id: r55047
2010-12-26TOON: Fix problem when exiting the king caveSylvain Dupont
svn-id: r55042
2010-12-16VIDEO: Make VideoDecoder::decodeNextFrame() return a const Surface pointerMatthew Hoops
svn-id: r54927
2010-12-07DEBUG: Let GUI::Debugger::preEnter and postEnter (un)pause the engineMax Horn
svn-id: r54815
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-19COMMON: Split common/stream.h into several headersMax Horn
svn-id: r54385
2010-11-19COMMON: Cleanup EventRecorderMax Horn
svn-id: r54355
2010-11-13TOON: Fix free/malloc mismatchSylvain Dupont
svn-id: r54224
2010-11-13TOON: Fix more memory leaksSylvain Dupont
Mainly leaks in audio and animations svn-id: r54223
2010-11-13TOON: Fixed menu music leakSylvain Dupont
svn-id: r54222
2010-11-13TOON: Walk animation improvedSylvain Dupont
Smoothing direction changes. Still needs to be polished though. svn-id: r54221
2010-11-12TOON: Fix audio crashs and more memory leaksSylvain Dupont
svn-id: r54219
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-07TOON: Fix mismatching new/delete[] on _hotspots.Johannes Schickel
svn-id: r54130
2010-11-07TOON: Cleanup.Johannes Schickel
svn-id: r54129
2010-11-07TOON: Fix debug console by implementing getDebugger.Johannes Schickel
svn-id: r54128
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-11-07TOON: Added basic debugging console to engineDavid Turner
Since Toon uses Debug Channels, this allows for the interactive setting of debugflags as well as providing a base for adding further debugging commands. However, the hotkey for this is currently disabled as it causes a segfault. Not sure why. svn-id: r54123
2010-11-07ENGINES: Unify code layout of all ADParams instancesMax Horn
svn-id: r54105
2010-11-04TOON: Fix sound effect archive destroy Sylvain Dupont
Variable not initialized. Crashed when no sound effects were present in the room (Bug fixed thanks to Thomas) svn-id: r54076
2010-11-04TOON: Fix ambient audio destroy in chapter 2Sylvain Dupont
(Thanks to Thomas) svn-id: r54075
2010-11-01ENGINES: Replace many printfs by warning/debug/debugNMax Horn
svn-id: r54031
2010-11-01ENGINES: Get rid of some (f)printfsMax Horn
svn-id: r54011
2010-11-01COMMON: Rename String::printf() to String::format()Max Horn
This is a first step towards getting rid of all uses of regular printf, fprintf, vprintf, vfprintf, puts, fputs, etc. in our codebase. The name format() reflects the purpose of the function, and parallels String.format() in Java, boost::format, and others. svn-id: r54004
2010-10-29TOON: Stops all Sfx/voice when exiting a roomSylvain Dupont
Caused crashs when exiting when a sfx or voice was still playing Bug found by Thomas svn-id: r53928
2010-10-28TOON: Fixed some animation glitches for small spritesSylvain Dupont
Fixed problems when the uncompressed is smaller than compressed size Bug fix sent by Thomas It also fixes Bug fix #3086004 : "TOON: Lights above WACME doors incorrect" svn-id: r53908
2010-10-26TOON: Fix SetMousePos wrong positionSylvain Dupont
When the game was in a close up, cmd_Set_Mouse_Pos was setting a out-of-window mouse position. svn-id: r53866
2010-10-26TOON: Implement cmd_Set_Anim_Scale_SizeSylvain Dupont
Used to rescale the knight animation when the knight is moved around the room in Chapter 2 svn-id: r53865
2010-10-25TOON: Fixed some Z-order issues for animationsSylvain Dupont
Happened when the flag 0x20 was set in Init_Scene_Anim It says to use the background layer system svn-id: r53836
2010-10-25TOON: Implemented Ambient SFXSylvain Dupont
For example used in arcade playing sounds, lullaby music, toilet game win sound effects... svn-id: r53834
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: Close correctly sound packsSylvain Dupont
svn-id: r53720
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: Fix for a small typo in talking stateSylvain Dupont
svn-id: r53710
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: Prevent quick load/save when it's not currently possible Sylvain Dupont
svn-id: r53550