7#include "PlayerNumber.h"
8#include "PlayerOptions.h"
9#include "SampleHistory.h"
10#include "Etterna/Models/Songs/SongPosition.h"
42 void SetPlayerNumber(PlayerNumber pn);
43 void ResetCacheInfo();
59 float m_NotefieldZoom;
61 auto GetDisplayedTiming() const -> const
TimingData&;
106 bool m_bGoalTrackerUsesReplay =
false;
111 void SetNumCols(
int ncol) { m_NumCols = ncol; };
112 auto GetNumCols() ->
int {
return m_NumCols; };
114 float playertargetgoal = 0.93F;
117 void PushSelf(lua_State* L);
Definition ModsGroup.h:44
Per-player options that are not saved between sessions.
Definition PlayerOptions.h:48
The player's indivdual state.
Definition PlayerState.h:30
MultiPlayer m_mp
The MultiPlayer number assigned to this Player, typically 1-32.
Definition PlayerState.h:55
ModsGroup< PlayerOptions > m_PlayerOptions
The PlayerOptions presently in use by the Player.
Definition PlayerState.h:85
void Update(float fDelta)
Update the PlayerState based on the present time.
Definition PlayerState.cpp:36
PlayerState()
Set up the PlayerState with initial values.
Definition PlayerState.cpp:8
void Reset()
Reset the PlayerState with the initial values.
Definition PlayerState.cpp:16
HealthState m_HealthState
The Player's HealthState in general terms.
Definition PlayerState.h:93
PlayerNumber m_PlayerNumber
The PlayerNumber assigned to this Player: usually 1 or 2.
Definition PlayerState.h:51
PlayerController m_PlayerController
The type of person/machine controlling the Player.
Definition PlayerState.h:96
std::vector< CacheDisplayedBeat > m_CacheDisplayedBeat
Holds a vector sorted by real beat, the beat that would be displayed in the NoteField (because they a...
Definition PlayerState.h:70
void ResetToDefaultPlayerOptions(ModsLevel l)
Change the PlayerOptions to their default.
Definition PlayerState.cpp:53
std::vector< CacheNoteStat > m_CacheNoteStat
Holds a vector sorted by beat, the cumulative number of notes from the start of the song....
Definition PlayerState.h:77
float m_fLastDrawnBeat
Used to push note-changing modifiers back so that notes don't pop.
Definition PlayerState.h:91
Store a trailing history of values, and retrieve values with interpolation.
Definition SampleHistory.h:6
Holds data for translating beats<->seconds.
Definition TimingData.h:54
Definition PlayerState.h:15
Definition PlayerState.h:22