You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/games-fps/rott/files/1.0-custom-datapath.patch

50 lines
1.5 KiB

--- rt_main.c.orig 2003-06-19 23:03:34.000000000 -0400
+++ 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;
--- _rt_ted.h.orig 2003-06-19 23:15:26.000000000 -0400
+++ _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