aboutsummaryrefslogtreecommitdiff
path: root/engines/tinsel/music.cpp
AgeCommit message (Collapse)Author
2011-02-09AUDIO: Rename sound/ dir to audio/Max Horn
svn-id: r55850
2011-02-02MIDI: Fix for bug #3170988 - "MONKEY2: Messed up MT-32 music"Filippos Karapetis
This is a regression from r55256. Apparently, SCUMM has issues when sending a sustain off on a notes off event. Thus, this has been turned into a feature, which is disabled by default. Since MADE, SAGA and tinsel all share the same music code and play regular MIDI files, and this feature fixes hanging notes for them, it has been enabled for them. Also, applied a patch for a bug regarding the notes off event in MADE and tinsel, which has been applied in SAGA already svn-id: r55746
2010-11-19COMMON: Split common/stream.h into several headersMax Horn
svn-id: r54385
2010-11-16TINSEL: Mark all (?) global vars with a FIXME commentMax Horn
Use of global vars is what prevents RTL from working in Tinsel (and probably in other engines). More specifically, the fact that many global vars are not explicitly inited when the engine is (re)launched. svn-id: r54262
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-01ENGINES: Get rid of some (f)printfsMax Horn
svn-id: r54011
2010-10-13OPENGL: Merged from trunk, from rev 52105 to 53396.Johannes Schickel
This includes an rather hacky attempt to merge all the recent gp2x backend changes into the branch. I suppose the gp2x backend and probably all new backends, i.e. gph, dingux etc., might not compile anymore. Since I have no way of testing those it would be nice if porters could look into getting those up to speed in this branch. svn-id: r53399
2010-09-11TINSEL: Fix for #3032780 - Mute not respected in DW1Paul Gilbert
svn-id: r52674
2010-08-24TINSEL: Code cleanup, fixed potentially undefined behaviorFilippos Karapetis
svn-id: r52338
2010-08-24TINSEL: Adjusted the commented out music debug code for the latest changes toFilippos Karapetis
the lookup tables svn-id: r52333
2010-08-24TINSEL: Removed the hardcoded MIDI offset arrays.Filippos Karapetis
MIDI offsets for the enhanced music soundtrack are now calculated on the fly svn-id: r52331
2010-08-24TINSEL: Fixed final track mapping to Ench soundtrack.Eugene Sandulenko
For some reason it referred to non-existent 3141. Changed it to correct 3142. svn-id: r52324
2010-08-24TINSEL: Partial fix for MIDI in German release.Eugene Sandulenko
Bug #2827022: "DW: Enhanced music doesn't work". This release has completely different MIDI.DAT file. So far offsets and detection for this version were added. The mapping has to be confirmed with James Woodcock. svn-id: r52323
2010-06-15Renamed getAudioCD to getAudioCDManager.Alejandro Marzini
svn-id: r49678
2010-06-09- Revised abstract AudioCDManager.Alejandro Marzini
- Removed AudioCDManager Singleton, and changed code for using AudioCDManager in OSystem. - Added initialization code for new AudioCDManager in BaseBackend and OSystem_SDL. svn-id: r49548
2010-04-27Fix warningWillem Jan Palenstijn
svn-id: r48817
2010-04-12AUDIO: Rename Mixer::playInputStream to playStreamMax Horn
svn-id: r48637
2010-01-31Switch makeADPCMStream to DisposeAfterUse::FlagMax Horn
svn-id: r47736
2010-01-26Moved audio stream implementations (for MP3, FLAC, etc.) to new dir ↵Max Horn
sound/decoders/ svn-id: r47579
2010-01-08Switch Mixer::playInputStream to use DisposeAfterUse::FlagMax Horn
svn-id: r47182
2010-01-08Move DisposeAfterUse::Flag from Common to global namespace, and into a new ↵Max Horn
header common/types.h svn-id: r47180
2009-12-15Got rid of ReadStream::ioFailed()Max Horn
svn-id: r46379
2009-11-09TINSEL: Make some const tables static; move static int priorVolMusic into ↵Max Horn
SetMidiVolume to reduce its scope svn-id: r45784
2009-11-02TINSEL: Turn config code into a simple C++ classMax Horn
svn-id: r45617
2009-11-02Changed foo(void) to foo() in almost all non-backend source filesMax Horn
svn-id: r45616
2009-10-18Introduced new type Common::DisposeAfterUse::FlagMax Horn
svn-id: r45233
2009-08-08Change workaround for bug #2820054 to apply for all GRA versions.Johannes Schickel
svn-id: r43123
2009-08-08Formatting fix.Johannes Schickel
svn-id: r43122
2009-08-08Add workaround for bug #2820054 "DW1: No intro music at first start on Wii", ↵Johannes Schickel
which actually happened on all systems, when using the multilanguage version. svn-id: r43119
2009-08-05Bugfix for music not being stopped when music volume is set to zeroPaul Gilbert
svn-id: r43066
2009-07-11Bugfix to properly save the currently playing midi music when saving a scenePaul Gilbert
svn-id: r42377
2009-05-24tinsel: disable midi playing for Discworld PSX, as the game uses the ↵Fabio Battaglia
proprietary (and unsupported) PlayStation SEQ format svn-id: r40860
2009-03-19Added some more debug messagesSven Hesse
svn-id: r39532
2009-03-07Whitespace cleanup: Convert space followed by tab to just tabMax Horn
svn-id: r39203
2009-02-02Fixed warning about implicit signed -> unsigned integer conversionMax Horn
svn-id: r36200
2009-02-02endian safetyJoost Peters
svn-id: r36199
2009-01-29A ton of code formatting fixes; also fixed warnings about single line loops ↵Max Horn
like 'while(cond);' by inserting newlines svn-id: r36127
2009-01-27cleanupMax Horn
svn-id: r36084
2009-01-24fixing #2531282: don't fall back to a real audio CD when playing enhanced ↵Willem Jan Palenstijn
midi tracks svn-id: r36030
2009-01-14Fix for non-looped tracks of the music enhancement project. Also, got rid of ↵Filippos Karapetis
the dwMidiIndex variable svn-id: r35862
2009-01-12CleanupFilippos Karapetis
svn-id: r35838
2009-01-12Imitate the way the original game is playing MIDI tracks when playing ↵Filippos Karapetis
enhanced ones svn-id: r35837
2009-01-12Added support for the Discworld 1 Music Enhancement project. Big thanks to ↵Filippos Karapetis
James Woodcock for his work on both versions of the game (the *.GRA and *.SCN version) svn-id: r35836
2009-01-01Whoa! Removing trailing spaces.Eugene Sandulenko
svn-id: r35648
2008-12-01Merged the tinsel 2 engine with tinsel 1. Both Discworld 1 and Discworld 2 ↵Filippos Karapetis
should be completable svn-id: r35196
2008-09-19Changed tinsel's volume range (0-127) to match ScummVM's (0-255)Filippos Karapetis
svn-id: r34603
2008-08-20Moved the mutex locking a bit. (Consistent with how the AGOS engine does it.)Torbjörn Andersson
svn-id: r34050
2008-07-29Changed class File (and derived classes) to only support read-only access; ↵Max Horn
added a new class DumpFile for writing svn-id: r33412
2008-07-24cleanupMax Horn
svn-id: r33263