diff --git a/src/Etterna/Screen/CMakeLists.txt b/src/Etterna/Screen/CMakeLists.txt index add2bb67de..144ec08ef8 100644 --- a/src/Etterna/Screen/CMakeLists.txt +++ b/src/Etterna/Screen/CMakeLists.txt @@ -1,11 +1,15 @@ list(APPEND SCREEN_GAMEPLAY_SRC "Gameplay/ScreenGameplay.cpp" "Gameplay/ScreenGameplayNormal.cpp" - "Gameplay/ScreenGameplaySyncMachine.cpp") + "Gameplay/ScreenGameplaySyncMachine.cpp" + "Gameplay/ScreenGameplayReplay.cpp" + "Gameplay/ScreenGameplayPractice.cpp") list(APPEND SCREEN_GAMEPLAY_HPP "Gameplay/ScreenGameplay.h" "Gameplay/ScreenGameplayNormal.h" - "Gameplay/ScreenGameplaySyncMachine.h") + "Gameplay/ScreenGameplaySyncMachine.h" + "Gameplay/ScreenGameplayReplay.h" + "Gameplay/ScreenGameplayPractice.h") list(APPEND SCREEN_OPTION_SRC "Options/ScreenOptions.cpp" diff --git a/src/Etterna/Screen/Gameplay/ScreenGameplayPractice.cpp b/src/Etterna/Screen/Gameplay/ScreenGameplayPractice.cpp new file mode 100644 index 0000000000..6a83f53893 --- /dev/null +++ b/src/Etterna/Screen/Gameplay/ScreenGameplayPractice.cpp @@ -0,0 +1,12 @@ +#include "Etterna/Globals/global.h" +#include "ScreenGameplayPractice.h" +#include "Etterna/Models/Misc/Difficulty.h" + +REGISTER_SCREEN_CLASS(ScreenGameplayPractice); + +void +ScreenGameplayPractice::FillPlayerInfo(PlayerInfo* playerInfoOut) +{ + playerInfoOut->Load( + PLAYER_1, MultiPlayer_Invalid, true, Difficulty_Invalid); +} diff --git a/src/Etterna/Screen/Gameplay/ScreenGameplayPractice.h b/src/Etterna/Screen/Gameplay/ScreenGameplayPractice.h new file mode 100644 index 0000000000..f68967514c --- /dev/null +++ b/src/Etterna/Screen/Gameplay/ScreenGameplayPractice.h @@ -0,0 +1,12 @@ +#ifndef ScreenGameplayPractice_H +#define ScreenGameplayPractice_H + +#include "ScreenGameplay.h" + +class ScreenGameplayPractice : public ScreenGameplay +{ + public: + virtual void FillPlayerInfo(PlayerInfo* playerInfoOut); +}; + +#endif diff --git a/src/Etterna/Screen/Gameplay/ScreenGameplayReplay.cpp b/src/Etterna/Screen/Gameplay/ScreenGameplayReplay.cpp new file mode 100644 index 0000000000..d13cd81ce7 --- /dev/null +++ b/src/Etterna/Screen/Gameplay/ScreenGameplayReplay.cpp @@ -0,0 +1,12 @@ +#include "Etterna/Globals/global.h" +#include "ScreenGameplayReplay.h" +#include "Etterna/Models/Misc/Difficulty.h" + +REGISTER_SCREEN_CLASS(ScreenGameplayReplay); + +void +ScreenGameplayReplay::FillPlayerInfo(PlayerInfo* playerInfoOut) +{ + playerInfoOut->Load( + PLAYER_1, MultiPlayer_Invalid, true, Difficulty_Invalid); +} diff --git a/src/Etterna/Screen/Gameplay/ScreenGameplayReplay.h b/src/Etterna/Screen/Gameplay/ScreenGameplayReplay.h new file mode 100644 index 0000000000..529e20ec4c --- /dev/null +++ b/src/Etterna/Screen/Gameplay/ScreenGameplayReplay.h @@ -0,0 +1,12 @@ +#ifndef ScreenGameplayReplay_H +#define ScreenGameplayReplay_H + +#include "ScreenGameplay.h" + +class ScreenGameplayReplay : public ScreenGameplay +{ + public: + virtual void FillPlayerInfo(PlayerInfo* playerInfoOut); +}; + +#endif