aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm
AgeCommit message (Collapse)Author
2010-04-11Apply patch #2984508 - "GSoC: SCUMM stopped audio from playing while saving"Ori Avtalion
This is a fix for bug #2090846 - "SCUMM: saving a game will play music before finishing" svn-id: r48630
2010-04-11Setup and destroy a dummy cursor and palette in the Engine class.Johannes Schickel
The idea behind this is exactly the same as behind r48620, but it affects all engines, thus engine authors can now use CursorMan.replaceCursor without having to worry about possible memory leaks or the like. svn-id: r48626
2010-04-11Enable the cursor palette in ScummEngine_v70he::setDefaultCursor just to ↵Johannes Schickel
avoid problems in case it was disabled earlier. svn-id: r48622
2010-04-11Fix a memory leak in SCUMM which was caused by the SCUMM engine never ↵Johannes Schickel
removing its cursor from CursorMan. The problem here was that SCUMM only uses CursorMan.replaceCursor. When no cursor had been setup before it would cause the SCUMM cursor to be never removed from CursorMan, since in this case replaceCursor just uses pushCursor. To avoid this problem I am just pushing a dummy cursor (and palette, since that is used in SCUMM HE games too) on engine setup and removing it on engine destruction. Actually every engine should setup their first cursor via CursorMan.pushCursor and then on quit remove it again via CursorMan.popCursor. Using CursorMan.replaceCursor is *no* good idea for the first cursor to setup, since that might either replace an existing cursor, thus destroying the caller's cursor, or pushing a new cursor on the stack, which might result in a leak. This would also result in making a call to CursorMan.popCursor unsafe, since that might also impact the caller's cursor setup again. svn-id: r48620
2010-04-06GUI: Unify various definitions of kOKCmd and move it to namespace GUIMax Horn
svn-id: r48564
2010-04-06SCUMM: Make HelpDialog & ConfigDialog internalMax Horn
svn-id: r48562
2010-04-06Remove old & undocumented MSVC 6 workaroundMax Horn
svn-id: r48561
2010-04-04Fix bug #2960022 - PUTTPUTT 1: No Load/Save possible.Travis Howell
svn-id: r48499
2010-04-03Fix bug #2959947 - HE: Broken saves show in launcher.Travis Howell
svn-id: r48489
2010-03-22Patch #2973283: SCUMM: Unneeded pointer dereferenceMax Horn
svn-id: r48360
2010-03-22Patch #2973290: Semicolon cleanupMax Horn
svn-id: r48359
2010-03-18COMMON: Get rid of Common::StringListMax Horn
svn-id: r48287
2010-03-18SCUMM: Add WORKAROUND commentMax Horn
svn-id: r48284
2010-03-18COMMON: Move Common::RandomSource to common/random.*Max Horn
svn-id: r48279
2010-03-18Switch from Common::tag2string(foo).c_str() to tag2str(foo)Max Horn
svn-id: r48276
2010-03-16Some style fixes.Johannes Schickel
svn-id: r48272
2010-03-16Add patch #2970176 - V0: MM Verb + Anim Fix.Travis Howell
svn-id: r48269
2010-03-16Add patch #2971126 - MM V0: Ed(na) walk fix.Travis Howell
svn-id: r48268
2010-03-16Add patch #2970899 - MM V0: flipped limbs drawing fix.Travis Howell
svn-id: r48267
2010-03-11GUI: Remove GuiObject::getMillis()Max Horn
svn-id: r48241
2010-03-10Replace mutex_up/mutex_down methods by Common::StackLockMax Horn
svn-id: r48231
2010-03-10cleanupMax Horn
svn-id: r48230
2010-03-10Silenced some harmless cppcheck warnings about unreachable code after a return.Torbjörn Andersson
In this case, it was always a break after a return in a switch case. There are similar cases which cppcheck didn't detect, and a couple of cases where we have a break after a continue in a switch case (where the continue refers to an outer loop), but I didn't touch those. Not yet, at least. svn-id: r48218
2010-03-08Workaround for bug #1878514: COMI: Glitch when turning pages in recipe bookMax Horn
svn-id: r48207
2010-03-08Tweak makeVOCDiskStreamMax Horn
* now takes a SeekableReadStream *pointer* like (almost) all other audiostream factories * fix potential memory leak in it * rename takeOwnershipOfStream to disposeAfterUse for consistency svn-id: r48184
2010-03-05Patch #2963270: MM: V0 Verb Give FixMax Horn
svn-id: r48163
2010-03-04Fix another mismatching new[] call (note that this needs to be replaced by ↵Johannes Schickel
malloc, since else MemoryReadStream will try to use free on an new[] allocated block.) svn-id: r48162
2010-03-04Fix mismatching new[]/delete.Johannes Schickel
svn-id: r48161
2010-03-02Fix bug #2961530 - Zak/FM-Towns: Game hangs when using monkey wrench.Travis Howell
svn-id: r48158
2010-02-27Fix bug #2959947 - SPYFOX1: Saves don't work from menu.Travis Howell
svn-id: r48142
2010-02-26SID: Adding DISABLE_SID option, as SID player embiggens binary by a large ↵Neil Millstone
amount. This is a problem for the DS port. svn-id: r48137
2010-02-26SCUMM: Fix stride of palette data in ARM optimised costime rendererNeil Millstone
svn-id: r48135
2010-02-24Add another German Windows version of Pajama Sam 2.Travis Howell
svn-id: r48123
2010-02-22SPY Fox 3: Operation Ozone is supported too.Travis Howell
svn-id: r48112
2010-02-21Patch for bug 2943361 by littleboy, adding full kb modifier support to all ↵Yotam Barnoy
engines + GUI and proper keypad handling svn-id: r48101
2010-02-03Yet more Flac -> FLAC changes for consistency.Johannes Schickel
svn-id: r47847
2010-02-03- Rename FlacStream to FLACStream.Johannes Schickel
- Rename makeFlacStream to makeFLACStream. svn-id: r47846
2010-01-31Silenced some more cppcheck warnings.Torbjörn Andersson
svn-id: r47785
2010-01-31Removed obsolete codeChris Apers
svn-id: r47767
2010-01-31Switch makeADPCMStream to DisposeAfterUse::FlagMax Horn
svn-id: r47736
2010-01-30Use SubLoopingAudioStream instead of makeLoopingAudioStream in SCUMM. ↵Johannes Schickel
(Incorrect replacement introduced with r47715, thanks to Max for spotting this). svn-id: r47722
2010-01-30Typo.Johannes Schickel
svn-id: r47719
2010-01-30Replace use of Audio::makeRawMemoryStream by Audio::makeRawStream.Johannes Schickel
svn-id: r47716
2010-01-30Get rid of Audio::makeRawMemoryStream_OLD.Johannes Schickel
svn-id: r47715
2010-01-28Fix regressions in Let's Explore the Jungle with Buzzy.Travis Howell
svn-id: r47622
2010-01-28Fix regression in Let's Explore the Jungle with Buzzy.Travis Howell
svn-id: r47621
2010-01-28Fix regression in Let's Explore the Jungle with Buzzy.Travis Howell
svn-id: r47619
2010-01-27Fix sound regression in HE games.Travis Howell
svn-id: r47596
2010-01-26Moved audio stream implementations (for MP3, FLAC, etc.) to new dir ↵Max Horn
sound/decoders/ svn-id: r47579
2010-01-26Let's Explore the Jungle with Buzzy uses VAR_PLATFORM variabletoo, but with ↵Travis Howell
different values. svn-id: r47562