Etterna 0.74.4
Loading...
Searching...
No Matches
GraphDisplay.h
1#ifndef GRAPH_DISPLAY_H
2#define GRAPH_DISPLAY_H
3
4#include "Etterna/Actor/Base/ActorFrame.h"
5#include "Etterna/Actor/Base/AutoActor.h"
6
7class StageStats;
9class GraphLine;
10class GraphBody;
14{
15 public:
17 ~GraphDisplay() override;
18 GraphDisplay* Copy() const override;
19
20 void Load(const std::string& sMetricsGroup);
21 void Set(const StageStats& ss, const PlayerStageStats& s);
22
23 void SetWithoutStageStats(const PlayerStageStats& pss,
24 const float fTotalStepSeconds);
25
26 // Lua
27 void PushSelf(lua_State* L) override;
28
29 private:
30 void UpdateVerts();
31
32 std::vector<float> m_Values;
33
34 RectF m_quadVertices;
35
36 std::vector<Actor*> m_vpSongBoundaries;
37 AutoActor m_sprBarely;
38 AutoActor m_sprBacking;
39 AutoActor m_sprSongBoundary;
40
41 GraphLine* m_pGraphLine;
42 GraphBody* m_pGraphBody;
43};
44
45#endif
A container for other Actors.
Definition ActorFrame.h:8
A smart pointer for Actor.
Definition AutoActor.h:13
Definition GraphDisplay.cpp:124
A graph of the player's life over the course of Gameplay, used on Evaluation.
Definition GraphDisplay.h:14
Definition GraphDisplay.cpp:23
Contains statistics for one stage of play - either one song, or a whole course.
Definition PlayerStageStats.h:19
Contains statistics for one stage of play.
Definition StageStats.h:15