Commit Graph
15 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
Jamieson Christian 7c16006cc7 Fix for RC bug [780675] MI2: Reoccuring crash
Tightened up OOB track selection handling in
MidiParser. Apparently some SMFs in the Mac
version of MI2 (and other games?) specify
track -1 in their jump commands to indicate
a jump within the same track.

svn-id: r9321
2003-07-31 06:50:13 +00:00
Max Horn 4d5592cc5d sync implementation with interface
svn-id: r8671
2003-06-27 19:31:36 +00:00
Jamieson Christian 26076b8841 Hack to fix odd usage of the ParameterFader
in S&M around the dinosaurs.

svn-id: r8251
2003-06-01 19:16:34 +00:00
Max Horn 8cb9796d97 fixed mismatch between declaration and implementation
svn-id: r8172
2003-05-31 13:38:41 +00:00
Jamieson Christian 991b2997d4 More cleanup, plus more crash-aversion fixes.
Restored the -t command line option that had gotten lost in the revamp.

svn-id: r7962
2003-05-25 16:40:17 +00:00
Jamieson Christian 9d53046039 Fixed music starting at incorrect location when loading game
svn-id: r7961
2003-05-25 16:21:55 +00:00
Jamieson Christian 11e59488ef Fixed occassional music crashes when loading games.
Thanks to eriktorbjorn for finding this issue.

svn-id: r7959
2003-05-25 15:47:06 +00:00
Jamieson Christian 66c2533681 Possible fix for hanging notes in iMuse
svn-id: r7902
2003-05-24 19:50:34 +00:00
Jamieson Christian 34162afd9e Removed more unnecessary code
svn-id: r7901
2003-05-24 19:43:20 +00:00
Jamieson Christian 30affb5fbc Various iMuse cleanup
svn-id: r7900
2003-05-24 19:20:52 +00:00
Jamieson Christian 0ffc4fe7da Fix for bug [742688] FOA: Missing music at Sophia's lecture.
Added check for 0-length parameter fades, just in case.

svn-id: r7887
2003-05-24 16:00:18 +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