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

Player of the gems of a vocal track, one bar of the song at a time. More...

#include <voxtrackmusic.h>

Public Member Functions

 VoxTrackMusic (CatchTrackData *pGems, PlayMap *pPlayMap, int nTicksPerBar, int nNumBars)
 Construct the player and collect the music of the gems bar by bar.
 ~VoxTrackMusic ()
 Withdraw the scheduled command and release the player.
void Start ()
 Schedule the first bar at tick 0.
void Stop ()
 Withdraw the scheduled command.
void SetMuted (bool bMuted)
 Silence the music, or play the current bar again from the current tick.

Detailed Description

Player of the gems of a vocal track, one bar of the song at a time.

The RTTI records the command the class schedules. The class is not polymorphic. The member names are inferred. Each bar of the song has a MultiMuse with the music of the gems of the bar, and each bar the song plays starts the MultiMuse of the bar of the song it maps to.

Constructor & Destructor Documentation

◆ VoxTrackMusic()

VoxTrackMusic::VoxTrackMusic ( CatchTrackData * pGems,
PlayMap * pPlayMap,
int nTicksPerBar,
int nNumBars )

Construct the player and collect the music of the gems bar by bar.

Parameters
pGemsThe gems.
pPlayMapThe map of the song positions.
nTicksPerBarThe song ticks in one bar.
nNumBarsThe length of the song in bars.
Ghidra address:
NTSC-U/C: 0x00143ab8
Ghidra address:
PAL: 0x00145448

◆ ~VoxTrackMusic()

VoxTrackMusic::~VoxTrackMusic ( )

Withdraw the scheduled command and release the player.

The MultiMuse objects of the bars are not released.

Ghidra address:
NTSC-U/C: 0x00143bd8
Ghidra address:
PAL: 0x00145568

Member Function Documentation

◆ Start()

void VoxTrackMusic::Start ( )

Schedule the first bar at tick 0.

Ghidra address:
NTSC-U/C: 0x00143c50
Ghidra address:
PAL: 0x001455e0

◆ Stop()

void VoxTrackMusic::Stop ( )

Withdraw the scheduled command.

Ghidra address:
NTSC-U/C: 0x00143c90
Ghidra address:
PAL: 0x00145620

◆ SetMuted()

void VoxTrackMusic::SetMuted ( bool bMuted)

Silence the music, or play the current bar again from the current tick.

Parameters
bMutedWhether the music is silent.
Ghidra address:
NTSC-U/C: 0x00143cc8
Ghidra address:
PAL: 0x00145658

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