JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
Updated feature list in README
[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.3pre"
7 #define DATA_PREFIX "/usr/share/vor"
8
9 // Speed of the game.  New players may like to try 3/4 or 2/3 speed.
10 #define GAMESPEED 1.00
11 // #define GAMESPEED (3.0/4.0)
12 // #define GAMESPEED (2.0/3.0)
13
14 // screen size
15 #define XSIZE 640
16 #define YSIZE 480
17
18 // number of rock image files.
19 #define NROCKS 50
20 // image file containing font for score stuff.
21 #define BIG_FONT_FILE "fonts/score.png"
22 #define I_ROCKS 25  // initial/final counts for rocks-on-screen.
23 #define F_ROCKS 45
24
25 #define MAXROCKS 120 // MAX Rocks
26 #define MAXROCKHEIGHT 100
27 #define ROCKRATE 2
28 #define MAXBLACKPOINTS 500
29 #define MAXENGINEDOTS 5000
30 #define MAXBANGDOTS 50000
31 #define MAXSPACEDOTS 2000
32 #define MAXDUSTDEPTH 2
33 #define W 100
34 #define M 255
35 #define BLAST_RADIUS 300 // radius^2 (pixels) which will be cleared of rocks when you die
36 #define DEAD_PAUSE_LENGTH 40.0
37
38 #define MAX_PATH_LEN 1024
39
40 #ifndef true
41 #define true 1
42 #endif
43
44 #ifndef false
45 #define false 0
46 #endif
47
48 #ifndef NULL
49 #define NULL 0
50 #endif
51
52 #define CONDERROR(a) if((a)) {initerror = strdup(SDL_GetError());return 1;}
53 #define NULLERROR(a) CONDERROR((a) == NULL)
54
55 #endif // VOR_CONFIG_H