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