TrackBuilder that collects the events of the track named "WORLD".
More...
#include <worldbeatbuilder.h>
|
| | WorldBeatBuilder (int nTrack, bool bValidate, ErrorHandler pfnError, int nIntroTicks, WorldTrack *pTrack) |
| | Construct a builder.
|
| | ~WorldBeatBuilder () override |
| | Release the builder.
|
| void | OnNewTrack (unsigned char nTrack) override |
| | Ignore the start of the track.
|
| void | OnEndTrack () override |
| | Ignore the end of the track.
|
| void | OnAllDone () override |
| | Ignore the end of the file.
|
| void | OnMidi (int nTick, unsigned char nStatus, unsigned char nData1, unsigned char nData2) override |
| | Record the event a channel message marks.
|
| void | OnTempo (int nTick, int nMicrosecondsPerBeat) override |
| | Ignore a tempo change.
|
| void | OnText (int nTick, const char *pszText, unsigned char nType) override |
| | Ignore a text event.
|
| void | OnTimeSignature (int nTick, int nNumerator, int nDenominator) override |
| | Ignore a time signature.
|
| | TrackBuilder (int nTrack, bool bValidate, ErrorHandler pfnError) |
| | Construct a builder.
|
| | ~TrackBuilder () override |
| | Release the builder.
|
| void | Error (int nTick, const char *pszMessage) |
| | Report a build error at a tick.
|
| virtual | ~MidiReceiver () |
| | Release the receiver.
|
TrackBuilder that collects the events of the track named "WORLD".
The RTTI includes the class name and records TrackBuilder as the base. The object is 0x64 bytes. The routines with an address in the binary are not reconstructed.
◆ WorldBeatBuilder()
| WorldBeatBuilder::WorldBeatBuilder |
( |
int | nTrack, |
|
|
bool | bValidate, |
|
|
ErrorHandler | pfnError, |
|
|
int | nIntroTicks, |
|
|
WorldTrack * | pTrack ) |
Construct a builder.
- Parameters
-
| nTrack | The number of the MIDI track the error messages give. |
| bValidate | Check the events for authoring errors. |
| pfnError | The routine that reports an error, or null to print it. |
| nIntroTicks | The length of the song intro. |
| pTrack | The events to fill. |
- Ghidra address:
- NTSC-U/C: 0x00281568
- Ghidra address:
- PAL: 0x0028ae68
◆ ~WorldBeatBuilder()
| WorldBeatBuilder::~WorldBeatBuilder |
( |
| ) |
|
|
override |
Release the builder.
- Ghidra address:
- NTSC-U/C: 0x002815f0
- Ghidra address:
- PAL: 0x0028aef0
◆ OnNewTrack()
| void WorldBeatBuilder::OnNewTrack |
( |
unsigned char | nTrack | ) |
|
|
inlineoverridevirtual |
Ignore the start of the track.
- Parameters
-
Implements MidiReceiver.
◆ OnEndTrack()
| void WorldBeatBuilder::OnEndTrack |
( |
| ) |
|
|
inlineoverridevirtual |
◆ OnAllDone()
| void WorldBeatBuilder::OnAllDone |
( |
| ) |
|
|
inlineoverridevirtual |
◆ OnMidi()
| void WorldBeatBuilder::OnMidi |
( |
int | nTick, |
|
|
unsigned char | nStatus, |
|
|
unsigned char | nData1, |
|
|
unsigned char | nData2 ) |
|
overridevirtual |
Record the event a channel message marks.
- Parameters
-
| nTick | The tick of the message. |
| nStatus | The status byte. |
| nData1 | The first data byte. |
| nData2 | The second data byte. |
- Ghidra address:
- NTSC-U/C: 0x00281640
- Ghidra address:
- PAL: 0x0028af40
Implements MidiReceiver.
◆ OnTempo()
| void WorldBeatBuilder::OnTempo |
( |
int | nTick, |
|
|
int | nMicrosecondsPerBeat ) |
|
inlineoverridevirtual |
Ignore a tempo change.
- Parameters
-
| nTick | The tick. |
| nMicrosecondsPerBeat | The tempo. |
Implements MidiReceiver.
◆ OnText()
| void WorldBeatBuilder::OnText |
( |
int | nTick, |
|
|
const char * | pszText, |
|
|
unsigned char | nType ) |
|
inlineoverridevirtual |
Ignore a text event.
- Parameters
-
| nTick | The tick. |
| pszText | The text. |
| nType | The type of the event. |
Implements MidiReceiver.
◆ OnTimeSignature()
| void WorldBeatBuilder::OnTimeSignature |
( |
int | nTick, |
|
|
int | nNumerator, |
|
|
int | nDenominator ) |
|
inlineoverridevirtual |
Ignore a time signature.
- Parameters
-
| nTick | The tick. |
| nNumerator | The beats in a bar. |
| nDenominator | The length of a beat. |
Implements MidiReceiver.
The documentation for this class was generated from the following file: