aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/imuse
AgeCommit message (Collapse)Author
2007-02-19Use consistent naming for the preprocessor constants used to guarantee thatTorbjörn Andersson
header files are only included once. Many of them didn't have a SCUMM prefix which could have lead to clashes with common header files. svn-id: r25727
2007-02-18Committed my fix for bug #1662549 ("SCUMM: MIDI music is broken"). Apparently,Torbjörn Andersson
'len' is now one less than it used to in sysexHandler_Scumm(). Let's hope I changed all the cases that needed changing, and nothing else... svn-id: r25671
2007-02-16Unified how we deal with (and how we generate) MIDI sysex messages -- in ↵Max Horn
particular, we now always do so w/o framing the message (documented this with a Doxygen comment in the MidiDriver class) svn-id: r25630
2007-02-16Ugh -- these internal iMuse structs were supposed to be packed, but never ↵Max Horn
were explicitly markes as such. Doing that now (might break old savegames on some ports :/) svn-id: r25629
2006-11-16Applied my own patch #1594924 to work around bug #1324106 ("MI2 VGA: Music asTorbjörn Andersson
Rapp is instantiating isn't synchronized"). I don't know if our timing is off, or if it's just a case of overly optimistic scripting, but the pause / unpause music instructions are issued in the wrong order. svn-id: r24726
2006-11-12More whitespace.Torbjörn Andersson
svn-id: r24682
2006-11-12Replaced cryptic error() with an assertion.Torbjörn Andersson
svn-id: r24681
2006-11-12WhitespaceTorbjörn Andersson
svn-id: r24680
2006-11-08Fix bug #1592006: "IMUSE: Typo in sysex_scumm.cpp ?"Eugene Sandulenko
svn-id: r24655
2006-10-15Added FIXME comment about 'static' abuse in imuse_part.cppMax Horn
svn-id: r24327
2006-09-23Moved base/engine.cpp and .h to engines/ (main motivation: helps untangle ↵Max Horn
the linker dependency graph). Porters will have to update project files svn-id: r23974
2006-05-15Ignore unknown SysEx manufacturer IDs, rather than erroring on them. This doesTorbjörn Andersson
NOT fix bug #1481383, even if that's where I heard about this problem. svn-id: r22479
2006-04-04Since our debug() adds an exclamation mark at the message end, removeEugene Sandulenko
it in several calls to avoid duplication!!11! svn-id: r21607
2006-04-04Small updates to intiate variable and member visibility.Lars Persson
svn-id: r21604
2006-03-29Do not #include endian.h in scummsys.h (cuts down deps on endian.h from ~400 ↵Max Horn
to ~250). Many greetings to eriktorbjorn, and have fun recompiling. svn-id: r21500
2006-03-24Fix MSVC warnings #2Andrew Kurushin
svn-id: r21441
2006-03-14Remove unused var, to prevent compiler warningTravis Howell
svn-id: r21281
2006-03-14Remove unused vars, to prevent compiler warningsTravis Howell
svn-id: r21279
2006-03-12IMuse SysEx processing now handled by client-specified callbacks. This ↵Jamieson Christian
removes all game-specific references from the Player class. Bloodshed Dev-C++ project file updated. svn-id: r21241
2006-03-11Removed inclusion of non-existing imuse_sysex.h to make ScummVM compile again.Torbjörn Andersson
svn-id: r21214
2006-03-11Another ScummEngine reference in IMuse bites the dust.Jamieson Christian
svn-id: r21213
2006-03-09Implemented SysEx command 1 for non-S&M SCUMM games, per the latest comment ↵Jamieson Christian
on Bug 1088045. svn-id: r21156
2006-03-05Removed tag2str usage, which eliminates scumm/util.h dependency.Jamieson Christian
svn-id: r21107
2006-03-05I guess this is really a WORKAROUND, rather than a HACK. Updated comment.Torbjörn Andersson
svn-id: r21106
2006-03-05Restructured IMuse and IMuseInternal.Jamieson Christian
* IMuse is no longer a concurrency front-end. * IMuseInternal now derives from IMuse. * Common::StackLock used to protect thread-sensitive interface methods (same as IMuseDigital). * clear_queue() included in stopAllSounds() so it can be removed from the public interface. * Game ID now specified at init using property(). * Timer callbacks receive a struct containing IMuseInternal and MidiDriver refs, instead of just the latter. * OSystem pointer from init is now cached and used instead of global. All references to the g_system and g_scumm globals are now gone. BOOYAH! Tested with MI2, DOTT and S&M, under Windows, in Native MIDI, Adlib, and Mixed modes. No regressions or concurrency issues observed. Manifestations of the latter are the biggest concern at this point. svn-id: r21104
2006-03-05Fix compiler warningsTravis Howell
svn-id: r21086
2006-03-05Separated the IMuse Part methods into their own file. Updated the Bloodshed ↵Jamieson Christian
Dev-C++ project file at the same time. svn-id: r21085
2006-03-04Removed the default ignoreFadeouts parameter value for ImuseInternal's ↵Jamieson Christian
getSoundStatus method. The disposition of this method is going to be changing soon, and I'm getting confused by the assumptions being made by many of the calls to it. svn-id: r21080
2006-03-04Rearranged methods in the IMuse class declaration to denote those derived ↵Jamieson Christian
from the MusicEngine base class. svn-id: r21079
2006-03-03Partial fix for Bug 1088045. Additional configuration of Part parameters in ↵Jamieson Christian
response to iMuse SysEx command 0. Addresses Parts 2, 3 and 4 of the bug. (Part 4 not yet verified against referenced bug manifestation; awaiting testcase savegame.) svn-id: r21039
2006-03-03DOS versions of HE games sounds like Roland music tooTravis Howell
svn-id: r21023
2006-03-03Added MT-32 device-specific reset on shutdown. Rearranged MT-32 ↵Jamieson Christian
initialization sequence to give the ScummVM welcome message a better chance of showing up on the LCD panel. svn-id: r21022
2006-02-27SysEx data now passed around with const pointers. Permits simplification of ↵Jamieson Christian
some SysEx client code. Testing on Windows. Developers on other platforms, please verify integrity of music handling in your respective MidiDrivers. svn-id: r20952
2006-02-26Removed deprecated IMUSE_DEBUG #define in favor of debugC calls using the ↵Jamieson Christian
runtime-selectable DEBUG_IMUSE category. svn-id: r20950
2006-02-25Replaced MKID by MID_BE in most places in the SCUMM engineMax Horn
svn-id: r20862
2006-02-20Moved iMUSE code to the new directory engines/scumm/imuse/Max Horn
svn-id: r20801