Implemented new Simon MIDI module, switching from MidiStreamer to MidiParser. Restructuring enables XMIDI support and vc_72 implementation. Various cleanup on MidiParser's and MidiDriver's.

svn-id: r7654
This commit is contained in:
Jamieson Christian 2003-05-18 23:55:53 +00:00
parent b43bca21cb
commit c81b58d38e
12 changed files with 362 additions and 507 deletions

View file

@ -1814,8 +1814,9 @@ void SimonState::vc_69() {
if (_vc72_var1 == 999) {
_vc70_var2 = b;
if (_game & GF_WIN) {
midi.initialize();
midi.play();
// FIXME: What do we expect to have happen here?
// midi.initialize();
// midi.play();
}
_vc72_var1 = b;
} else if (_vc72_var1 != 0xFFFF) {
@ -1854,8 +1855,7 @@ void SimonState::vc_72() {
_vc72_var3 = a;
}
if (_debugMode)
warning("vc_72(%d,%d): music stuff?", a, b);
midi.jump (a, b);
}
void SimonState::vc_73_set_op189_flag() {