7#include "Etterna/Models/Misc/GameConstantsAndTypes.h"
8#include "Etterna/Models/Misc/GameInput.h"
9#include "Etterna/Models/Misc/NoteTypes.h"
10#include "Etterna/Models/Misc/PlayerNumber.h"
13const int MAX_COLS_PER_PLAYER = MAX_NOTE_TRACKS;
15static const int Column_Invalid = -1;
78 int m_iColumnDrawOrder[MAX_COLS_PER_PLAYER];
80 void StyleInputToGameInput(
int iCol,
81 std::vector<GameInput>& ret)
const;
89 [[nodiscard]]
auto ColToButtonName(
int iCol)
const -> std::string;
91 [[nodiscard]]
auto GetUsesCenteredArrows() const ->
bool;
92 void GetTransformedNoteDataForStyle(PlayerNumber pn,
95 void GetMinAndMaxColX(PlayerNumber pn,
97 float& fMaxXOut) const;
98 [[nodiscard]] auto GetWidth(PlayerNumber pn) const ->
float;
101 void PushSelf(lua_State* L);
Holds data about the notes that the player is supposed to hit.
Definition NoteData.h:43
StepsType m_StepsType
Steps format used for each player.
Definition Style.h:45
bool m_bUsedForEdit
Can this style be used for making edits?
Definition Style.h:27
bool m_bUsedForDemonstration
Can this style be used in a demonstration?
Definition Style.h:29
const char * m_szName
The name of the style.
Definition Style.h:38
bool m_bUsedForGameplay
Can this style be used for gameplay purposes?
Definition Style.h:25
bool m_bUsedForHowToPlay
Can this style be used to explain how to play the game?
Definition Style.h:31
auto GameInputToColumn(const GameInput &GameI) const -> int
Retrieve the column based on the game input.
Definition Style.cpp:97
ColumnInfo m_ColumnInfo[MAX_COLS_PER_PLAYER]
Map each players' colun to a track in the NoteData.
Definition Style.h:67
int m_iColsPerPlayer
The number of total tracks/columns this style expects.
Definition Style.h:55
StyleType m_StyleType
Style format used for each player.
Definition Style.h:48
int m_iInputColumn[NUM_GameController][NUM_GameButton]
Map each input to a column, or GameButton_Invalid.
Definition Style.h:77
Holds information about a particular style of a game (e.g. "single", "double").
Definition Game.h:33
Some general column infromation.
Definition Style.h:58
float fXOffset
Definition Style.h:60
const char * pzName
Definition Style.h:62
int track
Definition Style.h:59