Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
vor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
made bang dots hit rocks, removed blast_rocks function.
[vor.git]
/
config.h
diff --git
a/config.h
b/config.h
index
641234a
..
57095cb
100644
(file)
--- a/
config.h
+++ b/
config.h
@@
-7,6
+7,9
@@
#define XSIZE 640
#define YSIZE 480
#define XSIZE 640
#define YSIZE 480
+#define XSCROLLTO (XSIZE/3)
+#define YSCROLLTO (YSIZE/2)
+
#define SCREENDXMIN 7.5
// image file containing font for score stuff.
#define SCREENDXMIN 7.5
// image file containing font for score stuff.
@@
-20,8
+23,13
@@
#define NROCKS 50
// initial/final counts for rocks-on-screen
#define NROCKS 50
// initial/final counts for rocks-on-screen
-#define I_ROCKS 25
-#define F_ROCKS 45
+#define NORMAL_I_ROCKS 20
+#define NORMAL_F_ROCKS 35
+#define NORMAL_GAMESPEED 1.0
+
+#define EASY_I_ROCKS 10
+#define EASY_F_ROCKS 25
+#define EASY_GAMESPEED 0.85
// number of rock structs to allocate
#define MAXROCKS 120
// number of rock structs to allocate
#define MAXROCKS 120
@@
-31,8
+39,15
@@
#define W 100
#define M 255
#define W 100
#define M 255
+// determines how hard they push the rocks. Set to 0 to disable pushing rocks
+#define ENGINE_DOT_WEIGHT 0.1
+
// radius^2 (pixels) which will be cleared of rocks when you die
#define BLAST_RADIUS 300
// radius^2 (pixels) which will be cleared of rocks when you die
#define BLAST_RADIUS 300
+
+// time (in 1/60ths of a seccond) between when you blow up, and when your next
+// ship appears. Make it at least 20.0 so the explosion has time to push the
+// rocks away.
#define DEAD_PAUSE_LENGTH 40.0
#define MAX_PATH_LEN 1024
#define DEAD_PAUSE_LENGTH 40.0
#define MAX_PATH_LEN 1024