aboutsummaryrefslogtreecommitdiff
path: root/engines/toon/toon.cpp
AgeCommit message (Collapse)Author
2011-02-05TOON: Add some sleep if the game refreshes too fastSylvain Dupont
Prevents the game from using 100% CPU? svn-id: r55786
2011-02-04TOON: Fix Amiga compileSylvain Dupont
svn-id: r55773
2011-02-01TOON: Remove misc/ from paths since it's in global foldersSylvain Dupont
Caps'ed the filenames, even if it should not matter normally svn-id: r55714
2011-01-30TOON: Add coordinates clamping for safetySylvain Dupont
In some rare cases, Drew position is outside the valid area. Made sure it does not crash in these cases. svn-id: r55655
2011-01-30TOON: Fix the last known z-order issuesSylvain Dupont
Rewrote the Z-order management, it's now very close to the original code svn-id: r55650
2011-01-29TOON: Fix some palette issuesSylvain Dupont
- In fade out when leaving certain rooms - When loading a game in a cutaway/closeup state svn-id: r55625
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
2011-01-29TOON: Reenable keyboard eventsSylvain Dupont
Was disabled when some sticky keyboard flags were activated svn-id: r55617
2011-01-29TOON: Bug #3166570 fixed. Magnifier effect when selecting Enigma bookSylvain Dupont
Bug #3166570: "TOON: Wrong mouse-cursor for Item "Book-Enigma" svn-id: r55616
2011-01-27TOON: Check for the state of modifier keys (control/alt/shift) when handling ↵Filippos Karapetis
game hotkeys Fixes bug #3166522 at engine level (fix 2/2) svn-id: r55568
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
2010-12-28TOON: Removed useless confusing code in conversation process partSylvain Dupont
svn-id: r55054
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-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 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-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-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: 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: Prevent quick load/save when it's not currently possible Sylvain Dupont
svn-id: r53550
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-16TOON: Implemented the 4 different mute modes for sound/textSylvain Dupont
As specified in the hotkeys screen (music,dialog,sound,text on/off) Sounds are still played but with a volume = 0 (for timing issues) svn-id: r53545
2010-10-16TOON: Fix bugs #3085967 and #3085969 about guards danceSylvain Dupont
Bug #3085969: "TOON: Missing dialogue for Palace guards dance" Bug #3085969: "TOON: Missing dialogue for Palace Guards sequence" svn-id: r53543
2010-10-16TOON: Fix inventory autoclose when the click is too longSylvain Dupont
svn-id: r53542
2010-10-16TOON: Removed useless debug printfSylvain Dupont
svn-id: r53541
2010-10-16TOON: Fixed bug #3085999 with bad mouse button behaviorSylvain Dupont
Bug #3085999: TOON: "Exiting inventory screen loop" Now the events are fired on mouse down instead of on mouse up. svn-id: r53540
2010-10-16TOON: Fixed Bug #3086564 with freezing conversationSylvain Dupont
Bug #3086564: "TOON: Conversation freeze" There was an error in hardcoded conversation flag function Fixed also all endianess problems in conversations svn-id: r53539
2010-10-16TOON: Fixed bug #3086000 there was no magnifier effectSylvain Dupont
Bug #3086000: "TOON: Magnifying glass cursor drawn incorrectly" Zoom magnifier postprocess fx has been implemented svn-id: r53529
2010-10-15TOON: Fixed Bug #3085978 with "Exit Not Defined" appearingSylvain Dupont
Bug #3085978: "TOON: "Exit not defined" when leaving cellar" svn-id: r53521
2010-10-15TOON: Fixed bug #3084738 with loading bottomless bag stateSylvain Dupont
Bug #3084738: "TOON: Vanishing bottomless bag" svn-id: r53520
2010-10-15TOON: Fixed code analysis warning - bug #3087867Filippos Karapetis
svn-id: r53502
2010-10-14TOON: Fix some labels of the Spanish version.Jordi Vilalta Prat
The solution was suggested by Strangerke after realising it looked like a copy-paste typo from the Russian version. svn-id: r53458
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-12TOON: Fixed bug #3085971 with missing "fail" sound sfxSylvain Dupont
Bug #3085971: "TOON: Missing sfx for invalid Flux request" svn-id: r53260