Etterna 0.74.4
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
SongOptions Class Reference

Public Member Functions

 SongOptions ()=default
 Set up the SongOptions with reasonable defaults.
 
void Init ()
 
void Approach (const SongOptions &other, float fDeltaSeconds)
 
void GetMods (std::vector< std::string > &AddTo) const
 
void GetLocalizedMods (std::vector< std::string > &AddTo) const
 
auto GetString () const -> std::string
 
auto GetLocalizedString () const -> std::string
 
void FromString (const std::string &sOptions)
 
auto FromOneModString (const std::string &sOneMod, std::string &sErrorDetailOut) -> bool
 
auto operator== (const SongOptions &other) const -> bool
 
auto operator!= (const SongOptions &other) const -> bool
 
void PushSelf (lua_State *L)
 

Public Attributes

bool m_bAssistClap { false }
 
bool m_bAssistMetronome { false }
 
float m_fMusicRate { 1.0F }
 
float m_SpeedfMusicRate { 1.0F }
 
AutosyncType m_AutosyncType { AutosyncType_Off }
 
SoundEffectType m_SoundEffectType { SoundEffectType_Off }
 
bool m_bStaticBackground { false }
 
bool m_bRandomBGOnly { false }
 
bool m_bSaveScore { true }
 

Constructor & Destructor Documentation

◆ SongOptions()

SongOptions::SongOptions ( )
default

Set up the SongOptions with reasonable defaults.

This is taken from Init(), but uses the intended initialization lists.


The documentation for this class was generated from the following files: