1 #ifndef VOR_CONFIG_H 2 #define VOR_CONFIG_H 3 4 // screen size 5 #define XSIZE 640 6 #define YSIZE 480 7 8 #define XSCROLLTO (XSIZE/3) 9 #define YSCROLLTO (YSIZE/2) 10 11 #define BARRIER_SPEED 7.5 12 13 #define MAX_DIST_AHEAD XSIZE 14 #define BOUNCINESS 0.50 15 16 17 // ----------------------------------------------------------------------- 18 // Rocks 19 20 // number of rock images 21 #define NROCKS 50 22 23 // initial/final counts for rocks-on-screen 24 #define NORMAL_I_ROCKS 20 25 #define NORMAL_F_ROCKS 35 // after 2 minutes 26 #define NORMAL_GAMESPEED 1.0 27 28 #define EASY_I_ROCKS 10 29 #define EASY_F_ROCKS 25 // after 2 minutes 30 #define EASY_GAMESPEED 0.85 31 32 // number of rock structs to allocate 33 #define MAXROCKS 120 34 35 #define THRUSTER_STRENGTH 1.5 36 37 // how many engine dots come out of each thruster per tic (1/20th of a seccond) 38 #define ENGINE_DOTS_PER_TIC 150 39 40 #define MAXENGINEDOTS 10000 41 #define MAXBANGDOTS 50000 42 #define W 100 43 #define M 255 44 45 // determines how hard they push the rocks. Set to 0 to disable pushing rocks 46 #define DOT_MASS_UNIT 0.07 47 48 // radius^2 (pixels) which will be cleared of rocks when you die 49 #define BLAST_RADIUS 300 50 51 // time (in 1/60ths of a seccond) between when you blow up, and when your next 52 // ship appears. Make it at least 20.0 so the explosion has time to push the 53 // rocks away. 54 #define DEAD_PAUSE_LENGTH 40.0 55 56 #define MAX_PATH_LEN 1024 57 58 // number of milliseconds the blinky cursor stays visible/invisible 59 #define CURSOR_BLINK_TIME 300 60 61 #endif // VOR_CONFIG_H 62