ScummVM API documentation
AGOS::SfxParser_Accolade_MT32 Class Reference
Inheritance diagram for AGOS::SfxParser_Accolade_MT32:
AGOS::SfxParser_Accolade

Protected Member Functions

void setMidiDriver (MidiDriver_Multisource *driver) override
 
byte getNumberOfSfxSources () override
 
void readInstrument (SfxData *sfxData, Common::SeekableReadStream *in) override
 
bool loadInstrument (SfxSlot *sfxSlot) override
 
void changeInstrument (SfxSlot *sfxSlot) override
 
- Protected Member Functions inherited from AGOS::SfxParser_Accolade
void stop (SfxSlot *sfxSlot)
 
void processOpCode (SfxSlot *sfxSlot, byte opCode)
 
virtual byte getNumberOfSfxSources ()=0
 
virtual void readInstrument (SfxData *sfxData, Common::SeekableReadStream *in)=0
 
virtual bool loadInstrument (SfxSlot *sfxSlot)=0
 
virtual void changeInstrument (SfxSlot *sfxSlot)
 
virtual void noteOn (SfxSlot *sfxSlot)
 
virtual void noteOff (SfxSlot *sfxSlot)
 
virtual void updateNote (SfxSlot *sfxSlot)
 

Protected Attributes

MidiDriver_Accolade_MT32 * _mt32Driver
 
- Protected Attributes inherited from AGOS::SfxParser_Accolade
Common::Mutex _mutex
 
MidiDriver_Multisource * _driver
 
uint32 _timerRate
 
SfxData * _sfxData
 
uint16 _numSfx
 
SfxSlot _sfxSlots [4]
 
int8 _sourceAllocations [4]
 
bool _paused
 

Additional Inherited Members

- Public Member Functions inherited from AGOS::SfxParser_Accolade
void load (Common::SeekableReadStream *in, int32 size)
 
virtual void setMidiDriver (MidiDriver_Multisource *driver)=0
 
void setTimerRate (uint32 rate)
 
void play (uint8 sfxNumber)
 
void stopAll ()
 
void pauseAll (bool paused)
 
void onTimer ()
 
- Static Public Member Functions inherited from AGOS::SfxParser_Accolade
static void timerCallback (void *data)
 
- Static Public Attributes inherited from AGOS::SfxParser_Accolade
static const byte INSTRUMENT_SIZE_MT32 = 0xF9
 
static const uint16 SCRIPT_TIMER_FREQUENCY = 292
 
static const uint16 SCRIPT_TIMER_RATE = 1000000 / SCRIPT_TIMER_FREQUENCY
 
- Static Protected Attributes inherited from AGOS::SfxParser_Accolade
static const byte INSTRUMENT_SIZE_ADLIB = 0x09
 
static const byte MAX_SCRIPT_SIZE = 0x30
 
static const byte OPL2_NUM_SOURCES = 2
 
static const byte OPL3_NUM_SOURCES = 4
 

Member Function Documentation

◆ setMidiDriver()

void AGOS::SfxParser_Accolade_MT32::setMidiDriver ( MidiDriver_Multisource *  driver)
overrideprotectedvirtual

◆ getNumberOfSfxSources()

byte AGOS::SfxParser_Accolade_MT32::getNumberOfSfxSources ( )
overrideprotectedvirtual

◆ readInstrument()

void AGOS::SfxParser_Accolade_MT32::readInstrument ( SfxData *  sfxData,
Common::SeekableReadStream *  in 
)
overrideprotectedvirtual

◆ loadInstrument()

bool AGOS::SfxParser_Accolade_MT32::loadInstrument ( SfxSlot *  sfxSlot)
overrideprotectedvirtual

◆ changeInstrument()

void AGOS::SfxParser_Accolade_MT32::changeInstrument ( SfxSlot *  sfxSlot)
overrideprotectedvirtual

Reimplemented from AGOS::SfxParser_Accolade.


The documentation for this class was generated from the following file: