Convert m_turnComfortFactor to new settings API

This commit is contained in:
Vasily
2019-12-10 08:28:41 +01:00
committed by username223
parent 214e1d26ed
commit ed1190020c
2 changed files with 13 additions and 20 deletions
+3 -4
View File
@@ -123,7 +123,6 @@ private:
bool m_moveShortcutLeftPressed = false;
vr::TrackedDeviceIndex_t m_activeMoveController;
float m_lastControllerPosition[3];
unsigned m_turnComfortFactor = 0;
bool m_heightToggle = false;
float m_heightToggleOffset = -1.0f;
float m_gravityFloor = 0.0f;
@@ -226,7 +225,7 @@ public:
bool dragBounds() const;
bool turnBounds() const;
int dragComfortFactor() const;
unsigned turnComfortFactor() const;
int turnComfortFactor() const;
bool heightToggle() const;
float heightToggleOffset() const;
float gravityStrength() const;
@@ -296,7 +295,7 @@ public slots:
void setTurnBindRight( bool value, bool notify = true );
void setTurnBindLeft( bool value, bool notify = true );
void setDragComfortFactor( int value, bool notify = true );
void setTurnComfortFactor( unsigned value, bool notify = true );
void setTurnComfortFactor( int value, bool notify = true );
void setDragBounds( bool value, bool notify = true );
void setTurnBounds( bool value, bool notify = true );
void setHeightToggle( bool value, bool notify = true );
@@ -348,7 +347,7 @@ signals:
void dragBoundsChanged( bool value );
void turnBoundsChanged( bool value );
void dragComfortFactorChanged( int value );
void turnComfortFactorChanged( unsigned value );
void turnComfortFactorChanged( int value );
void heightToggleChanged( bool value );
void heightToggleOffsetChanged( float value );
void gravityStrengthChanged( float value );