summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-fps/rott/files/1.0-custom-datapath.patch')
-rw-r--r--games-fps/rott/files/1.0-custom-datapath.patch49
1 files changed, 49 insertions, 0 deletions
diff --git a/games-fps/rott/files/1.0-custom-datapath.patch b/games-fps/rott/files/1.0-custom-datapath.patch
new file mode 100644
index 000000000000..90c533113b1f
--- /dev/null
+++ b/games-fps/rott/files/1.0-custom-datapath.patch
@@ -0,0 +1,49 @@
+--- rott-1.0/rott/rt_main.c.orig 2003-06-19 23:03:34.000000000 -0400
++++ rott-1.0/rott/rt_main.c 2003-06-19 23:04:49.000000000 -0400
+@@ -763,9 +763,9 @@
+ // Normal ROTT wads
+
+ #if (SHAREWARE)
+- newargs [argnum++] = "huntbgin.wad";
++ newargs [argnum++] = DATADIR "huntbgin.wad";
+ #else
+- newargs [argnum++] = "darkwar.wad";
++ newargs [argnum++] = DATADIR "darkwar.wad";
+ #endif
+
+ // newargs [argnum++] = "credits.wad";
+@@ -785,7 +785,7 @@
+ }
+ else
+ {
+- newargs [argnum++] = "remote1.rts";
++ newargs [argnum++] = DATADIR "remote1.rts";
+ }
+
+ newargs [argnum++] = NULL;
+--- rott-1.0/rott/_rt_ted.h.orig 2003-06-19 23:15:26.000000000 -0400
++++ rott-1.0/rott/_rt_ted.h 2003-06-19 23:15:54.000000000 -0400
+@@ -84,17 +84,17 @@
+ #define MAXSILLYSTRINGS 32
+
+ #if (SHAREWARE==0)
+- #define STANDARDGAMELEVELS ("DARKWAR.RTL")
++ #define STANDARDGAMELEVELS (DATADIR "DARKWAR.RTL")
+ #if (SUPERROTT==1)
+- #define STANDARDBATTLELEVELS ("ROTTCD.RTC")
++ #define STANDARDBATTLELEVELS (DATADIR "ROTTCD.RTC")
+ #elif (SITELICENSE==1)
+- #define STANDARDBATTLELEVELS ("ROTTSITE.RTC")
++ #define STANDARDBATTLELEVELS (DATADIR "ROTTSITE.RTC")
+ #else
+- #define STANDARDBATTLELEVELS ("DARKWAR.RTC")
++ #define STANDARDBATTLELEVELS (DATADIR "DARKWAR.RTC")
+ #endif
+ #else
+- #define STANDARDGAMELEVELS ("HUNTBGIN.RTL")
+- #define STANDARDBATTLELEVELS ("HUNTBGIN.RTC")
++ #define STANDARDGAMELEVELS (DATADIR "HUNTBGIN.RTL")
++ #define STANDARDBATTLELEVELS (DATADIR "HUNTBGIN.RTC")
+ #endif
+
+