mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-04-28 21:57:57 +03:00
Move CTRL macro to q_shared.h
This commit is contained in:
parent
8a28ad0c36
commit
4da5e26cdc
2 changed files with 3 additions and 2 deletions
|
@ -1188,6 +1188,9 @@ typedef enum {
|
|||
|
||||
//=============================================
|
||||
|
||||
// get the control character for the given key (moved from sdl_input.c)
|
||||
#define CTRL(a) ((a)-'a'+1)
|
||||
|
||||
int Q_isprint( int c );
|
||||
int Q_islower( int c );
|
||||
int Q_isupper( int c );
|
||||
|
|
|
@ -59,8 +59,6 @@ static int in_eventTime = 0;
|
|||
|
||||
static SDL_Window *SDL_window = NULL;
|
||||
|
||||
#define CTRL(a) ((a)-'a'+1)
|
||||
|
||||
/*
|
||||
===============
|
||||
IN_PrintKey
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue