wavelength 1.0.0
Loading...
Searching...
No Matches
PitchTrackRiffs Class Reference

The riffs of a pitch track, addressed by the ticks the song plays at. More...

#include <pitchtrackriffs.h>

Public Member Functions

 PitchTrackRiffs (PitchTrackRiffData *pRiffData, PlayMap *pPlayMap)
 Construct a view of riffs.
 ~PitchTrackRiffs ()
 Release the view.
Muse * GetRiff (int nSlot)
 Report the riff of a gem button at the current tick of the song.
Muse * GetRiff (int nSlot, int nTick)
 Report the riff of a gem button at a tick the song plays at.

Detailed Description

The riffs of a pitch track, addressed by the ticks the song plays at.

The class is not polymorphic and has no RTTI. The name is inferred.

Constructor & Destructor Documentation

◆ PitchTrackRiffs()

PitchTrackRiffs::PitchTrackRiffs ( PitchTrackRiffData * pRiffData,
PlayMap * pPlayMap )

Construct a view of riffs.

Parameters
pRiffDataThe riffs.
pPlayMapThe map of the song positions.
Ghidra address:
NTSC-U/C: 0x0012d170
Ghidra address:
PAL: 0x0012e948

◆ ~PitchTrackRiffs()

PitchTrackRiffs::~PitchTrackRiffs ( )

Release the view.

The body is empty.

Ghidra address:
NTSC-U/C: 0x0012d180
Ghidra address:
PAL: 0x0012e958

Member Function Documentation

◆ GetRiff() [1/2]

Muse * PitchTrackRiffs::GetRiff ( int nSlot)

Report the riff of a gem button at the current tick of the song.

Parameters
nSlotThe gem button.
Returns
The riff.
Ghidra address:
NTSC-U/C: 0x0012d1a8
Ghidra address:
PAL: 0x0012e980

◆ GetRiff() [2/2]

Muse * PitchTrackRiffs::GetRiff ( int nSlot,
int nTick )

Report the riff of a gem button at a tick the song plays at.

Parameters
nSlotThe gem button.
nTickThe tick.
Returns
The riff.
Ghidra address:
NTSC-U/C: 0x0012d1d0
Ghidra address:
PAL: 0x0012e9a8

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