Etterna
0.74.4
Loading...
Searching...
No Matches
src
Etterna
Actor
Menus
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
7
class
StageStats
;
8
class
PlayerStageStats
;
9
class
GraphLine
;
10
class
GraphBody
;
13
class
GraphDisplay
:
public
ActorFrame
14
{
15
public
:
16
GraphDisplay
();
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
ActorFrame
A container for other Actors.
Definition
ActorFrame.h:8
AutoActor
A smart pointer for Actor.
Definition
AutoActor.h:13
GraphBody
Definition
GraphDisplay.cpp:124
GraphDisplay
A graph of the player's life over the course of Gameplay, used on Evaluation.
Definition
GraphDisplay.h:14
GraphLine
Definition
GraphDisplay.cpp:23
PlayerStageStats
Contains statistics for one stage of play - either one song, or a whole course.
Definition
PlayerStageStats.h:19
StageStats
Contains statistics for one stage of play.
Definition
StageStats.h:15
StepMania::Rect< float >
Generated by
1.9.8