Add player based visual delay to PlayerOptions

This commit is contained in:
teejusb
2021-10-22 17:01:41 -07:00
parent 7e82e36223
commit 711726a8d6
2 changed files with 25 additions and 0 deletions
+4
View File
@@ -87,6 +87,7 @@ public:
m_MinTNSToHideNotes(PREFSMAN->m_MinTNSToHideNotes)
{
m_sNoteSkin = "";
m_fVisualDelay = 0.0f;
ZERO( m_fAccels ); ONE( m_SpeedfAccels );
ZERO( m_fEffects ); ONE( m_SpeedfEffects );
ZERO( m_fAppearances ); ONE( m_SpeedfAppearances );
@@ -394,6 +395,9 @@ public:
* If an empty string, it means to not change from the default. */
RString m_sNoteSkin;
/** @brief The Visual Delay additionally applied on a per-player basis in ms. */
int m_fVisualDelay;
void NextAccel();
void NextEffect();
void NextAppearance();