Etterna
0.74.4
Loading...
Searching...
No Matches
src
Etterna
Screen
Gameplay
ScreenGameplaySyncMachine.h
1
#ifndef ScreenGameplaySyncMachine_H
2
#define ScreenGameplaySyncMachine_H
3
4
#include "ScreenGameplayNormal.h"
5
#include "Etterna/Models/Songs/Song.h"
7
class
ScreenGameplaySyncMachine
:
public
ScreenGameplayNormal
8
{
9
public
:
10
void
Init
()
override
;
11
12
void
Update(
float
fDelta)
override
;
13
bool
Input(
const
InputEventPlus
& input)
override
;
14
15
ScreenType
GetScreenType
()
const override
{
return
system_menu; }
16
17
void
HandleScreenMessage(
const
ScreenMessage& SM)
override
;
18
void
ResetAndRestartCurrentSong();
19
void
RestartGameplay()
override
;
20
21
protected
:
22
bool
UseSongBackgroundAndForeground()
const override
{
return
false
; }
23
void
RefreshText();
24
26
Song
m_Song
;
28
const
Steps
*
m_pSteps
;
29
30
BitmapText
m_textSyncInfo;
31
};
32
33
#endif
BitmapText
An actor that holds a Font and draws text to the screen.
Definition
BitmapText.h:11
InputEventPlus
Holds a device input plus Game/Menu translations.
Definition
InputEventPlus.h:9
ScreenGameplayNormal
Definition
ScreenGameplayNormal.h:10
ScreenGameplaySyncMachine
A gameplay screen used for syncing the machine's timing.
Definition
ScreenGameplaySyncMachine.h:8
ScreenGameplaySyncMachine::GetScreenType
ScreenType GetScreenType() const override
Retrieve the current ScreenType.
Definition
ScreenGameplaySyncMachine.h:15
ScreenGameplaySyncMachine::m_Song
Song m_Song
the Song used for this screen.
Definition
ScreenGameplaySyncMachine.h:26
ScreenGameplaySyncMachine::m_pSteps
const Steps * m_pSteps
the Steps used for this screen.
Definition
ScreenGameplaySyncMachine.h:28
ScreenGameplaySyncMachine::Init
void Init() override
This is called immediately after construction, to allow initializing after all derived classes exist.
Definition
ScreenGameplaySyncMachine.cpp:20
Song
Holds all music metadata and steps for one song.
Definition
Song.h:65
Steps
Holds note information for a Song.
Definition
Steps.h:42
Generated by
1.9.8