resonance 1.0.1
Loading...
Searching...
No Matches
leveldata.h
Go to the documentation of this file.
1#pragma once
2
3class PlayMap;
4class TrackData;
5
6namespace Sch {
7class TempoMap;
8} // namespace Sch
9
27class LevelData {
28public:
33 virtual ~LevelData();
34
42 virtual int TrackCount() = 0;
43
51 virtual int BackingTrackCount() = 0;
52
61 virtual TrackData *OwnTrack() = 0;
62
71 virtual TrackData *TrackAt(int nIndex) = 0;
72
84 virtual TrackData *BackingTrackAt(int nIndex) = 0;
85
96 virtual Sch::TempoMap *GetTempoMap() = 0;
97
108 virtual PlayMap *GetPlayMap() = 0;
109
119 virtual int GetEndBar() = 0;
120};
Read-only interface the game reads one converted level through.
Definition leveldata.h:27
virtual ~LevelData()
virtual TrackData * TrackAt(int nIndex)=0
Report one track by index.
virtual PlayMap * GetPlayMap()=0
Report the level's play map.
virtual Sch::TempoMap * GetTempoMap()=0
Report the level's tempo map.
virtual int BackingTrackCount()=0
Report how many backing tracks the level has.
virtual int GetEndBar()=0
Report the level's end bar.
virtual int TrackCount()=0
Report how many tracks the level has.
virtual TrackData * BackingTrackAt(int nIndex)=0
Report one backing track by index.
virtual TrackData * OwnTrack()=0
Report the level's own track.
Traversal order over one playable sequence.
Definition playmap.h:47
Affine map between a song position in MIDI ticks and scheduler time in nanoseconds.
Definition tempomap.h:43
Converted events of one track of a level.
Definition trackdata.h:52
Scheduling of timed commands.
Definition activefilter.h:9