JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
updated website URL in README.
[vor.git] / config.h
1 #ifndef VOR_CONFIG_H
2 #define VOR_CONFIG_H
3
4 #define VERSION "0.5"
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
16 // -----------------------------------------------------------------------
17 // Rocks
18
19 // number of rock images
20 #define NROCKS 50 
21
22 // initial/final counts for rocks-on-screen
23 #define NORMAL_I_ROCKS 20
24 #define NORMAL_F_ROCKS 35  // after 2 minutes
25 #define NORMAL_GAMESPEED 1.0
26
27 #define EASY_I_ROCKS 10
28 #define EASY_F_ROCKS 25  // after 2 minutes
29 #define EASY_GAMESPEED 0.85
30
31 // number of rock structs to allocate
32 #define MAXROCKS 120
33
34 #define THRUSTER_STRENGTH 1.5
35
36 // how many engine dots come out of each thruster per tic (1/20th of a seccond)
37 #define ENGINE_DOTS_PER_TIC 150
38
39 #define MAXENGINEDOTS 10000
40 #define MAXBANGDOTS 50000
41 #define W 100
42 #define M 255
43
44 // determines how hard they push the rocks. Set to 0 to disable pushing rocks
45 #define ENGINE_DOT_WEIGHT 0.07
46
47 // radius^2 (pixels) which will be cleared of rocks when you die
48 #define BLAST_RADIUS 300
49
50 // time (in 1/60ths of a seccond) between when you blow up, and when your next
51 // ship appears. Make it at least 20.0 so the explosion has time to push the
52 // rocks away.
53 #define DEAD_PAUSE_LENGTH 40.0
54
55 #define MAX_PATH_LEN 1024
56
57 #endif // VOR_CONFIG_H