JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
Added Jason's comments from openbubbles bounce code.
[vor.git] / config.h
1 #ifndef VOR_CONFIG_H
2 #define VOR_CONFIG_H
3
4 #define VERSION "0.4pre"
5
6 // screen size
7 #define XSIZE 640
8 #define YSIZE 480
9
10 #define XSCROLLTO (XSIZE/3)
11 #define YSCROLLTO (YSIZE/2)
12
13 #define SCREENDXMIN 7.5
14
15 // image file containing font for score stuff.
16 #define BIG_FONT_FILE "fonts/score.png"
17
18
19 // -----------------------------------------------------------------------
20 // Rocks
21
22 // number of rock images
23 #define NROCKS 50 
24
25 // initial/final counts for rocks-on-screen
26 #define I_ROCKS 20
27 #define F_ROCKS 35
28
29 // number of rock structs to allocate
30 #define MAXROCKS 120
31
32 #define MAXENGINEDOTS 5000
33 #define MAXBANGDOTS 50000
34 #define W 100
35 #define M 255
36
37 // determines how hard they push the rocks. Set to 0 to disable pushing rocks
38 #define ENGINE_DOT_WEIGHT 0.1
39
40 // radius^2 (pixels) which will be cleared of rocks when you die
41 #define BLAST_RADIUS 300
42
43 // time (in 1/60ths of a seccond) between when you blow up, and when your next
44 // ship appears. Make it at least 20.0 so the explosion has time to push the
45 // rocks away.
46 #define DEAD_PAUSE_LENGTH 40.0
47
48 #define MAX_PATH_LEN 1024
49
50 #endif // VOR_CONFIG_H