wavelength 1.0.0
Loading...
Searching...
No Matches
remixtrack.h
Go to the documentation of this file.
1#pragma once
2
3#include "game/track.h"
4#include "os/binstream.h"
5
13class RemixTrack : public Track {
14public:
22 explicit RemixTrack(int nIndex) : Track(nIndex) {
23 }
24
30 virtual void SetMuteRemote(bool bMuteRemote) = 0;
31
37 virtual bool GetMuteRemote() const = 0;
38
45 virtual void SkipBars(int nStartBar, int nEndBar) = 0;
46
48 virtual void RebuildGems() = 0;
49
55 virtual void SetActive(bool bActive) = 0;
56
62 virtual bool IsActive() const = 0;
63
69 virtual void Redraw(int nStartBar) = 0;
70
76 virtual void Save(BinStream &stream) = 0;
77
83 virtual void Load(BinStream &stream) = 0;
84};
Stream of raw bytes, the base of the memory, file, and network streams.
Definition binstream.h:22
virtual void Redraw(int nStartBar)=0
Show the track again from a bar on.
virtual bool GetMuteRemote() const =0
Report whether the track is silent while a player on another console is on it.
virtual void RebuildGems()=0
Copy the gems of each section's pattern into the section.
virtual void Save(BinStream &stream)=0
Write the edits of the track.
virtual bool IsActive() const =0
Report whether the track is the one the song's player plays.
RemixTrack(int nIndex)
Construct a track with no player.
Definition remixtrack.h:22
virtual void SetActive(bool bActive)=0
Set whether the track is the one the song's player plays, which silences its own riffs.
virtual void SetMuteRemote(bool bMuteRemote)=0
Set whether the track is silent while a player on another console is on it.
virtual void Load(BinStream &stream)=0
Read the edits of the track.
virtual void SkipBars(int nStartBar, int nEndBar)=0
Show a range of bars empty, and start the phrases at the end of the range.
Track(int nIndex)
Construct a track with no player.