summaryrefslogtreecommitdiff
path: root/games/vor/files
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2005-09-10 23:16:02 +0000
committerPav Lucistnik <pav@FreeBSD.org>2005-09-10 23:16:02 +0000
commitb4c545310bf35ca9823231859978d4ff275a621e (patch)
tree4705307de464f3b7320c6850a5c12e211a72d343 /games/vor/files
parent- Fix plist (diff)
Variations on Rockdodger (VoR) is a fork of Paul Holt's little gem Rock
Dodger, which has now accumulated enough differences to be worth releasing on its own. The premise is simple: dodge the rocks until you die. No shields, no weapons, no bonus lives, just pure rockdodgin' fun for your spare moments. VoR has ray-traced rocks, a free-scrolling screen, and "real" physics for your ship. Warning: this game is, if anything, harder than the original. It is intended to be a quickie game to kill a few spare moments here and there, not an epic space adventure. PR: ports/85818 Submitted by: Dmitry Marakasov <amdmi3@mail.ru>
Notes
Notes: svn path=/head/; revision=142404
Diffstat (limited to 'games/vor/files')
-rw-r--r--games/vor/files/patch-file.c26
1 files changed, 26 insertions, 0 deletions
diff --git a/games/vor/files/patch-file.c b/games/vor/files/patch-file.c
new file mode 100644
index 000000000000..fb2350252212
--- /dev/null
+++ b/games/vor/files/patch-file.c
@@ -0,0 +1,26 @@
+--- file.c.orig Wed Sep 7 05:00:47 2005
++++ file.c Wed Sep 7 05:01:01 2005
+@@ -58,20 +58,19 @@
+ find_data_dir(void)
+ {
+ int i;
+- char *data_options[3] = {
+- "./data",
++ char *data_options[2] = {
+ getenv("VOR_DATA"),
+ DATA_PREFIX
+ };
+
+- for(i=0; i<3; i++) {
++ for(i=0; i<2; i++) {
+ if(!data_options[i]) continue;
+ g_data_dir = strdup(data_options[i]);
+ if(is_dir(g_data_dir)) return true;
+ }
+
+ fprintf(stderr, "Can't find VoR data! Tried:\n");
+- for(i=0; i<3; i++) {
++ for(i=0; i<2; i++) {
+ fprintf(stderr, "\t%s\n", data_options[i]);
+ }
+ return false;