JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
* rocks.c (hit_rock, pixel_hit_rock): fix more possible bugs.
[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 25
27 #define F_ROCKS 45
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 // radius^2 (pixels) which will be cleared of rocks when you die
38 #define BLAST_RADIUS 300
39 #define DEAD_PAUSE_LENGTH 40.0
40
41 #define MAX_PATH_LEN 1024
42
43 #endif // VOR_CONFIG_H