2005-08-26 17:39:27 +00:00
|
|
|
/*
|
|
|
|
===========================================================================
|
|
|
|
Copyright (C) 1999-2005 Id Software, Inc.
|
|
|
|
|
|
|
|
This file is part of Quake III Arena source code.
|
|
|
|
|
|
|
|
Quake III Arena source code is free software; you can redistribute it
|
|
|
|
and/or modify it under the terms of the GNU General Public License as
|
|
|
|
published by the Free Software Foundation; either version 2 of the License,
|
|
|
|
or (at your option) any later version.
|
|
|
|
|
|
|
|
Quake III Arena source code is distributed in the hope that it will be
|
|
|
|
useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
GNU General Public License for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU General Public License
|
2005-10-29 01:53:09 +00:00
|
|
|
along with Quake III Arena source code; if not, write to the Free Software
|
2005-08-26 17:39:27 +00:00
|
|
|
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
|
|
===========================================================================
|
|
|
|
*/
|
|
|
|
|
2007-09-05 18:17:46 +00:00
|
|
|
#include "../qcommon/q_shared.h"
|
|
|
|
#include "../qcommon/qcommon.h"
|
2005-08-26 17:39:27 +00:00
|
|
|
|
2007-11-26 20:18:53 +00:00
|
|
|
// Require a minimum version of SDL
|
|
|
|
#define MINSDL_MAJOR 1
|
|
|
|
#define MINSDL_MINOR 2
|
|
|
|
#define MINSDL_PATCH 7
|
|
|
|
|
2007-09-05 18:17:46 +00:00
|
|
|
// Input subsystem
|
|
|
|
void IN_Init (void);
|
|
|
|
void IN_Frame (void);
|
|
|
|
void IN_Shutdown (void);
|
2005-08-26 17:39:27 +00:00
|
|
|
|
2007-09-06 20:31:30 +00:00
|
|
|
// Console
|
|
|
|
void CON_Hide( void );
|
|
|
|
void CON_Show( void );
|
|
|
|
void CON_Shutdown( void );
|
|
|
|
void CON_Init( void );
|
|
|
|
char *CON_ConsoleInput(void);
|
2005-08-26 17:39:27 +00:00
|
|
|
|
2007-09-05 18:17:46 +00:00
|
|
|
#ifdef MACOS_X
|
|
|
|
char *Sys_StripAppBundle( char *pwd );
|
2005-08-26 17:39:27 +00:00
|
|
|
#endif
|
2007-09-15 02:22:58 +00:00
|
|
|
|
|
|
|
void Sys_SigHandler( int signal );
|