aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm
AgeCommit message (Collapse)Author
2011-03-23AUDIO: Change several fake MidiDrivers to MidiDriver_BASE subclassesMax Horn
Many engines follow the advice in audio/midiparser.h and create a "pseudo-MidiDriver" subclass. But MidiParser really only needs a tiny subset of the MidiDriver capabilities, namely those found in MidiDriver_BASE. So we try to subclass from that whenever possible; this allows us to remove many stub methods, and enables further future simplifications.
2011-03-23ENGINES: Use Common::StackLock in more placesMax Horn
2011-03-23SCUMM: Remove unused iMuse MIDI 'passthrough' codeMax Horn
2011-03-22AUDIO: Add pure virtual MidiDriver::isOpen() methodMax Horn
This in turn enables modifying MidiDriver_MPU401::close() to allow it to be called on a midi driver that has not yet been opened. The specific issue that triggered me to make these changes was a crash-upon-quit in HUGO, caused by it instantiating a midi driver, then encountering an error (missing hugo.dat) *before* having opened the new midi driver; the general cleanup code then tries to close the (not yet opened) midi driver -> kaboom Also fixed some engines which were leaking MidiDriver instances.
2011-03-22I18N: Break keyboard shortcut translation by keyThierry Crozat
In the scumm help dialog, translate single keys, e.g. "Ctrl" or "Alt" instead of asking the translator to translate individually "Ctrl a", "Ctrl b", "Alt a", "Alt b", Ctrl Alt a" and so on. This reduce greatly the number of strings to translate.
2011-03-22Merge branch 'master' of https://github.com/scummvm/scummvmathrxx
2011-03-22SCUMM FM-TOWNS: cleanup (thx LordHoto)athrxx
2011-03-19SCUMM: Cleanup syncSoundSettings()dhewg
2011-03-19SCUMM: Changed usage of PI to M_PI (normally defined in math.h)md5
2011-03-06SCUMM: Use the new WinCursor code in SCUMM HEMatthew Hoops
Also, updated the MacResManager cursor code to reflect the SCUMM resource extractor code changes
2011-02-22COMMON: Begin to merge some NE/PE codeMatthew Hoops
The ID classes are now common to both. The files have been renamed to better illustrate their purpose.
2011-02-22SCUMM: Use the new PEResources class for HE cursorsMatthew Hoops
Putt-Putt Saves the Zoo HE72 still works fine for me
2011-02-20SCUMM: More DISABLE_TOWNS_DUAL_LAYER_MODE messdhewg
Uglify more code to fix compilation for DS Only compile-tested
2011-02-14SCUMM: Adapt to setPalette RGBA->RGB change.Johannes Schickel
2011-02-13SCUMM FM-TOWNS: minor cleanup (git test)athrxx
2011-02-09AUDIO: Rename sound/ dir to audio/Max Horn
svn-id: r55850
2011-02-07ALL: Fix whitespaces / indentionMax Horn
svn-id: r55818
2011-02-07SCUMM: Avoid hiding overloaded virtual methodMax Horn
svn-id: r55809
2011-02-07COMMON: OSystem now has a PaletteManagerMax Horn
svn-id: r55806
2011-01-30SCUMM: Fix Valgrind mismatched delete errors in SMUSH channel base class.David Turner
This was due to the SMUSH channel base class using new/delete to manage buffer, but the imuse_channel and saud_channel classes which subclass and override this using malloc/free. The more C++ solution of moving all to new/delete was tried, but the buffer is passed into a MemoryReadStream and free()'d there, so all classes have been moved to malloc/free instead. This is not a critical problem as the buffers are byte primitive type anyway. svn-id: r55660
2011-01-30SCUMM: Remove direct usage of OSystem quit() function in SCUMM engine code.David Turner
This would cause leaks, but occurs in development code only. svn-id: r55659
2011-01-28SCUMM: Fix bug #3167036 - BluesBirthday: Crash in the demo.Travis Howell
svn-id: r55589
2011-01-25SCUMM: Restore the missing copyright for the PE code (wrongfully removed in ↵Matthew Hoops
r27024) svn-id: r55532
2011-01-23VIDEO: Move video classes to Video:: namespaceEugene Sandulenko
svn-id: r55479
2011-01-23GRAPHICS: Move graphics/video/ to video/. Step 1/2Eugene Sandulenko
svn-id: r55473
2011-01-16SCUMM: Prefer "Could not" over "Couldn't" in some error messages.Johannes Schickel
svn-id: r55268
2011-01-02JANITORIAL: Suppress some useless includesArnaud Boutonné
svn-id: r55091
2010-12-28SCUMM: Correct fix for bug #3145951 - DIG: Subtitles won't turn off ↵Travis Howell
(regression). svn-id: r55053
2010-12-28SCUMM: Another fix for bug #3145951 - DIG: Subtitles won't turn off ↵Travis Howell
(regression). svn-id: r55052
2010-12-27SCUMM: Fix bug #3145951 - DIG: Subtitles won't turn off (regression).Travis Howell
svn-id: r55050
2010-12-27SCUMM: Fix bug #3143039 - ACTIVITY: Circus Stormin' crash.Travis Howell
svn-id: r55049
2010-12-16VIDEO: Make VideoDecoder::decodeNextFrame() return a const Surface pointerMatthew Hoops
svn-id: r54927
2010-12-11SCUMM/FM-TOWNS: hopefully fix bug #1463434Florian Kagerer
o5_verbOps() case 9 (SO_VERB_NEW) works slightly different in SCUMM 3 FM-TOWNS (I don't know about DOS). This should fix the issue with the broken key shortcuts. Old savegames won't be fixed, though (since the broken verb states will be restored from the save file). svn-id: r54872
2010-12-07DEBUG: Let GUI::Debugger::preEnter and postEnter (un)pause the engineMax Horn
svn-id: r54815
2010-12-02SCUMM: Workaround for bug #1447058, a race condition in the game scriptsMax Horn
svn-id: r54730
2010-12-02SCUMM: Fix bug in V12 games causing chars to be lost when wrapping talk textMax Horn
svn-id: r54729
2010-12-01SCUMM: Fix GM initialization when "enable_gs" is set.Johannes Schickel
This is a regression from r25630, which caused the code to send some garbage data to the GS device, which resulted in some devices to fail with an "Address Error." (like the Roland SC-55). This might also fix bug #1927501 "GS option is broken". Even though actually the device there failed with another error it is likely to be caused by the same code. At least it is the only iMuse MIDI code change between 0.9.0 and 0.12.0, which might result in such a problem. svn-id: r54727
2010-11-30Fix bug #3093750 - FT: Truck and Aircraft computer text missing (regression).Travis Howell
svn-id: r54665
2010-11-28i18N: Add a few strings to translate in the SCUMM help dialog.Thierry Crozat
svn-id: r54547
2010-11-23I18N: Add translation of the SCUMM help dialog.Thierry Crozat
svn-id: r54449
2010-11-23SCUMM: Use explicit XOR decoding code in BaseScummFile subclassesMax Horn
This made it possible to turn some MemoryReadStream pointers into plain SeekableReadStream pointers. svn-id: r54435
2010-11-23SCUMM: Replace Common::File uses by SeekableReadStream and SearchManMax Horn
svn-id: r54434
2010-11-19COMMON: Split common/stream.h into several headersMax Horn
svn-id: r54385
2010-11-17ENGINES: Change 'colour' to 'color'Max Horn
Only changed this in engines where 'color' was/is already used almost exclusively svn-id: r54288
2010-11-16GUI: Rename gui/GuiManager.* to gui/gui-manager.*Max Horn
svn-id: r54265
2010-11-16GUI: Move major widgets to new directory gui/widgetsMax Horn
Also renamed the source/header files, now they are more closely aligned to how we rename most other source files svn-id: r54264
2010-11-08COMMON: Push #include audiocd.h in system.h out to .cpp filesMax Horn
svn-id: r54148
2010-11-08BACKENDS: Partial merge of gsoc2010-opengl: Audio CD changes onlyMax Horn
This commit contains the AudioCDManager changes from the gsoc2010-opengl branch. The other changes in that branch are restricted to the backends directory only (plus configure). The Nintendo DS and Dreamcast ports still need to be ported over to the new Audio CD system, but that should be fairly easy to do. svn-id: r54147
2010-11-07COMMON: Rename and tweak MD5 functionsMax Horn
* names now comply to our naming conventions * the function computeStreamMD5AsString which computes the MD5 as a hex string now returns it as a Common::String * add doxygen comments svn-id: r54121
2010-11-05SCUMM/FM-TOWNS JAPANESE: fix out of bounds text drawingFlorian Kagerer
(could cause invalid memory access in MI1) svn-id: r54079