9926 Commits

Author SHA1 Message Date
Torbjörn Andersson
3ebb895e9a Doubled the buffer size to prevent crashes with the Inherit the Earth
MIDIs. This is a temporary fix - Jamieson630 said something about making a
better fix later - but it will have to do for now.

svn-id: r13719
2004-05-01 16:42:58 +00:00
Paweł Kołodziejski
e0600f4308 update
svn-id: r13718
2004-05-01 16:27:20 +00:00
Paweł Kołodziejski
4d6b9206b9 fix warning
svn-id: r13717
2004-05-01 16:24:39 +00:00
Paweł Kołodziejski
da719908fe indent
svn-id: r13716
2004-05-01 16:23:54 +00:00
Paweł Kołodziejski
0af53f3c97 indent
svn-id: r13715
2004-05-01 16:15:55 +00:00
Eugene Sandulenko
d84d93b5d0 Fix IHNM hang
svn-id: r13714
2004-05-01 15:08:20 +00:00
Paweł Kołodziejski
3ad363a274 indent
svn-id: r13713
2004-05-01 14:34:00 +00:00
Paweł Kołodziejski
e04312c0a5 indent
svn-id: r13712
2004-05-01 14:05:10 +00:00
Jonathan Gray
6f33b9225c unbreak change that prevented ite disk version from launching, add detection for win32 demo
svn-id: r13711
2004-05-01 14:00:53 +00:00
Paweł Kołodziejski
273be948c0 indent
svn-id: r13710
2004-05-01 13:48:01 +00:00
Jonathan Gray
db5e659d0c add some debug calls in the verify functions
svn-id: r13709
2004-05-01 13:20:58 +00:00
Paweł Kołodziejski
d46b68d7fe indent
svn-id: r13708
2004-05-01 13:19:15 +00:00
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