Jerome Fisher
eda317924e
Committed patch #1168149 (Shared GM/MT-32 mapping) by eriktorbjorn as-is. This does the following:
...
- Replaces multiple identical MT-32-to-General MIDI mapping tables with a common one in MidiDriver.
- Changes Sky's GmChannel class to allow NULL instrument and velocity mapping tables, giving a 1-to-1 mapping without creating a dummy table.
svn-id: r17361
2005-04-03 22:01:38 +00:00
Nicolas Bacca
a6d6ec4a77
Fix alignment problem
...
svn-id: r16523
2005-01-10 20:49:35 +00:00
Joost Peters
57eaf5c925
Change warning to debug
...
svn-id: r16440
2005-01-06 11:46:32 +00:00
Max Horn
47280d9433
Updated copyright
...
svn-id: r16398
2005-01-01 16:09:25 +00:00
Gregory Montoir
a44e824815
added some comments and re-indented some parts of code
...
svn-id: r16394
2004-12-31 00:25:18 +00:00
Joost Peters
88b0fb396a
songs > 1000 are special commands which shouldn't be ignored. fixes a rather nasty regression in fotaq.
...
svn-id: r16272
2004-12-23 04:59:44 +00:00
Joost Peters
418c5f8473
Change order of close()'ing and delete'ing _driver and _parser; fixes bug #1088441
...
svn-id: r16241
2004-12-21 13:26:50 +00:00
Gregory Montoir
2919f4e11e
Added check to prevent queueing invalid songs, and thus reading OOB...
...
svn-id: r16160
2004-12-20 12:39:54 +00:00
Gregory Montoir
6414ec92a2
cleanup, follow code conventions
...
svn-id: r15872
2004-11-23 22:21:45 +00:00
Gregory Montoir
20d12a515e
fix potiential memory leak
...
svn-id: r15779
2004-11-10 17:54:51 +00:00
Eugene Sandulenko
2c76a8e024
Support MT-32 emu.
...
svn-id: r15657
2004-10-22 23:44:08 +00:00
Gregory Montoir
8b0e9502ec
cleanup and simplify Resource class a bit more
...
svn-id: r14488
2004-08-06 17:01:58 +00:00
Nicolas Bacca
039e06c59c
Fix bug #925059
...
svn-id: r13416
2004-03-28 21:44:41 +00:00
Joost Peters
99d57c2d9f
Respond to volume-altering songs
...
svn-id: r13225
2004-03-09 01:48:12 +00:00
Joost Peters
1020f97cea
Enable music volume slider in Journal
...
svn-id: r13222
2004-03-09 00:52:07 +00:00
Joost Peters
3a6646b598
Handle "compressed" songs
...
svn-id: r13066
2004-02-27 02:08:44 +00:00
Joost Peters
9b764920a1
fix yet another piece of broken music
...
svn-id: r12861
2004-02-14 00:37:44 +00:00
Joost Peters
63be7c1323
Allow using a real MT-32 (can someone with one please test this?)
...
svn-id: r12641
2004-01-27 23:05:02 +00:00
Joost Peters
829df83f79
minor cleanup
...
svn-id: r12640
2004-01-27 21:28:17 +00:00
Nicolas Bacca
a2038809b2
Yet another stupid EVC fix
...
svn-id: r12606
2004-01-26 07:38:26 +00:00
Travis Howell
04bb7fff2d
Check for demo version.
...
svn-id: r12596
2004-01-25 16:48:06 +00:00
Joost Peters
b3a9071118
- Cope better with invalid music (fixes 100% CPU usage)
...
- Some const'ness
svn-id: r12590
2004-01-25 12:50:29 +00:00
Joost Peters
d40d9b7f0d
- Added MT32 -> GM mapping, this fixes the wrong sound for the clock in the beginning as well as various tunes.
...
- Don't try to play invalid music (list probably is incomplete)
- Work around annoying notes bug in 2 pieces of Floda music
- Stop music when loading savegames
svn-id: r12584
2004-01-24 22:55:09 +00:00
Joost Peters
0bece175e4
- Some refactoring/clean-up.
...
- Handle special music types (> 1000)
- Implemented random looping (untested)
svn-id: r12577
2004-01-22 23:10:05 +00:00
Joost Peters
4ea5f7225d
initialise _channel array
...
svn-id: r12535
2004-01-20 12:44:00 +00:00
Joost Peters
698eefae58
- Enable music queueing (I don't really like the levels of indirection, but it'll do for now)
...
- Handle special music type '2000' (restart previously queued music)
svn-id: r12529
2004-01-19 23:54:50 +00:00
Joost Peters
7a53d9ba7b
Added MusicPlayer class (MidiDriver derivate) for greater flexibility
...
svn-id: r12523
2004-01-19 21:23:42 +00:00
Max Horn
033ff78ae9
updated copyright notice
...
svn-id: r12176
2004-01-06 12:45:34 +00:00
Joost Peters
9e78d9e14e
Demo uses different file for music (and disable it for now)
...
svn-id: r12011
2003-12-29 15:50:17 +00:00
Joost Peters
e76c4c9ebe
Need to call this as well to properly stop music
...
svn-id: r11989
2003-12-28 03:56:13 +00:00
Joost Peters
dbe01121eb
Improved music code a bit. still has 'hanging notes' when stopping music, though.
...
svn-id: r11988
2003-12-28 03:31:05 +00:00
Joost Peters
effc207b69
- added 'song' debugger command
...
- restore music after loading game
- fix for bug in Roland Floda Corridor music
- added LE struct reading methods (and renamed the old BE ones) for future compatibility with original DOS savegames
svn-id: r11985
2003-12-28 01:17:29 +00:00
Joost Peters
1de28a2931
Initial (Roland) Music support; a lot of stuff is still missing and/or incomplete.
...
svn-id: r11621
2003-12-14 00:33:21 +00:00