Commit Graph
86814 Commits
Author SHA1 Message Date
Jamieson Christian 72568a8b43 Fix for [945497] Possible bug in midiparser_smf.cpp
Corrected Type 0 SMF compression to properly account
for command lengths when Running Status is being used.
Also increased buffer size for Type 0 output since
Running Status can result in the Type 0 output being
larger than the source data. Needs some more work,
but at least the Wyrmkeep people can keep going in
the meantime.

svn-id: r13707
2004-05-01 13:16:45 +00:00
Paweł Kołodziejski 84eb0101a7 indent
svn-id: r13706
2004-05-01 13:04:31 +00:00
Torbjörn Andersson bc77ba431a Simplified the handling of sound effects. It's not necessary for the driver
to keep its own copy of the sound data. It could be even further simplified
(I don't really see any reason for having two different sound queues), but
I seem to have reached a point of stability here and I don't want to jinx
it by making further changes yet.

svn-id: r13705
2004-05-01 10:42:23 +00:00
Torbjörn Andersson e830d35a21 Made the "debugoff" console command actually turn *off* the debug info.
svn-id: r13704
2004-05-01 10:24:47 +00:00
Eugene Sandulenko d82c9bd640 Remove scalers, 16bpp code, unused functions.
svn-id: r13703
2004-05-01 09:40:47 +00:00
Torbjörn Andersson ca7b89d2a5 Fixed warning
svn-id: r13702
2004-05-01 09:38:03 +00:00
Paweł Kołodziejski 6b39b875fc indent
svn-id: r13701
2004-05-01 09:37:24 +00:00
Torbjörn Andersson 4265979a6a Fixed warnings
svn-id: r13700
2004-05-01 09:37:12 +00:00
Torbjörn Andersson 5f5e6e4279 Fixed warning. The R_GAMEDESC for the disk version of ITE didn't initialise
the gd_suppoerted flag, so I set it to 0.

svn-id: r13699
2004-05-01 09:36:02 +00:00
Paweł Kołodziejski 1d649b1c06 indent
svn-id: r13698
2004-05-01 09:19:35 +00:00
Paweł Kołodziejski ae9f6dd86a indent
svn-id: r13697
2004-05-01 09:07:31 +00:00
Paweł Kołodziejski a8453637f8 indent
svn-id: r13696
2004-05-01 08:44:00 +00:00
Paweł Kołodziejski 4b5e78b774 indent
svn-id: r13695
2004-05-01 07:50:08 +00:00
Paweł Kołodziejski b7a1956382 indent
svn-id: r13694
2004-05-01 07:39:39 +00:00
Paweł Kołodziejski b3fe9ee32a indent
svn-id: r13693
2004-05-01 07:32:48 +00:00
Paweł Kołodziejski 74fce461b8 indent
svn-id: r13692
2004-05-01 06:57:54 +00:00
Paweł Kołodziejski 7792c3fd5e indent
svn-id: r13691
2004-05-01 06:50:20 +00:00
Paweł Kołodziejski e8cb50e17f indent
svn-id: r13690
2004-05-01 06:35:06 +00:00
Eugene Sandulenko 1ecf43aabe Remove unneeded #defines
svn-id: r13689
2004-05-01 06:31:50 +00:00
Paweł Kołodziejski 1ac5aef647 indent
svn-id: r13688
2004-05-01 06:16:57 +00:00
Eugene Sandulenko 1353e2d2dc Move from custom unsigned types to those provided by main config.h
svn-id: r13687
2004-04-30 23:02:23 +00:00
Eugene Sandulenko 06d9f402df Indentation madness
svn-id: r13686
2004-04-30 21:41:51 +00:00
Torbjörn Andersson d5873104ad Added fixme comment about a bug that happens (at least) in the Wyrmkeep
re-release of ITE, and how to work around it.

svn-id: r13685
2004-04-30 17:49:33 +00:00
Torbjörn Andersson 182cbf7091 Changed printf() to warning()
svn-id: r13684
2004-04-30 17:48:20 +00:00
Eugene Sandulenko 580d47f5fe Fix cut'n'paste bug. It broke queen building with kyra disabled
svn-id: r13683
2004-04-30 10:40:18 +00:00
Torbjörn Andersson 7ab18634c7 Very experimental support for the separate MIDI files used by the Wyrmkeep
re-release of ITE.

Unfortunately I only know the mapping from resource number to file name for
the two tunes in the intro, and the second one causes ScummVM to crash so I
had to disable it.

svn-id: r13682
2004-04-30 07:13:26 +00:00
Max Horn a6d632c6cf Fix warning
svn-id: r13681
2004-04-29 22:19:15 +00:00
Max Horn 33ef0d0a4b Added signed read/write methods to the Stream classes
svn-id: r13680
2004-04-29 20:28:42 +00:00
Jonathan Gray 90075cd190 use timer rate from driver, makes midi a bit more audible
svn-id: r13679
2004-04-29 13:45:10 +00:00
Torbjörn Andersson f3d4bc7f8f Quick-and-dirty music fix. I can hear music in the ITE intro now. I haven't
tried IHNM yet.

svn-id: r13678
2004-04-29 12:27:17 +00:00
Torbjörn Andersson a0623e6012 Changed printf() to warning(). (Even in the case where the message used to
say "ERROR".)

svn-id: r13677
2004-04-29 11:57:25 +00:00
Torbjörn Andersson 92407c56b3 Changed printf() to warning(), plus some formatting changes.
svn-id: r13676
2004-04-29 11:51:11 +00:00
Jonathan Gray ce98de540d fix another unitialised var use
svn-id: r13675
2004-04-29 05:13:18 +00:00
Jonathan Gray cd21d5919b init some things to fix segfaults
svn-id: r13674
2004-04-29 04:50:45 +00:00
Eugene Sandulenko 4ed0d02f05 Now it produces sound, but it's clear that XMIDI parsing is wrong
svn-id: r13673
2004-04-29 04:24:55 +00:00
Eugene Sandulenko 91f5c00a12 Make MIDI driver run, though no sound yet.
svn-id: r13672
2004-04-29 04:07:14 +00:00
Eugene Sandulenko e344d4e1b0 Forgot to commit header file
svn-id: r13671
2004-04-29 03:54:03 +00:00
Eugene Sandulenko bb8ee598c9 Music.cpp objectizing.
Initial MIDI checkin, doesn't work

svn-id: r13670
2004-04-29 03:52:59 +00:00
Eugene Sandulenko b03304c870 Rename sysmusic.cpp to music.cpp
svn-id: r13669
2004-04-29 01:47:51 +00:00
Eugene Sandulenko d7835da8c7 Voices are played
svn-id: r13668
2004-04-29 01:24:18 +00:00
Eugene Sandulenko 4c889000f2 Objectizing sound.cpp
svn-id: r13667
2004-04-28 23:54:40 +00:00
Eugene Sandulenko c3171841aa Rename syssound.cpp to sound.cpp
svn-id: r13666
2004-04-28 23:24:56 +00:00
Eugene Sandulenko 4f25dbb45b Rename Snd object to SndRes
svn-id: r13665
2004-04-28 23:19:45 +00:00
Eugene Sandulenko 1ad6498bd5 Objectize sndres.cpp
svn-id: r13664
2004-04-28 23:10:59 +00:00
Eugene Sandulenko b59c8004a5 code formatting insanity
svn-id: r13663
2004-04-28 22:21:51 +00:00
Max Horn 6e75100d61 Small potential TODO
svn-id: r13662
2004-04-28 14:29:23 +00:00
Torbjörn Andersson 6a432d10b5 Cleanup. I plan to take a closer look at the sound effects handling later.
svn-id: r13661
2004-04-28 11:47:19 +00:00
Paweł Kołodziejski 20a6c89068 update
svn-id: r13660
2004-04-28 05:47:32 +00:00
Paweł Kołodziejski 319ae4deed cleanup
svn-id: r13659
2004-04-28 05:39:53 +00:00
Eugene Sandulenko d6e78803db Fixed crash. Original clip routine was more sane.
Some code formatting.

svn-id: r13658
2004-04-28 02:11:09 +00:00