Player of the riff of each gem of a pitch track at the gem's tick.
More...
#include <pitchtrackmusic.h>
Player of the riff of each gem of a pitch track at the gem's tick.
The RTTI records the commands the class schedules. The class is not polymorphic. The member names are inferred.
◆ PitchTrackMusic()
Construct a player of gems.
- Parameters
-
| pGems | The gems. |
| pRiffs | The riffs of the gems. |
| nTicksPerBar | The song ticks in one bar. |
- Ghidra address:
- NTSC-U/C: 0x0012d238
- Ghidra address:
- PAL: 0x0012ea10
◆ ~PitchTrackMusic()
| PitchTrackMusic::~PitchTrackMusic |
( |
| ) |
|
Withdraw the scheduled commands and release the player.
- Ghidra address:
- NTSC-U/C: 0x0012d2d8
- Ghidra address:
- PAL: 0x0012eab0
◆ Start()
| void PitchTrackMusic::Start |
( |
| ) |
|
Schedule the first bar at tick 0.
- Ghidra address:
- NTSC-U/C: 0x0012d340
- Ghidra address:
- PAL: 0x0012eb18
◆ Stop()
| void PitchTrackMusic::Stop |
( |
| ) |
|
Withdraw the scheduled commands.
- Ghidra address:
- NTSC-U/C: 0x0012d380
- Ghidra address:
- PAL: 0x0012eb58
◆ SetGems()
Play other gems from the current bar on.
- Parameters
-
- Ghidra address:
- NTSC-U/C: 0x0012d3d8
- Ghidra address:
- PAL: 0x0012ebb0
◆ Play()
| void PitchTrackMusic::Play |
( |
Muse * | pRiff, |
|
|
int | nOffset ) |
Stop the riff that plays and play another.
- Parameters
-
| pRiff | The riff. |
| nOffset | The ticks the riff's events move by. |
- Ghidra address:
- NTSC-U/C: 0x0012d440
- Ghidra address:
- PAL: 0x0012ec18
◆ SetMuted()
| void PitchTrackMusic::SetMuted |
( |
bool | bMuted | ) |
|
Set whether the gems play, stopping the riff that plays when they no longer do.
- Parameters
-
| bMuted | Whether the gems are silent. |
- Ghidra address:
- NTSC-U/C: 0x0012d4b8
- Ghidra address:
- PAL: 0x0012ec90
The documentation for this class was generated from the following file: