aboutsummaryrefslogtreecommitdiff
path: root/engines
AgeCommit message (Collapse)Author
2011-03-25SAGA: Add missing includedhewg
2011-03-25SAGA: Change Sage to use Audio::MidiPlayerMax Horn
2011-03-25QUEEN: Remove leftover class forward declarationMax Horn
2011-03-25SWORD25: more translated comments from gfx/image (patch #3238507)Max Horn
Plus some extra white space changes by myself.
2011-03-25AUDIO: Move more common code to Audio::MidiPlayerMax Horn
This also should fix some regressions from the previous commits, related to MidiParser's either being leaked, or being deleted and then used again (i.e., crashing). I tested as many games as I had available, but further testing of all affected engines is called for anyway.
2011-03-25TINSEL: Remove unused TinselEngine::_musicVolume memberMax Horn
2011-03-25PARALLACTION: Move MidiDriver creation into MidiPlayer(_MSC) constructorsMax Horn
2011-03-25HUGO: Move MidiDriver creation into MidiPlayer constructorMax Horn
2011-03-25TOUCHE: Move _gmToRol to midi.cppMax Horn
2011-03-25TOUCHE: Change MidiPlayer to derive from Audio::MidiPlayerMax Horn
2011-03-25SCI: Reordered some functionsmd5
2011-03-25SCI: Cleaned up the BreakpointType enum and documented the bpe commandmd5
2011-03-25SCI: Cleaned up send_selector()md5
- Placed all of the associated debug code in a separate function - Unified debug output
2011-03-25SCI: Extended a workaround for KQ7 to apply in all roomsmd5
2011-03-25SCI: Make sure that planeOffsetX is always correctly initializedmd5
Fixes several issues with the menu in KQ7. Thanks to vakons for his patch. Fixes bug #3231867 - "KQ7 scrolling bug"
2011-03-25SCI: Add two TODOsdhewg
2011-03-24SCI: Close Memory Leak from kAnimate Calls.D G Turner
This was due to a missing destructor in the HunkTable. Thanks to wjp for this patch.
2011-03-24HUGO: Turn FileManager::getBootCypher into a const static variableMax Horn
2011-03-24SAGA: Rename some MusicDriver members to match Audio::MidiPlayerMax Horn
2011-03-24QUEEN: Rename some MidiMusic members to match Audio::MidiPlayerMax Horn
2011-03-24TINSEL: Change MidiMusicPlayer to derive from Audio::MidiPlayerMax Horn
2011-03-24PARALLACTION: Change MidiPlayer impls to derive from Audio::MidiPlayerMax Horn
2011-03-24MADE: Change MusicPlayer to derive from Audio::MidiPlayerMax Horn
2011-03-24M4: Change MidiPlayer to derive from Audio::MidiPlayerMax Horn
Also fix the _driver double delete regression I recently introduced
2011-03-24HUGO: Change MidiPlayer to derive from Audio::MidiPlayerMax Horn
2011-03-24DRACI: Change MusicPlayer to derive from Audio::MidiPlayerMax Horn
2011-03-24AGI: Change SoundGenMIDI to derive from Audio::MidiPlayerMax Horn
As a side effect, this fixes the incorrect handling of 'All Note Off' in SoundGenMIDI::send.
2011-03-24DRACI: Fix incorrect 'all notes off' handlingMax Horn
2011-03-24QUEEN: Fix incorrect 'all notes off' handlingMax Horn
2011-03-24HUGO: When erroring out due to a missing file, tell the user which file is ↵Max Horn
missing
2011-03-24SWORD25: Commit submitted patch of German comments translated to EnglishPaul Gilbert
2011-03-23MOHAWK: Use direct access on the hashmap for Riven variables nowMatthew Hoops
2011-03-23MOHAWK: Make Riven's save/load code use the variable map directlyMatthew Hoops
2011-03-23MOHAWK: Begin using a hashmap to store Riven variablesMatthew Hoops
2011-03-23ENGINES: Remove unused MIDI pass-through codeMax Horn
2011-03-23ENGINES: Further simplify pseudo MidiDrivers; fix some regressionsMax Horn
The regression affected AGOS and maybe some others; specifically, the real MidiDriver would have been deleted twice -- I previously missed that the Engine instances takes care of freeing the real MidiDriver, not the MidiPlayer wrapping it. This commit should clarify the ownership of the real MidiDriver for most pseudo MidiDrivers.
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-23AGOS: Sanitize the mutex locking in MidiPlayer::startTrackMax Horn
2011-03-23ENGINES: Use Common::StackLock in more placesMax Horn
2011-03-23TINSEL: Make MidiMusicPlayer::_parser and _mutex protectedMax Horn
2011-03-23SCUMM: Remove unused iMuse MIDI 'passthrough' codeMax Horn
2011-03-23SWORD25: Commit of patch translating German comments to EnglishPaul Gilbert
2011-03-22MOHAWK: Remove 'old' from the LB v1 sound function tooMatthew Hoops
2011-03-22MOHAWK: Rename OldMohawkBitmap to LivingBooksBitmap_v1Matthew Hoops
'Old' is very ambiguous ;)
2011-03-22MOHAWK: Begin to implement Riven opcode 38Matthew Hoops
Also, renamed it to better reflect its purpose
2011-03-22MOHAWK: Minor cursor call cleanupMatthew Hoops
2011-03-22MOHAWK: Remove the Riven 'restart' console commandMatthew Hoops
This ancient console function has no purpose any longer and is half-broken anyway.
2011-03-22MOHAWK: Cleanup installer handlingMatthew Hoops
2011-03-22MOHAWK: Handle launcher load fails more gracefullyMatthew Hoops
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.