161 void SkipBars(
int nStartBar,
int nEndBar)
override;
260 std::vector<bool> mSectionMuted;
Stream of raw bytes, the base of the memory, file, and network streams.
Definition binstream.h:22
Input event of a button press that names only the player.
Definition btnevent.h:15
The gems of one catch track, in the order of their ticks.
Definition catchtrackdata.h:14
Map from the bars a song plays to the bars of the song as written, with the loops that repeat stretch...
Definition playmap.h:11
Input event that plays a note on one of the three gem buttons.
Definition playnoteevent.h:10
One participant in a song: the track the participant plays, the score, and the streak.
Definition player.h:19
RemixTrack(int nIndex)
Construct a track with no player.
Definition remixtrack.h:22
Ascending list of the measures at which the sections of a song end.
Definition sectionboundaries.h:12
The pattern each section of a remixed song repeats, as the section the pattern comes from.
Definition slotgrid.h:10
Input event of an analog stick position.
Definition stickevent.h:15
Display of the bars and gems of a vocal track on the play field, kept a stretch of ticks ahead of the...
Definition voxtrackdisplay.h:15
Player of the gems of a vocal track, one bar of the song at a time.
Definition voxtrackmusic.h:18
void HandleInput(Player *pPlayer, const PlayNoteEvent &event) override
Play the sound of an edit the track refuses when a gem button is pressed.
VoxTrack(CatchTrackData *pGems, PlayMap *pPlayMap, SectionBoundaries *pSections, SlotGrid *pPatternGrid, int nTrack, int nLeadInBars, int nNumBars, int nTicksPerBar)
Construct the track for one song track.
void Load(BinStream &stream) override
Read the switch of each section, one byte per section.
void SetMuteRemote(bool bMuteRemote) override
Set whether the track is silent while a player on another console is on it.
void Start() override
Start the track with the song.
void Redraw(int nStartBar) override
Show the track again from a bar on.
void Stop() override
Stop the track with the song.
void SetSection(int nSection)
Set the section the song plays.
bool IsSectionMuted(int nSection) const
Report whether a section is switched off.
bool GetMuteRemote() const override
Report whether the track is silent while a player on another console is on it.
void SkipBars(int nStartBar, int nEndBar) override
Show a range of bars empty.
bool IsActive() const override
Report whether the track is the one the song's player plays.
void HandleInput(Player *pPlayer, const BtnEvent< 8 > &event) override
Play the sound of an edit the track refuses.
void HandleInput(Player *pPlayer, const StickEvent< 2 > &event) override
Ignore a stick event.
Definition voxtrack.h:107
void HandleInput(Player *pPlayer, const StickEvent< 6 > &event) override
Ignore a stick event.
Definition voxtrack.h:119
void Save(BinStream &stream) override
Write the switch of each section, one byte per section.
void SetPlayer(Player *pPlayer) override
Give the track to the player it plays for, and show the player an empty phrase on it.
void HandleInput(Player *pPlayer, const BtnEvent< 10 > &event) override
Ignore a button event.
Definition voxtrack.h:131
~VoxTrack() override
Release the track.
void SetActive(bool bActive) override
Set whether the track is the one the song's player plays, which silences it.
void RebuildGems() override
Copy the switch of each section's pattern into the section.
void SetSectionMuted(int nSection, bool bMuted)
Switch a section off or on.