Move CTRL macro to q_shared.h

This commit is contained in:
pryon 2024-06-10 13:59:10 +02:00
parent 8a28ad0c36
commit 4da5e26cdc
2 changed files with 3 additions and 2 deletions

View file

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

View file

@ -59,8 +59,6 @@ static int in_eventTime = 0;
static SDL_Window *SDL_window = NULL;
#define CTRL(a) ((a)-'a'+1)
/*
===============
IN_PrintKey