repo.or.cz
/
SauerbratenRemote.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Initial sauer
[SauerbratenRemote.git]
/
src
/
shared
/
pch.h
blob
f3ad880981d85275f042722b7e6e3b4fb6c222e3
1
#ifdef __GNUC__
2
#define gamma __gamma
3
#endif
4
5
#include <math.h>
6
7
#ifdef __GNUC__
8
#undef gamma
9
#endif
10
11
#include <string.h>
12
#include <stdio.h>
13
#include <stdlib.h>
14
#include <ctype.h>
15
#include <stdarg.h>
16
#include <limits.h>
17
#include <assert.h>
18
#ifdef __GNUC__
19
#include <new>
20
#else
21
#include <new.h>
22
#endif
23
#include <time.h>
24
25
#ifdef WIN32
26
#define WIN32_LEAN_AND_MEAN
27
#include
"windows.h"
28
#endif
29
30
#ifndef STANDALONE
31
#include <SDL.h>
32
#include <SDL_image.h>
33
34
#define GL_GLEXT_LEGACY
35
#define __glext_h__
36
#define NO_SDL_GLEXT
37
#include <SDL_opengl.h>
38
#undef __glext_h__
39
#include
"GL/glext.h"
40
#endif
41
42
#include <enet/enet.h>
43
44
#ifdef WIN32
45
#define _WINDOWS
46
#ifndef __GNUC__
47
#define ZLIB_DLL
48
#include <eh.h>
49
#include <dbghelp.h>
50
#endif
51
#endif
52
#include <zlib.h>
53
54
#include
"sbtrace.h"
55
56
#ifdef __sun__
57
#undef sun
58
#undef MAXNAMELEN
59
#endif
60