float
This commit is contained in:
@@ -312,9 +312,9 @@ public:
|
|||||||
RageTimer ts;
|
RageTimer ts;
|
||||||
|
|
||||||
DeviceInput(): device(InputDevice_Invalid), button(DeviceButton_Invalid), level(0), bDown(false), ts(RageZeroTimer) { }
|
DeviceInput(): device(InputDevice_Invalid), button(DeviceButton_Invalid), level(0), bDown(false), ts(RageZeroTimer) { }
|
||||||
DeviceInput( InputDevice d, DeviceButton b, float l=0 ): device(d), button(b), level(l), bDown(l > 0.5), ts(RageZeroTimer) { }
|
DeviceInput( InputDevice d, DeviceButton b, float l=0 ): device(d), button(b), level(l), bDown(l > 0.5f), ts(RageZeroTimer) { }
|
||||||
DeviceInput( InputDevice d, DeviceButton b, float l, const RageTimer &t ):
|
DeviceInput( InputDevice d, DeviceButton b, float l, const RageTimer &t ):
|
||||||
device(d), button(b), level(l), bDown(level > 0.5), ts(t) { }
|
device(d), button(b), level(l), bDown(level > 0.5f), ts(t) { }
|
||||||
|
|
||||||
bool operator==( const DeviceInput &other ) const
|
bool operator==( const DeviceInput &other ) const
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user