resonance
1.0.1
Loading...
Searching...
No Matches
tnlboundary.h
Go to the documentation of this file.
1
#pragma once
2
3
class
PlayMap
;
4
namespace
Rnd
{
5
class
Text
;
6
class
View
;
7
}
// namespace Rnd
8
22
class
TnlBoundary
{
23
public
:
33
explicit
TnlBoundary
(
PlayMap
*pPlayMap);
34
46
void
SetFrame
(
float
flFrame);
47
57
void
UpdateText
();
58
59
private
:
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
};
PlayMap
Traversal order over one playable sequence.
Definition
playmap.h:47
Rnd::Text
Run of text drawn as a quad per glyph.
Definition
text.h:57
Rnd::View
Root of a loadable scene.
Definition
view.h:47
TnlBoundary::SetFrame
void SetFrame(float flFrame)
Animate the marker and advance it past a boundary the song has passed.
TnlBoundary::TnlBoundary
TnlBoundary(PlayMap *pPlayMap)
Place the marker at bar 0 and write its message.
TnlBoundary::UpdateText
void UpdateText()
Write the message for mStep into the "boundary msg" text.
Rnd
The rendering engine.
Definition
animhelper.h:3
src
app
tnlboundary.h
Generated by
1.15.0