Commit Graph
60 Commits
Author SHA1 Message Date
Torbjörn Andersson ac33309a4d I guess this is really a WORKAROUND, rather than a HACK. Updated comment.
svn-id: r21106
2006-03-05 22:31:49 +00:00
Jamieson Christian 5e25b3b679 Restructured IMuse and IMuseInternal.
* 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-05 21:30:44 +00:00
Travis Howell 429f7d43d6 Fix compiler warnings
svn-id: r21086
2006-03-05 05:43:46 +00:00
Jamieson Christian b1f7f32ed1 Separated the IMuse Part methods into their own file. Updated the Bloodshed Dev-C++ project file at the same time.
svn-id: r21085
2006-03-05 05:14:20 +00:00
Jamieson Christian 857abe4c8b Removed the default ignoreFadeouts parameter value for ImuseInternal's 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-04 19:35:38 +00:00
Travis Howell 09543f873e DOS versions of HE games sounds like Roland music too
svn-id: r21023
2006-03-03 06:25:59 +00:00
Jamieson Christian e37f85d079 Added MT-32 device-specific reset on shutdown. Rearranged MT-32 initialization sequence to give the ScummVM welcome message a better chance of showing up on the LCD panel.
svn-id: r21022
2006-03-03 02:51:11 +00:00
Jamieson Christian 52d55bf976 Removed deprecated IMUSE_DEBUG #define in favor of debugC calls using the runtime-selectable DEBUG_IMUSE category.
svn-id: r20950
2006-02-26 22:23:29 +00:00
Max Horn 6914121f61 Replaced MKID by MID_BE in most places in the SCUMM engine
svn-id: r20862
2006-02-25 02:12:58 +00:00
Max Horn 81e8a2860e Moved iMUSE code to the new directory engines/scumm/imuse/
svn-id: r20801
2006-02-20 20:57:26 +00:00