Etterna 0.74.4
Loading...
Searching...
No Matches
ScreenGameplayReplay.h
1#ifndef ScreenGameplayReplay_H
2#define ScreenGameplayReplay_H
3
4#include "ScreenGameplay.h"
5
7{
8 public:
9 void FillPlayerInfo(PlayerInfo* playerInfoOut) override;
11 void Init() override;
12 ~ScreenGameplayReplay() override;
13
14 void Update(float fDeltaTime) override;
15 bool Input(const InputEventPlus& input) override;
16
17 // Lua
18 void PushSelf(lua_State* L) override;
19 PlayerInfo* GetPlayerInfo(PlayerNumber pn);
20
21 // void BeginBackingOutFromGameplay();
22
23 // Set the playback rate in the middle of gameplay
24 float SetRate(float newRate);
25 // Move the current position of the song in the middle of gameplay
26 void SetSongPosition(float newPositionSeconds);
27 // Toggle pause
28 void TogglePause();
29 float m_fReplayBookmarkSeconds;
30
31 protected:
32 void SaveStats() override;
33 void StageFinished(bool bBackedOut) override;
34 void LoadPlayer() override;
35 void ReloadPlayer() override;
36 void LoadScoreKeeper() override;
37};
38
39#endif
Holds a device input plus Game/Menu translations.
Definition InputEventPlus.h:9
Definition PlayerInfo.h:19
Definition ScreenGameplayReplay.h:7
void Init() override
This is called immediately after construction, to allow initializing after all derived classes exist.
Definition ScreenGameplayReplay.cpp:113
The music plays, the notes scroll, and the Player is pressing buttons.
Definition ScreenGameplay.h:27