JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
reworked ship explosion:
[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 300 // radius^2 (pixels) which will be cleared of rocks when you die
28 #define DEAD_PAUSE_LENGTH 40.0
29
30 #define MAX_PATH_LEN 1024
31
32 #ifndef true
33 #define true 1
34 #endif
35
36 #ifndef false
37 #define false 0
38 #endif
39
40 #ifndef NULL
41 #define NULL 0
42 #endif
43
44 #endif // VOR_CONFIG_H