]> icculus.org git repositories - divverent/darkplaces.git/blob - qtypes.h
fix remaining fog bug with fixed function, r_view.colorscale != 0
[divverent/darkplaces.git] / qtypes.h
1
2 #ifndef QTYPES_H
3 #define QTYPES_H
4
5 #undef true
6 #undef false
7
8 #ifndef __cplusplus
9 typedef enum qboolean_e {false, true} qboolean;
10 #else
11 typedef bool qboolean;
12 #endif
13
14 #if defined(WIN32) && !defined(WIN64)
15 # define ssize_t long
16 #endif
17
18 #ifndef NULL
19 #define NULL ((void *)0)
20 #endif
21
22 #ifndef FALSE
23 #define FALSE false
24 #define TRUE true
25 #endif
26
27 // up / down
28 #define PITCH   0
29
30 // left / right
31 #define YAW             1
32
33 // fall over
34 #define ROLL    2
35
36 #endif