fixed building on windows (clangd is moron)

This commit is contained in:
2025-07-20 15:33:36 +03:00
parent 7082f28fb1
commit 36b23e4ab4
7 changed files with 38 additions and 24 deletions

View File

@@ -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