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

Player of the guide sound of each gem of a catch track as the song reaches the gem. More...

#include <guideticker.h>

Public Member Functions

 GuideTicker (CatchTrackState *pState, int nTicksPerBar)
 Construct a ticker at the first gem of the track.
 ~GuideTicker ()
 Withdraw the scheduled gem.
void Start ()
 Schedule an update for the current tick.
void Stop ()
 Withdraw the scheduled update.
void Mute ()
 Mute the ticker until Unmute().
void Unmute ()
 Let the ticker play again.
void MuteForTwoBars ()
 Mute the ticker until the gems of two bars after the current bar have passed.
void Update ()
 Play the gems the song has reached and schedule the next gem.

Detailed Description

Player of the guide sound of each gem of a catch track as the song reaches the gem.

The RTTI records only the command the class schedules. The class is not polymorphic. CatchTrack builds one. Gems of bars that are disabled or already captured play no sound, and the ticker can be muted, indefinitely or until two more bars with gems have passed.

Constructor & Destructor Documentation

◆ GuideTicker()

GuideTicker::GuideTicker ( CatchTrackState * pState,
int nTicksPerBar )

Construct a ticker at the first gem of the track.

Parameters
pStateThe state of the bars of the track.
nTicksPerBarThe song ticks in one bar.
Ghidra address:
NTSC-U/C: 0x00150f90
Ghidra address:
PAL: 0x00152880

◆ ~GuideTicker()

GuideTicker::~GuideTicker ( )

Withdraw the scheduled gem.

Ghidra address:
NTSC-U/C: 0x00151008
Ghidra address:
PAL: 0x001528f8

Member Function Documentation

◆ Start()

void GuideTicker::Start ( )

Schedule an update for the current tick.

Ghidra address:
NTSC-U/C: 0x00151058
Ghidra address:
PAL: 0x00152948

◆ Stop()

void GuideTicker::Stop ( )

Withdraw the scheduled update.

Ghidra address:
NTSC-U/C: 0x00151098
Ghidra address:
PAL: 0x00152988

◆ Mute()

void GuideTicker::Mute ( )

Mute the ticker until Unmute().

Ghidra address:
NTSC-U/C: 0x001510d0
Ghidra address:
PAL: 0x001529c0

◆ Unmute()

void GuideTicker::Unmute ( )

Let the ticker play again.

Ghidra address:
NTSC-U/C: 0x001510e0
Ghidra address:
PAL: 0x001529d0

◆ MuteForTwoBars()

void GuideTicker::MuteForTwoBars ( )

Mute the ticker until the gems of two bars after the current bar have passed.

Ghidra address:
NTSC-U/C: 0x001510e8
Ghidra address:
PAL: 0x001529d8

◆ Update()

void GuideTicker::Update ( )

Play the gems the song has reached and schedule the next gem.

Ghidra address:
NTSC-U/C: 0x00151138
Ghidra address:
PAL: 0x00152a28

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