aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm
AgeCommit message (Collapse)Author
2010-06-08Modification to remove false positive "Possible divide by zero" warnings ↵David Turner
given by cppcheck-1.43. These are incorrect as '/' operator has precedence over >>, but this does improve readability anyway. This bug in cppcheck has already been corrected: http://sourceforge.net/apps/trac/cppcheck/ticket/1714 svn-id: r49517
2010-06-07Remove some extra spacesJordi Vilalta Prat
svn-id: r49489
2010-05-29Fixed potential memory leak found by cppcheck. Though I'm guessing that if thisTorbjörn Andersson
case happens, we may have bigger problems... svn-id: r49307
2010-05-26Replace SCUMM F5 dialog by GMM & add help button to GMMMax Horn
The new "Help" button in the GMM is currently only used by SCUMM. To use it, an engine currently needs to subclass MainMenuDialog. svn-id: r49249
2010-05-25Patch #2959341: Minor update to SCUMM debugger command 'passcode'Eugene Sandulenko
svn-id: r49221
2010-05-24Fix Russian versions of airport and farm as they use extended charset.Eugene Sandulenko
svn-id: r49191
2010-05-24syncEugene Sandulenko
svn-id: r49184
2010-05-24Added Russian airport and farm. Needs more work as crashes at attempt to ↵Eugene Sandulenko
opening some dictionary entries with Cyrillic characters svn-id: r49176
2010-05-18Committing the rest of the VideoDecoder Rewrite from patch #2963496.Matthew Hoops
svn-id: r49079
2010-05-17Change VideoDecoder::getCurFrame() to mean the last frame drawn instead of ↵Matthew Hoops
the next frame to draw. This is patch 1 from patch #2963496 (VideoDecoder Rewrite). svn-id: r49063
2010-05-12Fix missing songs in the HE73 version of Putt-Putt Saves the Zoo.Travis Howell
svn-id: r49010
2010-05-09Extended patch #2971742: SCUMM: autodetection for diskimage contents.Eugene Sandulenko
I added NES bundle handling to the patch. svn-id: r48991
2010-05-09Fix bug in NES bundle reader which prevented reenterabilityEugene Sandulenko
svn-id: r48990
2010-05-09Fix for bug #2995282 "FT: Cavefish Hideout Chase (Failure Cutscene) Crash".Johannes Schickel
The bug itself is actually a regression from r43577, the merge of the gsoc2009-16bit branch. svn-id: r48987
2010-05-09Patch #2901515: HE: Resource Forks on Mac OS XEugene Sandulenko
svn-id: r48984
2010-05-09Patch #2968610: Zak C64 German: crash due to padding bytesEugene Sandulenko
svn-id: r48981
2010-05-05SCUMM: Convert some code to use Common::StringMax Horn
svn-id: r48957
2010-05-04Fix non-Mac OS X buildsMax Horn
svn-id: r48938
2010-05-04Move DebugChannel related code to new headerMax Horn
svn-id: r48935
2010-05-04Move initGraphics and initCommonGFX from to new header.Max Horn
These functions are only used internally be Engine subclasses, and by moving them to a separate header we can reduce indirect header dependencies. svn-id: r48934
2010-05-04Get rid of Engine::_gameDataDir.Max Horn
This greatly reduces indirect dependencies on several header files from common. svn-id: r48933
2010-04-28Fix for bug #2824840: ZAK: Crash when using the yellow crystal (Amiga version)Max Horn
The problem was a double free that could occur in two places. Also added some missing whitespaces. svn-id: r48832
2010-04-27COMMON: Move DebugChannel stuff into a new DebugMan singletonMax Horn
svn-id: r48821
2010-04-27Fix warningWillem Jan Palenstijn
svn-id: r48818
2010-04-17Fix warnings when FLAC&MP3&VORBIS is disabled; also fixes leak in TinselMax Horn
svn-id: r48696
2010-04-12Apply patch #2982163 - CONFIG: Use HE keyword instead of HB for the Hebrew ↵Ori Avtalion
language svn-id: r48645
2010-04-12AUDIO: Rename Mixer::playInputStream to playStreamMax Horn
svn-id: r48637
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