Etterna 0.74.4
Loading...
Searching...
No Matches
ScreenEvaluation.h
1#ifndef SCREEN_EVALUATION_H
2#define SCREEN_EVALUATION_H
3
4#include "RageUtil/Sound/RageSound.h"
5#include "ScreenWithMenuElements.h"
6
12const int MAX_SONGS_TO_SHOW = 5;
17{
18 public:
20 ~ScreenEvaluation() override;
21 void Init() override;
22 bool Input(const InputEventPlus& input) override;
23 void HandleScreenMessage(const ScreenMessage& SM) override;
24 ScreenType GetScreenType() const override { return evaluation; }
25 bool MenuBack(const InputEventPlus& input) override;
26 bool MenuStart(const InputEventPlus& input) override;
27 void PushSelf(lua_State* L) override;
28 StageStats* GetStageStats() { return m_pStageStats; }
29
30 protected:
31 void HandleMenuStart();
32
33 StageStats* m_pStageStats;
34
35 RageSound m_soundStart; // sound played if the player passes or fails
36
39};
40
41#endif
Holds a device input plus Game/Menu translations.
Definition InputEventPlus.h:9
Definition RageSound.h:130
The different judgment lines shown.
Definition ScreenEvaluation.h:17
void Init() override
This is called immediately after construction, to allow initializing after all derived classes exist.
Definition ScreenEvaluation.cpp:51
bool m_bSavedScreenshot
Did a player save a screenshot of their score?
Definition ScreenEvaluation.h:38
Definition ScreenWithMenuElements.h:12
Contains statistics for one stage of play.
Definition StageStats.h:15