]> icculus.org git repositories - divverent/darkplaces.git/blob - qtypes.h
disable use of scissor when stencil is not available (sure seems like a driver bug...
[divverent/darkplaces.git] / qtypes.h
1
2 #ifndef QTYPES_H
3 #define QTYPES_H
4
5 typedef unsigned char qbyte;
6
7 #undef true
8 #undef false
9
10 typedef enum {false, true} qboolean;
11
12 #ifndef NULL
13 #define NULL ((void *)0)
14 #endif
15
16 #ifndef FALSE
17 #define FALSE 0
18 #define TRUE 1
19 #endif
20
21 //define        PARANOID                        // speed sapping error checking
22 #ifdef _DEBUG
23 #define ASSERT(condition) if (!(condition)) Sys_Error("assertion (##condition) failed at " __FILE__ ":" __LINE__ "\n");
24 #else
25 #define ASSERT(condition)
26 #endif
27
28 // up / down
29 #define PITCH   0
30
31 // left / right
32 #define YAW             1
33
34 // fall over
35 #define ROLL    2
36
37 #endif