JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
new option --bounciness (default changed from 100% to 50%).
[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 SCREENDXMIN 7.5
21
22 #define MAXROCKS 120 // MAX Rocks
23 #define ROCKRATE 2
24 #define MAXENGINEDOTS 5000
25 #define MAXBANGDOTS 50000
26 #define MAXSPACEDOTS 2000
27 #define MAXDUSTDEPTH 2
28 #define W 100
29 #define M 255
30 #define BLAST_RADIUS 300 // radius^2 (pixels) which will be cleared of rocks when you die
31 #define DEAD_PAUSE_LENGTH 40.0
32
33 #define MAX_PATH_LEN 1024
34
35 #ifndef true
36 #define true 1
37 #endif
38
39 #ifndef false
40 #define false 0
41 #endif
42
43 #ifndef NULL
44 #define NULL 0
45 #endif
46
47 #define CONDERROR(a) if((a)) {initerror = strdup(SDL_GetError());return 1;}
48 #define NULLERROR(a) CONDERROR((a) == NULL)
49
50 #endif // VOR_CONFIG_H