Convert m_turnComfortFactor to new settings API
This commit is contained in:
@@ -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 );
|
||||
|
||||
Reference in New Issue
Block a user