22#ifndef ULTIMA3_MUSIC_H
23#define ULTIMA3_MUSIC_H
25#include "audio/midiplayer.h"
49constexpr byte MUSIC_LOCATION_SCENE = 4;
50constexpr byte MUSIC_LOCATION_GEM = 0x11;
51constexpr byte MUSIC_LOCATION_COMBAT = 0x80;
59 static constexpr int UNSELECTED = -2;
61 bool _enabled =
false;
62 bool _driverOpened =
false;
64 int _song = SONG_NONE;
65 int _current = SONG_NONE;
66 int _jingle = SONG_NONE;
67 int _selected = UNSELECTED;
77 void start(
int song,
bool loop);
127 _selected = UNSELECTED;
Definition: midiplayer.h:63
void resync()
Definition: music.h:126
void setEnabled(bool enabled)
void autoSelect(byte location, bool inExodus)
bool playFile(const Common::String &name)
void send(uint32 b) override