JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
config.h - Added debug() macro, fixed Makefile and sound.c to use it.
[vor.git] / config.h
1 #ifndef VOR_CONFIG_H
2 #define VOR_CONFIG_H
3
4 #define debug(x) if(DEBUG) { x; }
5
6 #define VERSION "0.1"
7 #define DATA_PREFIX "/usr/share/vor"
8
9 // screen size
10 #define XSIZE 640
11 #define YSIZE 480
12
13 // number of rock image files.
14 #define NROCKS 6
15 // image file containing font for score stuff.
16 #define BIG_FONT_FILE "fonts/score.png"
17
18 #define MAXROCKS 120 // MAX Rocks
19 #define MAXROCKHEIGHT 100
20 #define ROCKRATE 2
21 #define MAXBLACKPOINTS 500
22 #define MAXENGINEDOTS 5000
23 #define MAXBANGDOTS 50000
24 #define MAXSPACEDOTS 2000
25 #define W 100
26 #define M 255
27 #define BLAST_RADIUS 200 // radius^2 (pixels) which will be cleared of rocks when you die
28
29 #define MAX_PATH_LEN 1024
30
31 #ifndef true
32 #define true 1
33 #endif
34
35 #ifndef false
36 #define false 0
37 #endif
38
39 #ifndef NULL
40 #define NULL 0
41 #endif
42
43 #endif // VOR_CONFIG_H