scummvm/engines/agi
Max Horn 8982fff1b7 AUDIO: Add pure virtual MidiDriver::isOpen() method
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-22 23:51:47 +01:00
..
agi.cpp AGI: Remove newlines from debug() 2011-03-16 20:58:57 +01:00
agi.h AGI: Kill the timer based counter 2011-03-05 11:00:37 +01:00
checks.cpp Cleanup 2009-06-06 17:45:52 +00:00
console.cpp DEBUG: Let GUI::Debugger::preEnter and postEnter (un)pause the engine 2010-12-07 18:54:21 +00:00
console.h DEBUGGER: Simplify how our console debugger works / is used 2010-07-17 18:38:42 +00:00
cycle.cpp AGI: Replace report() macro by debug() / warning() 2010-10-26 22:33:49 +00:00
detection_tables.h AGI: Add detection for the 'AGI Combat' fan game 2011-02-28 22:22:19 -05:00
detection.cpp ALL: Push down deps on stream.h from .h to .cpp files 2010-11-19 01:37:04 +00:00
font.h Reduce header dependencies for AGI engine. 2010-01-03 20:15:44 +00:00
global.cpp Whitespace fixes and C++ comments 2009-06-06 17:39:13 +00:00
graphics.cpp AGI: Remove leftover RGBA reference in comments. 2011-02-20 21:39:29 +01:00
graphics.h AGI: Adapt to setPalette RGBA->RGB change. 2011-02-14 17:08:31 +01:00
id.cpp AGI: Replace report() macro by debug() / warning() 2010-10-26 22:33:49 +00:00
inv.cpp AGI: Fix for Bug #3067263 "SQ2: ScummVM hanging on the inventory screen" 2010-09-22 20:05:10 +00:00
keyboard.cpp AGI: Replace report() macro by debug() / warning() 2010-10-26 22:33:49 +00:00
keyboard.h AGI: Make scancodeTable const 2009-10-20 11:13:42 +00:00
loader_v2.cpp ENGINES: Get rid of some (f)printfs 2010-11-01 16:04:47 +00:00
loader_v3.cpp ENGINES: Replace many printfs by warning/debug/debugN 2010-11-01 21:37:47 +00:00
logic.cpp Whitespace fixes and C++ comments 2009-06-06 17:39:13 +00:00
logic.h Reduce header dependencies for AGI engine. 2010-01-03 20:15:44 +00:00
lzw.cpp JANITORIAL: Removed most punctuation at end of warning() and error() 2010-09-18 10:55:16 +00:00
lzw.h Updated legal headers in source files, based on what Pidgin (the IM client formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots 2007-05-30 21:56:52 +00:00
menu.cpp Reduce header dependencies for AGI engine. 2010-01-03 20:15:44 +00:00
menu.h Reduce header dependencies for AGI engine. 2010-01-03 20:15:44 +00:00
module.mk AGI: Split all sound generators into separate modules. 2010-06-15 10:36:54 +00:00
motion.cpp COMMON: Move Common::RandomSource to common/random.* 2010-03-18 15:07:11 +00:00
objects.cpp ENGINES: Replace many printfs by warning/debug/debugN 2010-11-01 21:37:47 +00:00
op_cmd.cpp AGI: Replace report() macro by debug() / warning() 2010-10-26 22:33:49 +00:00
op_dbg.cpp AGI: Replace report() macro by debug() / warning() 2010-10-26 22:33:49 +00:00
op_test.cpp AGI: Turn some more AGI static functions into AgiEngine methods 2010-06-21 21:34:06 +00:00
opcodes.h Reduce header dependencies for AGI engine. 2010-01-03 20:15:44 +00:00
picture.cpp AGI: Fix C64 AGI pictures 2010-09-25 14:28:48 +00:00
picture.h Reduce header dependencies for AGI engine. 2010-01-03 20:15:44 +00:00
preagi_common.cpp Reduce header dependencies for AGI engine. 2010-01-03 20:15:44 +00:00
preagi_common.h Cleanup and simplification 2008-01-11 10:59:43 +00:00
preagi_mickey.cpp AGI: Fix some code analysis warnings (bug #3087825) 2010-10-15 08:49:20 +00:00
preagi_mickey.h Reduce header dependencies for AGI engine. 2010-01-03 20:15:44 +00:00
preagi_troll.cpp Silenced some harmless cppcheck warnings about unreachable code after a return. 2010-03-10 06:39:23 +00:00
preagi_troll.h Reduce header dependencies for AGI engine. 2010-01-03 20:15:44 +00:00
preagi_winnie.cpp COMMON: Split common/stream.h into several headers 2010-11-19 17:03:07 +00:00
preagi_winnie.h Reduce header dependencies for AGI engine. 2010-01-03 20:15:44 +00:00
preagi.cpp PREAGI: Cleanup volume levels initialization 2011-03-19 15:32:35 +01:00
preagi.h AUDIO: Rename sound/ dir to audio/ 2011-02-09 01:09:01 +00:00
predictive.cpp AGI: Rewrote predictive code matcher 2011-01-06 21:11:24 +00:00
saveload.cpp ALL: Push down deps on stream.h from .h to .cpp files 2010-11-19 01:37:04 +00:00
sound_2gs.cpp COMMON: Split common/stream.h into several headers 2010-11-19 17:03:07 +00:00
sound_2gs.h AUDIO: Rename sound/ dir to audio/ 2011-02-09 01:09:01 +00:00
sound_coco3.cpp ALL: Fix indention (whitespaces -> tabs) 2010-10-23 15:46:50 +00:00
sound_coco3.h AUDIO: Rename sound/ dir to audio/ 2011-02-09 01:09:01 +00:00
sound_midi.cpp AUDIO: Add pure virtual MidiDriver::isOpen() method 2011-03-22 23:51:47 +01:00
sound_midi.h AUDIO: Add pure virtual MidiDriver::isOpen() method 2011-03-22 23:51:47 +01:00
sound_pcjr.cpp AGI: Initialise PCjr emulator channels on creation 2010-09-16 04:43:49 +00:00
sound_pcjr.h AUDIO: Rename sound/ dir to audio/ 2011-02-09 01:09:01 +00:00
sound_sarien.cpp AUDIO: Rename sound/ dir to audio/ 2011-02-09 01:09:01 +00:00
sound_sarien.h AUDIO: Rename sound/ dir to audio/ 2011-02-09 01:09:01 +00:00
sound.cpp AGI: Changed meaning of pcjr sound device. Now it is Sarien emu 2010-09-21 05:36:51 +00:00
sound.h AUDIO: Rename sound/ dir to audio/ 2011-02-09 01:09:01 +00:00
sprite.cpp ALL: Fix whitespaces / indention 2011-02-07 23:01:06 +00:00
sprite.h AGI: Implemented immediate update for most of gfx to match original. 2010-06-15 10:32:25 +00:00
text.cpp ALL: Fix whitespaces / indention 2011-02-07 23:01:06 +00:00
view.cpp AGI: Fix crash on exit thanks to valgrind 2010-07-26 14:21:59 +00:00
view.h AGI: Fix bug #1945716. 2010-06-15 10:31:18 +00:00
wagparser.cpp Cleanup. 2010-07-16 03:34:25 +00:00
wagparser.h Patch #2973290: Semicolon cleanup 2010-03-22 20:28:08 +00:00
words.cpp AGI: Replace report() macro by debug() / warning() 2010-10-26 22:33:49 +00:00