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

Display of the bars and gems of a vocal track on the play field, kept a stretch of ticks ahead of the song. More...

#include <voxtrackdisplay.h>

Public Member Functions

 VoxTrackDisplay (int nTrack, int nLeadInBars, int nTicksPerBar, PlayMap *pPlayMap, CatchTrackData *pGems)
 Construct a display.
 ~VoxTrackDisplay ()
 Withdraw the scheduled command and release the display.
void Start ()
 Show the bars up to the lookahead, and keep them shown as the song plays.
void Stop ()
 Withdraw the scheduled command.
void BlankBars (int nStartBar, int nEndBar)
 Show a range of bars empty.
void Redraw (int nStartBar)
 Show the bars and gems again from a bar to the last bar shown.
void Redraw (int nStartBar, int nEndBar)
 Show the bars and gems again over a range, cut at the last bar shown.

Detailed Description

Display of the bars and gems of a vocal track on the play field, kept a stretch of ticks ahead of the song.

The RTTI records the command the class schedules. The class is not polymorphic. The member names are inferred.

Constructor & Destructor Documentation

◆ VoxTrackDisplay()

VoxTrackDisplay::VoxTrackDisplay ( int nTrack,
int nLeadInBars,
int nTicksPerBar,
PlayMap * pPlayMap,
CatchTrackData * pGems )

Construct a display.

Parameters
nTrackThe track.
nLeadInBarsThe bars the song plays before bar 0.
nTicksPerBarThe song ticks in one bar.
pPlayMapThe map of the song positions.
pGemsThe gems shown.
Ghidra address:
NTSC-U/C: 0x00143558
Ghidra address:
PAL: 0x00144ee8

◆ ~VoxTrackDisplay()

VoxTrackDisplay::~VoxTrackDisplay ( )

Withdraw the scheduled command and release the display.

Ghidra address:
NTSC-U/C: 0x001435c8
Ghidra address:
PAL: 0x00144f58

Member Function Documentation

◆ Start()

void VoxTrackDisplay::Start ( )

Show the bars up to the lookahead, and keep them shown as the song plays.

Ghidra address:
NTSC-U/C: 0x00143618
Ghidra address:
PAL: 0x00144fa8

◆ Stop()

void VoxTrackDisplay::Stop ( )

Withdraw the scheduled command.

Ghidra address:
NTSC-U/C: 0x00143638
Ghidra address:
PAL: 0x00144fc8

◆ BlankBars()

void VoxTrackDisplay::BlankBars ( int nStartBar,
int nEndBar )

Show a range of bars empty.

Parameters
nStartBarThe first bar of the range.
nEndBarThe bar after the range.
Ghidra address:
NTSC-U/C: 0x00143670
Ghidra address:
PAL: 0x00145000

◆ Redraw() [1/2]

void VoxTrackDisplay::Redraw ( int nStartBar)

Show the bars and gems again from a bar to the last bar shown.

Parameters
nStartBarThe first bar.
Ghidra address:
NTSC-U/C: 0x00143758
Ghidra address:
PAL: 0x001450e8

◆ Redraw() [2/2]

void VoxTrackDisplay::Redraw ( int nStartBar,
int nEndBar )

Show the bars and gems again over a range, cut at the last bar shown.

Parameters
nStartBarThe first bar of the range.
nEndBarThe bar after the range.
Ghidra address:
NTSC-U/C: 0x00143778
Ghidra address:
PAL: 0x00145108

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