From b4c545310bf35ca9823231859978d4ff275a621e Mon Sep 17 00:00:00 2001 From: Pav Lucistnik Date: Sat, 10 Sep 2005 23:16:02 +0000 Subject: 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 --- games/vor/files/patch-file.c | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 games/vor/files/patch-file.c (limited to 'games/vor/files') 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; -- cgit v1.2.3