Etterna 0.74.4
|
Draws TapNotes and HoldNotes. More...
#include <NoteDisplay.h>
Public Member Functions | |
void | Load (int iColNum, const PlayerState *pPlayerState, float fYReverseOffsetPixels) |
auto | DrawHoldsInRange (const NoteFieldRenderArgs &field_args, const NoteColumnRenderArgs &column_args, const std::vector< NoteData::TrackMap::const_iterator > &tap_set) -> bool |
auto | DrawTapsInRange (const NoteFieldRenderArgs &field_args, const NoteColumnRenderArgs &column_args, const std::vector< NoteData::TrackMap::const_iterator > &tap_set) -> bool |
void | DrawTap (const TapNote &tn, const NoteFieldRenderArgs &field_args, const NoteColumnRenderArgs &column_args, float fBeat, bool bOnSameRowAsHoldStart, bool bOnSameRowAsRollBeat, bool bIsAddition, float fPercentFadeToFail) |
Draw the TapNote onto the NoteField. | |
void | DrawHold (const TapNote &tn, const NoteFieldRenderArgs &field_args, const NoteColumnRenderArgs &column_args, int iRow, bool bIsBeingHeld, const HoldNoteResult &Result, bool bIsAddition, float fPercentFadeToFail) |
auto | DrawHoldHeadForTapsOnSameRow () const -> bool |
auto | DrawRollHeadForTapsOnSameRow () const -> bool |
Static Public Member Functions | |
static void | Update (float fDeltaTime) |
Public Attributes | |
float | m_fYReverseOffsetPixels |
Draws TapNotes and HoldNotes.
void NoteDisplay::DrawTap | ( | const TapNote & | tn, |
const NoteFieldRenderArgs & | field_args, | ||
const NoteColumnRenderArgs & | column_args, | ||
float | fBeat, | ||
bool | bOnSameRowAsHoldStart, | ||
bool | bOnSameRowAsRollBeat, | ||
bool | bIsAddition, | ||
float | fPercentFadeToFail | ||
) |
Draw the TapNote onto the NoteField.
tn | the TapNote in question. |
iCol | the column. |
float | fBeat the beat to draw them on. |
bOnSameRowAsHoldStart | a flag to see if a hold is on the same beat. |
bOnSameRowAsRollStart | a flag to see if a roll is on the same beat. |
bIsAddition | a flag to see if this note was added via mods. |
fPercentFadeToFail | at what point do the notes fade on failure? |
fReverseOffsetPixels | How are the notes adjusted on Reverse? |
fDrawDistanceAfterTargetsPixels | how much to draw after the receptors. |
fDrawDistanceBeforeTargetsPixels | how much ot draw before the receptors. |
fFadeInPercentOfDrawFar | when to start fading in. |