resonance 1.0.1
Loading...
Searching...
No Matches
tnlboundary.h
Go to the documentation of this file.
1#pragma once
2
3class PlayMap;
4namespace Rnd {
5class Text;
6class View;
7} // namespace Rnd
8
23public:
33 explicit TnlBoundary(PlayMap *pPlayMap);
34
46 void SetFrame(float flFrame);
47
57 void UpdateText();
58
59private:
60 PlayMap *mPlayMap;
61 Rnd::View *mView; // "boundary.view".
62 Rnd::Text *mText; // "boundary msg".
63 int mStep; // Bar the marker stands at.
64 int mStepCount; // PlayMap::GetNumSections() at construction.
65};
Traversal order over one playable sequence.
Definition playmap.h:47
Run of text drawn as a quad per glyph.
Definition text.h:57
Root of a loadable scene.
Definition view.h:47
void SetFrame(float flFrame)
Animate the marker and advance it past a boundary the song has passed.
TnlBoundary(PlayMap *pPlayMap)
Place the marker at bar 0 and write its message.
void UpdateText()
Write the message for mStep into the "boundary msg" text.
The rendering engine.
Definition animhelper.h:3