OpenMoHAA
0.82.1
Loading...
Searching...
No Matches
sys_local.h
1
/*
2
===========================================================================
3
Copyright (C) 1999-2005 Id Software, Inc.
4
5
This file is part of Quake III Arena source code.
6
7
Quake III Arena source code is free software; you can redistribute it
8
and/or modify it under the terms of the GNU General Public License as
9
published by the Free Software Foundation; either version 2 of the License,
10
or (at your option) any later version.
11
12
Quake III Arena source code is distributed in the hope that it will be
13
useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
14
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
GNU General Public License for more details.
16
17
You should have received a copy of the GNU General Public License
18
along with Quake III Arena source code; if not, write to the Free Software
19
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
20
===========================================================================
21
*/
22
23
#include "../qcommon/q_shared.h"
24
#include "../qcommon/qcommon.h"
25
26
#ifdef __cplusplus
27
extern
"C"
{
28
#endif
29
30
#ifndef DEDICATED
31
#ifdef USE_LOCAL_HEADERS
32
# include "SDL_version.h"
33
#else
34
# include <SDL_version.h>
35
#endif
36
37
// Require a minimum version of SDL
38
#define MINSDL_MAJOR 2
39
#define MINSDL_MINOR 0
40
#if SDL_VERSION_ATLEAST( 2, 0, 5 )
41
#define MINSDL_PATCH 5
42
#else
43
#define MINSDL_PATCH 0
44
#endif
45
#endif
46
47
// Console
48
void
CON_Shutdown(
void
);
49
void
CON_Init(
void
);
50
char
*CON_Input(
void
);
51
void
CON_Print(
const
char
*message );
52
53
unsigned
int
CON_LogSize(
void
);
54
unsigned
int
CON_LogWrite(
const
char
*in );
55
unsigned
int
CON_LogRead(
char
*out,
unsigned
int
outSize );
56
57
#ifdef __APPLE__
58
char
*Sys_StripAppBundle(
char
*pwd );
59
#endif
60
61
void
Sys_GLimpSafeInit(
void
);
62
void
Sys_GLimpInit(
void
);
63
void
Sys_PlatformInit(
void
);
64
void
Sys_PlatformExit(
void
);
65
void
Sys_SigHandler(
int
signal ) __attribute__ ((noreturn));
66
void
Sys_ErrorDialog(
const
char
*error );
67
void
Sys_AnsiColorPrint(
const
char
*msg );
68
69
int
Sys_PID(
void
);
70
qboolean Sys_PIDIsRunning(
int
pid );
71
72
#ifdef PROTOCOL_HANDLER
73
char
*Sys_ParseProtocolUri(
const
char
*uri );
74
#endif
75
76
#include "new/sys_local_new.h"
77
78
#ifdef __cplusplus
79
}
80
#endif
code
sys
sys_local.h
Generated by
1.13.2