@ -179,12 +179,14 @@ public:
const float Analog ( ) const ;
const float Analog ( ) const ;
const float AnalogDAS ( const float threshold = 0.2f ) ;
const float AnalogDAS ( const float threshold = 0.2f ) ;
void ClearAllKeybinds ( ) ;
void ClearAllKeybinds ( ) ;
const int GetKeyCodeSum ( ) const ;
std : : string GetDisplayName ( ) ;
std : : string GetDisplayName ( ) ;
//Draws an input display with accompanying text centered at given position.
//Draws an input display with accompanying text centered at given position.
void DrawPrimaryInput ( const std : : variant < AiL * const , TileTransformedView * const , ViewPort * const > renderer , const vf2d pos , const std : : string_view displayText , const uint8_t alpha ) const ;
void DrawPrimaryInput ( const std : : variant < AiL * const , TileTransformedView * const , ViewPort * const > renderer , const vf2d pos , const std : : string_view displayText , const uint8_t alpha ) const ;
void DrawPrimaryInput ( const std : : variant < AiL * const , TileTransformedView * const , ViewPort * const > renderer , const vf2d pos , const std : : string_view displayText , const uint8_t alpha , const InputType type , vf2d textScale = { 1.f , 1.f } ) const ;
void DrawPrimaryInput ( const std : : variant < AiL * const , TileTransformedView * const , ViewPort * const > renderer , const vf2d pos , const std : : string_view displayText , const uint8_t alpha , const InputType type , vf2d textScale = { 1.f , 1.f } ) const ;
void DrawInput ( const std : : variant < AiL * const , TileTransformedView * const , ViewPort * const > renderer , const vf2d pos , const std : : string_view displayText , const uint8_t alpha , const InputType type , vf2d textScale = { 1.f , 1.f } , const std : : string_view preDisplayText = " " ) const ;
void DrawInput ( const std : : variant < AiL * const , TileTransformedView * const , ViewPort * const > renderer , const vf2d pos , const std : : string_view displayText , const uint8_t alpha , const InputType type , vf2d textScale = { 1.f , 1.f } , const std : : string_view preDisplayText = " " ) const ;
const std : : optional < Input > GetPrimaryKey ( InputType type ) const ;
const std : : optional < Input > GetPrimaryKey ( InputType type ) const ;
friend const bool operator < ( const InputGroup & group1 , const InputGroup & group2 ) ;
} ;
} ;
class InputEngageGroup {
class InputEngageGroup {
@ -208,6 +210,7 @@ public:
InputGroup & GetGroup ( ) const ;
InputGroup & GetGroup ( ) const ;
const InputEngageGroup operator = ( const InputEngageGroup & rhs ) ;
const InputEngageGroup operator = ( const InputEngageGroup & rhs ) ;
const bool GetLabelVisible ( ) const ;
const bool GetLabelVisible ( ) const ;
friend const bool operator < ( const InputEngageGroup & group1 , const InputEngageGroup & group2 ) ;
} ;
} ;
class GenericKey {
class GenericKey {
@ -226,7 +229,5 @@ public:
static void Update ( ) ;
static void Update ( ) ;
} ;
} ;
const bool operator < ( const InputGroup & group1 , const InputGroup & group2 ) ;
const bool operator < ( const InputEngageGroup & group1 , const InputEngageGroup & group2 ) ;
using enum InputEngageGroup : : EngageType ;
using enum InputEngageGroup : : EngageType ;