File: qtypes.h

package info (click to toggle)
nexuiz 2.5.2-2
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 7,000 kB
  • ctags: 14,190
  • sloc: ansic: 120,037; pascal: 437; makefile: 252; objc: 245; sh: 28
file content (36 lines) | stat: -rw-r--r-- 439 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36

#ifndef QTYPES_H
#define QTYPES_H

#undef true
#undef false

#ifndef __cplusplus
typedef enum qboolean_e {false, true} qboolean;
#else
typedef bool qboolean;
#endif

#if defined(WIN32) && !defined(WIN64)
# define ssize_t long
#endif

#ifndef NULL
#define NULL ((void *)0)
#endif

#ifndef FALSE
#define FALSE false
#define TRUE true
#endif

// up / down
#define	PITCH	0

// left / right
#define	YAW		1

// fall over
#define	ROLL	2

#endif