4#include "Etterna/Actor/Base/ActorFrame.h"
5#include "Etterna/Actor/Base/BitmapText.h"
6#include "Etterna/Actor/Gameplay/GhostArrowRow.h"
7#include "Etterna/Actor/Gameplay/NoteDisplay.h"
8#include "Etterna/Actor/Base/Quad.h"
9#include "Etterna/Actor/Gameplay/ReceptorArrowRow.h"
10#include "Etterna/Actor/Base/Sprite.h"
19 void Update(
float fDeltaTime)
override;
21 void CalcPixelsBeforeAndAfterTargets();
22 void DrawBoardPrimitive();
25 float fYReverseOffsetPixels,
26 bool use_states_zoom =
true);
28 int iDrawDistanceAfterTargetsPixels,
29 int iDrawDistanceBeforeTargetsPixels);
32 virtual void ensure_note_displays_have_skin();
33 void InitColumnRenderers();
35 void HandleMessage(
const Message& msg)
override;
39 void CacheAllUsedNoteSkins();
42 void Step(
int col, TapNoteScore score,
bool from_lua =
false)
const;
43 void SetPressed(
int col,
bool from_lua =
false)
const;
44 void DidTapNote(
int col,
47 bool from_lua =
false)
const;
48 void DidHoldNote(
int col,
51 bool from_lua =
false)
const;
53 void PushSelf(lua_State* L)
override;
55 void SetShowBeatBars(
bool b) { showBeatBars = b; }
56 void SetShowIntervalBars(
bool b) { showCalcBars = b; }
66 [[nodiscard]]
auto GetPlayerState()
const ->
const PlayerState*
68 return m_pPlayerState;
71 int m_iBeginMarker, m_iEndMarker;
75 std::vector<NoteColumnRenderer> m_ColumnRenderers;
78 void CacheNoteSkin(
const std::string& sNoteSkin);
79 void UncacheNoteSkin(
const std::string& sNoteSkin);
81 void DrawBoard(
int iDrawDistanceAfterTargetsPixels,
82 int iDrawDistanceBeforeTargetsPixels);
91 void DrawBeatBar(
float fBeat, BeatBarType type,
int iMeasureIndex);
92 void DrawCalcIntervalBar(
const float fBeat);
93 void DrawMarkerBar(
int fBeat);
94 void DrawAreaHighlight(
int iStartBeat,
int iEndBeat);
95 void set_text_measure_number_for_draw(
float beat,
101 void draw_timing_segment_text(
const std::string& text,
108 void DrawBGChangeText(
float beat,
109 const std::string& new_bg_name,
111 [[nodiscard]]
auto GetWidth()
const -> float;
116 int m_iDrawDistanceAfterTargetsPixels;
117 int m_iDrawDistanceBeforeTargetsPixels;
118 float m_fYReverseOffsetPixels;
119 bool showCalcBars =
false;
120 bool showBeatBars =
false;
123 bool m_drawing_board_primitive;
142 std::map<std::string, NoteDisplayCols*> m_NoteDisplays;
154 float m_fBoardOffsetPixels;
155 float m_fCurrentBeatLastUpdate;
156 float m_fYPosCurrentBeatLastUpdate;
160 Quad m_rectMarkerBar;
161 Quad m_rectAreaHighlight;
A container for other Actors.
Definition ActorFrame.h:8
A smart pointer for Actor.
Definition AutoActor.h:13
An actor that holds a Font and draws text to the screen.
Definition BitmapText.h:11
Row of GhostArrow Actors.
Definition GhostArrowRow.h:11
A self-cleaning Lua reference.
Definition LuaReference.h:10
Holds data about the notes that the player is supposed to hit.
Definition NoteData.h:43
Draws TapNotes and HoldNotes.
Definition NoteDisplay.h:205
An Actor that renders NoteData.
Definition NoteField.h:15
void DrawPrimitives() override
Draw the primitives of the Actor.
Definition NoteField.cpp:720
The player's indivdual state.
Definition PlayerState.h:30
A rectangular shaped Actor with color.
Definition Quad.h:8
A row of ReceptorArrow objects.
Definition ReceptorArrowRow.h:12
A bitmap Actor that animates and moves around.
Definition Sprite.h:13
Definition MessageManager.h:96
Definition NoteDisplay.h:120
Definition NoteField.h:127
Definition RageTypes.h:332