1
0
Fork 0
mirror of https://github.com/k4zmu2a/SpaceCadetPinball.git synced 2025-09-01 06:20:15 +02:00

Added support for multiple music tracks in FT mode.

Note that taba3 is not currently played as it needs multiball support.
Issue #129.
This commit is contained in:
Muzychenko Andrey 2022-05-20 19:32:09 +03:00
parent 97aea20586
commit e283a643b3
7 changed files with 63 additions and 26 deletions

View file

@ -4,6 +4,7 @@
#include "control.h"
#include "loader.h"
#include "midi.h"
#include "pb.h"
#include "pinball.h"
#include "render.h"
@ -448,6 +449,8 @@ int TPinballTable::Message(int code, float value)
auto time = loader::play_sound(SoundIndex1);
LightShowTimer = timer::set(time, this, LightShow_timeout);
}
midi::play_track(midi::track1);
break;
case 1018:
if (ReplayTimer)