The riffs a pitch track plays, one set of riffs for each tick that starts a set.
More...
#include <pitchtrackriffdata.h>
|
| | PitchTrackRiffData () |
| | Construct riff data with no riffs.
|
| | ~PitchTrackRiffData () |
| | Release the riffs.
|
| void | AddRiffs (int nTick, Muse *pRiff0, Muse *pRiff1, Muse *pRiff2) |
| | Add the riffs that start at a tick.
|
| void | GetRiffs (int nIndex, Muse **ppRiff0, Muse **ppRiff1, Muse **ppRiff2) const |
| | Report the riffs of a set.
|
| Muse * | GetRiff (int nTick, int nSlot) const |
| | Report the riff of one gem button at a tick.
|
| int | FindRiffs (int nTick) const |
| | Find the last set that starts at or before a tick.
|
| void | SetEnabled (bool bEnabled) |
| | Set whether the track takes part in a remix.
|
| bool | IsEnabled () const |
| | Report whether the track takes part in a remix.
|
| const String & | GetName () const |
| void | SetName (const char *pszName) |
The riffs a pitch track plays, one set of riffs for each tick that starts a set.
The class is not polymorphic. The name comes from the RTTI of its nested class RiffSet. The member names are inferred.
◆ PitchTrackRiffData()
| PitchTrackRiffData::PitchTrackRiffData |
( |
| ) |
|
Construct riff data with no riffs.
- Ghidra address:
- NTSC-U/C: 0x0012ca98
- Ghidra address:
- PAL: 0x0012e270
◆ ~PitchTrackRiffData()
| PitchTrackRiffData::~PitchTrackRiffData |
( |
| ) |
|
Release the riffs.
- Ghidra address:
- NTSC-U/C: 0x0012caf0
- Ghidra address:
- PAL: 0x0012e2c8
◆ AddRiffs()
| void PitchTrackRiffData::AddRiffs |
( |
int | nTick, |
|
|
Muse * | pRiff0, |
|
|
Muse * | pRiff1, |
|
|
Muse * | pRiff2 ) |
Add the riffs that start at a tick.
- Parameters
-
| nTick | The tick. |
| pRiff0 | The riff of the first gem button. |
| pRiff1 | The riff of the second gem button. |
| pRiff2 | The riff of the third gem button. |
- Ghidra address:
- NTSC-U/C: 0x0012cbc0
- Ghidra address:
- PAL: 0x0012e398
◆ GetRiffs()
| void PitchTrackRiffData::GetRiffs |
( |
int | nIndex, |
|
|
Muse ** | ppRiff0, |
|
|
Muse ** | ppRiff1, |
|
|
Muse ** | ppRiff2 ) const |
Report the riffs of a set.
- Parameters
-
| nIndex | The set. |
| ppRiff0 | Receives the riff of the first gem button. |
| ppRiff1 | Receives the riff of the second gem button. |
| ppRiff2 | Receives the riff of the third gem button. |
- Ghidra address:
- NTSC-U/C: 0x0012cf00
- Ghidra address:
- PAL: 0x0012e6d8
◆ GetRiff()
| Muse * PitchTrackRiffData::GetRiff |
( |
int | nTick, |
|
|
int | nSlot ) const |
Report the riff of one gem button at a tick.
- Parameters
-
| nTick | The tick. |
| nSlot | The gem button, 0 to 2. |
- Returns
- The riff, or null when no set starts at or before the tick or the button is out of range.
- Ghidra address:
- NTSC-U/C: 0x0012cf70
- Ghidra address:
- PAL: 0x0012e748
◆ FindRiffs()
| int PitchTrackRiffData::FindRiffs |
( |
int | nTick | ) |
const |
Find the last set that starts at or before a tick.
- Parameters
-
- Returns
- The set, or -1.
- Ghidra address:
- NTSC-U/C: 0x0012d030
- Ghidra address:
- PAL: 0x0012e808
◆ SetEnabled()
| void PitchTrackRiffData::SetEnabled |
( |
bool | bEnabled | ) |
|
Set whether the track takes part in a remix.
- Parameters
-
| bEnabled | Whether the track takes part. |
- Ghidra address:
- NTSC-U/C: 0x0012d160
- Ghidra address:
- PAL: 0x0012e938
◆ IsEnabled()
| bool PitchTrackRiffData::IsEnabled |
( |
| ) |
const |
Report whether the track takes part in a remix.
- Returns
- mEnabled.
- Ghidra address:
- NTSC-U/C: 0x0012d168
- Ghidra address:
- PAL: 0x0012e940
◆ GetName()
| const String & PitchTrackRiffData::GetName |
( |
| ) |
const |
|
inline |
- Returns
- The name of the track.
◆ SetName()
| void PitchTrackRiffData::SetName |
( |
const char * | pszName | ) |
|
|
inline |
- Parameters
-
| pszName | The name of the track. |
The documentation for this class was generated from the following file: