mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-22 21:04:14 +00:00
Add kbutton.h, fix includes
This commit is contained in:
parent
25325e6150
commit
32b07cda86
18
common/kbutton.h
Normal file
18
common/kbutton.h
Normal file
@ -0,0 +1,18 @@
|
||||
//========= Copyright © 1996-2002, Valve LLC, All rights reserved. ============
|
||||
//
|
||||
// Purpose:
|
||||
//
|
||||
// $NoKeywords: $
|
||||
//=============================================================================
|
||||
|
||||
#if !defined( KBUTTONH )
|
||||
#define KBUTTONH
|
||||
#pragma once
|
||||
|
||||
typedef struct kbutton_s
|
||||
{
|
||||
int down[2]; // key nums holding it down
|
||||
int state; // low bit is down state
|
||||
} kbutton_t;
|
||||
|
||||
#endif // !KBUTTONH
|
@ -19,7 +19,7 @@ GNU General Public License for more details.
|
||||
#include "cl_tent.h"
|
||||
#include "gl_local.h"
|
||||
#include "input.h"
|
||||
#include "../cl_dll/kbutton.h"
|
||||
#include "kbutton.h"
|
||||
#include "vgui_draw.h"
|
||||
|
||||
#define MAX_TOTAL_CMDS 32
|
||||
@ -2831,4 +2831,4 @@ void CL_Shutdown( void )
|
||||
R_Shutdown ();
|
||||
|
||||
Con_Shutdown ();
|
||||
}
|
||||
}
|
||||
|
@ -16,7 +16,7 @@ GNU General Public License for more details.
|
||||
#include "common.h"
|
||||
#include "client.h"
|
||||
#include "const.h"
|
||||
#include "../cl_dll/kbutton.h"
|
||||
#include "kbutton.h"
|
||||
|
||||
extern convar_t *con_gamemaps;
|
||||
|
||||
@ -1059,4 +1059,4 @@ void Key_EnumCmds_f( void )
|
||||
}
|
||||
else Con_Printf( S_ERROR "couldn't write help.txt.\n");
|
||||
FS_AllowDirectPaths( false );
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user