]> git.xonotic.org Git - xonotic/darkplaces.git/blob - darkplaces.h
7fff85242d008c4653624906ab5a45398a07db50
[xonotic/darkplaces.git] / darkplaces.h
1 /*
2 Copyright (C) 1996-1997 Id Software, Inc.
3 Copyright (C) 2020 Ashley Rose Hale (LadyHavoc)
4 Copyright (C) 2020 David Knapp (Cloudwalk)
5
6 This program is free software; you can redistribute it and/or
7 modify it under the terms of the GNU General Public License
8 as published by the Free Software Foundation; either version 2
9 of the License, or (at your option) any later version.
10
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
14
15 See the GNU General Public License for more details.
16
17 You should have received a copy of the GNU General Public License
18 along with this program; if not, write to the Free Software
19 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
20
21 */
22
23 /* darkplaces.h - Master definitions file for Darkplaces engine */
24
25 #ifndef DARKPLACES_H
26 #define DARKPLACES_H
27
28 extern const char *buildstring;
29 extern char engineversion[128];
30
31 #ifdef __APPLE__
32 # include <TargetConditionals.h>
33 #endif
34
35 #include <sys/types.h>
36 #include <ctype.h>
37 #include <math.h>
38 #include <string.h>
39 #include <stdarg.h>
40 #include <stdio.h>
41 #include <stdlib.h>
42 #include <limits.h>
43
44 #include "sys.h"
45 #include "qtypes.h"
46 #include "qdefs.h"
47 #include "zone.h"
48 #include "thread.h"
49 #include "common.h"
50 #include "fs.h"
51 #include "host.h"
52 #include "cvar.h"
53 #include "cmd.h"
54 #include "console.h"
55 #include "lhnet.h"
56 #include "mathlib.h"
57 #include "matrixlib.h"
58
59 extern cvar_t developer;
60 extern cvar_t developer_entityparsing;
61 extern cvar_t developer_extra;
62 extern cvar_t developer_insane;
63 extern cvar_t developer_loadfile;
64 extern cvar_t developer_loading;
65 extern cvar_t host_isclient;
66 extern cvar_t sessionid;
67
68 #endif