aboutsummaryrefslogtreecommitdiff
path: root/engines/groovie/music.h
AgeCommit message (Collapse)Author
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
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-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-04GROOVIE: Mark overwritten members as virtualdhewg
2011-02-09AUDIO: Rename sound/ dir to audio/Max Horn
svn-id: r55850
2010-06-22Groovie: Add support for the compressed MIDI files of T7G Mac.Jordi Vilalta Prat
svn-id: r50163
2010-06-07Groovie:Jordi Vilalta Prat
- Rewritten T7G's font code to subclass Graphics::Font and make it cleaner. - Use theme fonts for the Mac version of T7G (which used ugly system fonts originally). With this the Mac version should be completable. - Cleanup include interdependencies. svn-id: r49487
2009-11-02Changed foo(void) to foo() in almost all non-backend source filesMax Horn
svn-id: r45616
2009-08-18Made AGOS, DRASCULA, GOB, GROOVIE, MADE, SCUMM and TINSEL properly stop CD ↵Johannes Schickel
audio playback on engine quit. (This only problem affected playback from CD, not from ripped audio files) svn-id: r43512
2009-08-05T7G: Fix bug #2831041 by implementing opcode responsible for starting music ↵Scott Thomas
partway through a video svn-id: r43068
2009-07-05- Refactorized Groovie::MusicPlayer to make it extensibleJordi Vilalta Prat
- Added an empty MusicPlayerMac to let the Macintosh version of The 7th Guest start svn-id: r42116
2009-03-10- Convert some file references from uint16 to uint32 to suit 11HScott Thomas
- Add some 11H opcodes svn-id: r39313
2009-01-28T7G: start background music at start of input loop (0x0B). Should fix ↵Henry Bush
2474078, but might break other things so I'm not going to backport it. svn-id: r36125
2009-01-08T7G: Reset midi volume to 100 on starting a track, cleanupHenry Bush
svn-id: r35792
2009-01-01Use the proper samples file name for 11hJordi Vilalta Prat
svn-id: r35656
2008-12-19T7G: Add support for custom AdLib instrumentsJordi Vilalta Prat
svn-id: r35440
2008-11-25T7G: Enhanced the Audio CD playback. Now the credits music on CD2 should ↵Jordi Vilalta Prat
play by ripping it as track 2 (not tested). svn-id: r35167
2008-11-24T7G: Implemented volume fadingJordi Vilalta Prat
svn-id: r35166
2008-11-18Added a mutex to the Groovie MIDI player. Maybe that will fix the rare andTorbjörn Andersson
unpredictable crashes I've been seeing. svn-id: r35116
2008-11-14Patch #2271425: Groovie engineMax Horn
svn-id: r35060