added a 64bif fs_offset_t type to clean up most of the mess
[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 #ifdef WIN64
13 # define ssize_t long long
14 #elifdef WIN32
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 0
24 #define TRUE 1
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