JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
Refactored Makefile
[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.4pre"
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 50
15 // image file containing font for score stuff.
16 #define BIG_FONT_FILE "fonts/score.png"
17 #define I_ROCKS 25  // initial/final counts for rocks-on-screen.
18 #define F_ROCKS 45
19
20 #define MAXROCKS 120 // MAX Rocks
21 #define ROCKRATE 2
22 #define MAXENGINEDOTS 5000
23 #define MAXBANGDOTS 50000
24 #define MAXSPACEDOTS 2000
25 #define MAXDUSTDEPTH 2
26 #define W 100
27 #define M 255
28 #define BLAST_RADIUS 300 // radius^2 (pixels) which will be cleared of rocks when you die
29 #define DEAD_PAUSE_LENGTH 40.0
30
31 #define MAX_PATH_LEN 1024
32
33 #ifndef true
34 #define true 1
35 #endif
36
37 #ifndef false
38 #define false 0
39 #endif
40
41 #ifndef NULL
42 #define NULL 0
43 #endif
44
45 #define CONDERROR(a) if((a)) {initerror = strdup(SDL_GetError());return 1;}
46 #define NULLERROR(a) CONDERROR((a) == NULL)
47
48 #endif // VOR_CONFIG_H