fixed building on windows (clangd is moron)
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
#ifndef INPUT_H
|
||||
#define INPUT_H
|
||||
|
||||
#include "interface.h"
|
||||
#include "tier0/platform.h"
|
||||
#include "tier1/utlvector.h"
|
||||
|
||||
@@ -120,17 +121,16 @@ enum EInputMode
|
||||
|
||||
extern CUtlVector<EInputMode> g_inputModeStack;
|
||||
|
||||
interface IInput
|
||||
interface IInput: public IInterface
|
||||
{
|
||||
public:
|
||||
static void Init( void );
|
||||
static void KeyEvent( EInputKey key, EKeyEventType event );
|
||||
static void AxisEvent( EInputAxis axis, float fValue );
|
||||
static void SetInputMode( EInputMode mode );
|
||||
static void Frame( void );
|
||||
static void Deinit( void );
|
||||
virtual void KeyEvent( EInputKey key, EKeyEventType event ) = 0;
|
||||
virtual void AxisEvent( EInputAxis axis, float fValue ) = 0;
|
||||
virtual void SetInputMode( EInputMode mode );
|
||||
};
|
||||
|
||||
IInput *Input();
|
||||
|
||||
extern float g_fAxisValues[AXIS_NUM_AXIS];
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user