Torbjörn Andersson
28e63617e1
Set _parser to NULL after deleting it. I don't know if it's necessary, but
...
it'll make me sleep easier at night, and I should have remembered to do it
before anyway.
svn-id: r13912
2004-05-31 08:59:11 +00:00
Torbjörn Andersson
cddf02fc32
Make sure music is unloaded and the parser object deleted before starting a
...
new piece of music.
svn-id: r13909
2004-05-31 08:46:36 +00:00
Eugene Sandulenko
4ceb84c643
Extend midi music table.
...
Implement music looping.
svn-id: r13899
2004-05-29 21:04:44 +00:00
Torbjörn Andersson
c51d9fba08
Cleaned up the handling of external MIDI files, and added the missing ones.
...
This is based on experimentation and guesswork, so it might be wrong, but
it will have to do for now.
svn-id: r13839
2004-05-16 12:57:49 +00:00
Torbjörn Andersson
148872d1fd
Replaced R_printf() with debug() and warning(). There are still a couple of
...
standard printf()s left, though.
svn-id: r13791
2004-05-05 13:05:45 +00:00
Torbjörn Andersson
4110aeb5d5
With Jamieson630's MIDI parser fix, all the ITE MIDIs should work.
...
svn-id: r13720
2004-05-01 16:49:23 +00:00
Paweł Kołodziejski
84eb0101a7
indent
...
svn-id: r13706
2004-05-01 13:04:31 +00:00
Torbjörn Andersson
ca7b89d2a5
Fixed warning
...
svn-id: r13702
2004-05-01 09:38:03 +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
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
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
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
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