Etterna 0.74.4
Loading...
Searching...
No Matches
ScreenPlayerOptions.h
1#ifndef SCREENPLAYEROPTIONS_H
2#define SCREENPLAYEROPTIONS_H
3
4#include "Etterna/Screen/Options/ScreenOptionsMaster.h"
5
6struct lua_State;
7
9{
10 public:
11 void Init() override;
12 void BeginScreen() override;
13
14 bool Input(const InputEventPlus& input) override;
15 void HandleScreenMessage(const ScreenMessage& SM) override;
16 bool GetGoToOptions() const { return m_bGoToOptions; }
17
18 // Lua
19 void PushSelf(lua_State* L) override;
20
21 private:
22 std::vector<bool> m_bRowCausesDisqualified;
23 void UpdateDisqualified(int row, PlayerNumber pn);
24
25 bool m_bAcceptedChoices;
26 bool m_bGoToOptions;
27 bool m_bAskOptionsMessage;
28
29 // show if the current selections will disqualify a high score
30 AutoActor m_sprDisqualify;
31};
32
33#endif
A smart pointer for Actor.
Definition AutoActor.h:13
Holds a device input plus Game/Menu translations.
Definition InputEventPlus.h:9
Definition ScreenOptionsMaster.h:9
Definition ScreenPlayerOptions.h:9
void Init() override
This is called immediately after construction, to allow initializing after all derived classes exist.
Definition ScreenPlayerOptions.cpp:18
void BeginScreen() override
This is called immediately before the screen is used.
Definition ScreenPlayerOptions.cpp:40