Commit Graph
173 Commits
Author SHA1 Message Date
Max Horn 7c2713f57a indention fix (so the code adheres to our indention rules)
svn-id: r9384
2003-08-01 20:39:16 +00:00
Max Horn b05e7de7bb replaced SCUMMVM_VERSION/SCUMMVM_CVS by gScummVMVersion/gScummVMBuildDate/gScummVMFullVersion; made engine.o depend on all other .o files, so that the build date in it is always up-to-date
svn-id: r9032
2003-07-15 02:16:33 +00:00
Jamieson Christian 0fefe4602c Fix for bug [761637] FOA: Music problems in endgame/credits.
Revision to the handle_maker() fix for bug #733401, since that
didn't seem to take care of the problem. This fix chomps marker
queue entries if it finds a matching marker not at the head of
the queue. This might cause inappropriate behavior elsewhere;
regression testing is advised.

svn-id: r8831
2003-07-07 05:45:55 +00:00
Jamieson Christian f83a32464c Fix for bug [756555] ALL: With '-ewindows' notes don't stop at quit
and bug [755176] SIMON2: Hanging notes

More cleanup of the thread issues associated with iMuse and MidiParser
shutdown. Untested.

svn-id: r8546
2003-06-18 22:46:17 +00:00
Chris Apers d120ea093f I will add a wrapper for that (currently NULL driver)
svn-id: r8526
2003-06-17 08:50:15 +00:00
Max Horn 101df28e0b moved GameId declaration to common/engine.h (more logical); moved scumm specific stuff from gameDetector.h to scumm.h; cleaned up some #includes (ideally, never #include something in a header file if you can avoid it - this cuts down interdepencies)
svn-id: r8496
2003-06-15 01:42:19 +00:00
Max Horn f7a8cbf7c7 Patch #754151: Removed READ_*_UNALIGNED and always read stuff bytewise; augmented by some more changes of mine
svn-id: r8482
2003-06-14 18:52:30 +00:00
Chris Apers 6dd9f8c003 This was missing
svn-id: r8444
2003-06-12 07:46:48 +00:00
Jamieson Christian 65ca548502 Fixed MT-32 welcome message
svn-id: r8225
2003-06-01 04:15:10 +00:00
Jamieson Christian 452735e320 Some last SysEx cleanup.
svn-id: r8223
2003-06-01 04:05:13 +00:00
Jamieson Christian 7a2a739ea3 Teaking the MT-32 welcome message.
svn-id: r8207
2003-06-01 01:13:00 +00:00
Jamieson Christian 5e46155d3a Welcome message for MT-32 panels.
More for SysEx tests than anything.

svn-id: r8202
2003-06-01 00:42:01 +00:00
Travis Howell 383918313d Treat AMI music resoucres in monkey2 for Amiga as ROL for now, to allow music playback
svn-id: r8046
2003-05-28 11:56:50 +00:00
Jamieson Christian ebedd3b41c Fixed a MORONIC oob memory write. Now back to remedial C++ class
svn-id: r8019
2003-05-26 20:42:25 +00:00
Jamieson Christian b19a6d8574 Fixes possible crashes during music shutdown
svn-id: r8009
2003-05-26 14:51:13 +00:00
Jonathan Gray 0bd1f1d958 er oops
svn-id: r7914
2003-05-24 23:21:08 +00:00
Jamieson Christian 30affb5fbc Various iMuse cleanup
svn-id: r7900
2003-05-24 19:20:52 +00:00
Jonathan Gray c8276b4684 returning 1 instead of the id is the correct behaviour I believe, but the scripts check for a 0 result so either will work. I'm just picky :)
svn-id: r7871
2003-05-24 01:20:50 +00:00
Jamieson Christian eb09051517 Added XMIDI support to IMuse. IMuse now plays music from Humongous games.
Added some IMuse property options to support some assumptions that seem to be made by Humongous games.

This is still preliminary. It will play music, and it will switch between songs. But I don't know if it's switching to the right song at the right time.

svn-id: r7869
2003-05-23 18:35:53 +00:00
Jamieson Christian c6568530bd Revamped iMuse and Player classes. Player now uses MidiParser to parse its data, which will allow it to parse other MIDI formats. To receive parsed data, Player now derives from MidiDriver to act as a "fake MIDI driver".
Miscellaneous upgrades and fixes to MidiParser, including the Smart Jump (which could not be tested before iMuse started making use of the MidiParser).

*** THIS IS A BIG UPGRADE! EXTENSIVE REGRESSION TESTING IS NEEDED! ***

This has been tested through the intros and a number of other scenes from MI2, FOA and S&M.

NOTE! This upgrade introduces savegame format version V19. Earlier version savegames will load, but the music will simply start over from the beginning. Only V19 and later games will properly restore the position of the music! Don't say you weren't warned....

svn-id: r7849
2003-05-23 04:19:47 +00:00
Jamieson Christian 3c0fdf9917 Separated IMuse Player into its own file
svn-id: r7832
2003-05-22 16:15:48 +00:00
Jamieson Christian 2612a8f817 Added ParameterFader into savegame format.
Savegames are now version 17 (VER_V17).

svn-id: r7808
2003-05-21 21:38:03 +00:00
Jamieson Christian 38fc644cf6 Replaced VolumeFader with more generic ParameterFader
svn-id: r7803
2003-05-21 20:23:01 +00:00
Jamieson Christian 2dcd2531cf Integrated VolumeFader into each Player
svn-id: r7801
2003-05-21 19:33:50 +00:00
Max Horn 86d57f3c7a many pedantic warning fixes (and some actual potential buglets fixed, too)
svn-id: r7795
2003-05-21 18:09:49 +00:00
Jamieson Christian db8256df8a More thorough parameterFade and deferredCommand implementation.
Lot of guesswork. parameterFade STILL NEEDS A LOT OF WORK!
These additions at least partially correct the music behavior
in the Tunnel of Love when shorting the controls.

svn-id: r7704
2003-05-20 01:12:40 +00:00
Jamieson Christian f1982ec9d6 Updated doCommand(14) with new information.
Fixed music bug introduced with fix [712042].
Improved iMuse debug output.

svn-id: r7703
2003-05-19 22:29:35 +00:00
Jamieson Christian 417dc08484 Proof of concept for XMIDI parser in Humongous games.
You must still uncomment the VAR_SOUNDPARAM setting for this to work...?

svn-id: r7670
2003-05-19 05:04:38 +00:00
Jamieson Christian 93825ff948 Fixed program change msgs being sent under Adlib
svn-id: r7615
2003-05-17 19:07:45 +00:00
Jamieson Christian fcc11d19fa Added imuse_multimidi to debugger
svn-id: r7614
2003-05-17 19:03:25 +00:00
Jamieson Christian c88e0b5301 Fixed Adlib sound problem on old (small header) games. Thanks for eriktorbjorn for the material that led to the solution.
svn-id: r7610
2003-05-17 17:20:27 +00:00
Jamieson Christian 5a1e994d02 Added command line options for
native MT-32 support and
combination Adilb/native MIDI drivers.

svn-id: r7594
2003-05-17 03:06:16 +00:00
Jamieson Christian 124a34f72a Fixed volume fader problem under multiple MIDI drivers
svn-id: r7585
2003-05-16 23:13:47 +00:00
Jamieson Christian 48f73469e0 Redesigned -t option
svn-id: r7584
2003-05-16 22:28:33 +00:00
Jamieson Christian 5a15ce808a Feature [557411] Adlib sound effects with GM drivers.
Support for simultaneous drivers is based on a
#define in imuse.cpp, and is disabled by default.

svn-id: r7582
2003-05-16 22:00:33 +00:00
Jamieson Christian 3533843ac8 And yet more cleanup
svn-id: r7580
2003-05-16 21:06:54 +00:00
Jamieson Christian 053e7cb71e More IMuse cleanup
svn-id: r7578
2003-05-16 20:38:04 +00:00
Jamieson Christian 0ece527a69 FINALLY got MI2 Woodtick music working!
svn-id: r7577
2003-05-16 19:16:43 +00:00
Jamieson Christian e503df12a6 Corrected overly aggressive MIDI channel reallocation
svn-id: r7575
2003-05-16 15:48:01 +00:00
Jamieson Christian 2c77fc14aa Fixed SysEx parse error, misc. cleanup
svn-id: r7565
2003-05-16 04:02:33 +00:00
Jamieson Christian bfb68f513a Fixed game load crash
svn-id: r7561
2003-05-16 02:13:21 +00:00
Jamieson Christian 26d840e4fc IMuseDriver functionality absorbed into IMuseInternal.
Initial structural support for multiple MidiDriver's.

svn-id: r7559
2003-05-16 01:52:45 +00:00
Jamieson Christian 9f6b1bf3a1 Removed deprecated _program.
Miscellaneous cleanup.

svn-id: r7552
2003-05-15 23:08:03 +00:00
Jamieson Christian 69c118a43e Some more streamlining
svn-id: r7547
2003-05-15 22:31:56 +00:00
Jamieson Christian 420095e1f3 Whoops, disable debug
svn-id: r7533
2003-05-15 19:40:10 +00:00
Jamieson Christian c13591816a More streamlining
svn-id: r7532
2003-05-15 19:39:10 +00:00
Jamieson Christian 00857367f3 Fixed S&M regression in World of Fish music.
Stripped out a bunch of deprecated stuff.

svn-id: r7529
2003-05-15 18:24:59 +00:00
Jamieson Christian 33c8c2fae8 Fixed panning issue
svn-id: r7524
2003-05-15 13:56:41 +00:00
Max Horn 8188d946b3 fixed warning
svn-id: r7383
2003-05-07 22:50:15 +00:00
Jamieson Christian 15bf5ba885 ..\..\msg.txt
svn-id: r7382
2003-05-07 19:24:14 +00:00