diff options
author | Mike Frysinger <vapier@gentoo.org> | 2003-09-11 12:26:35 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2003-09-11 12:26:35 +0000 |
commit | 47f8ba0ac8d1440ebaa74200e3af6b6777be5f1b (patch) | |
tree | fb3668b891be6dd444a1643d20573e4224e149a3 /games-sports/race/files | |
parent | simulation games (diff) | |
download | gentoo-2-47f8ba0ac8d1440ebaa74200e3af6b6777be5f1b.tar.gz gentoo-2-47f8ba0ac8d1440ebaa74200e3af6b6777be5f1b.tar.bz2 gentoo-2-47f8ba0ac8d1440ebaa74200e3af6b6777be5f1b.zip |
sports games !
Diffstat (limited to 'games-sports/race/files')
-rw-r--r-- | games-sports/race/files/0.5-gentoo.patch | 107 | ||||
-rw-r--r-- | games-sports/race/files/digest-race-0.5 | 1 |
2 files changed, 108 insertions, 0 deletions
diff --git a/games-sports/race/files/0.5-gentoo.patch b/games-sports/race/files/0.5-gentoo.patch new file mode 100644 index 000000000000..0aa35c4ad7b6 --- /dev/null +++ b/games-sports/race/files/0.5-gentoo.patch @@ -0,0 +1,107 @@ +--- src/game.c.orig 2003-07-30 15:21:48.000000000 -0400 ++++ src/game.c 2003-07-30 15:22:29.000000000 -0400 +@@ -39,10 +39,10 @@ + player.z = -1000; + + debugf("Reset Player Variables"); +- playmusic("data/music/fuck.xm"); ++ playmusic("GENTOO_DATADIR/music/fuck.xm"); + newgame = 0; + timestart = SDL_GetTicks(); +- printf("\nLoaded Map:\n %s (data/%s)\n %s\n\n", ++ printf("\nLoaded Map:\n %s (GENTOO_DATADIR/%s)\n %s\n\n", + course[loadc].name, course[loadc].dir, + course[loadc].description); + +--- src/menu.c.orig 2003-07-30 15:21:57.000000000 -0400 ++++ src/menu.c 2003-07-30 15:23:19.000000000 -0400 +@@ -28,7 +28,7 @@ + + int initmenu(void){ + +- playmusic("data/music/lktheme.mod"); ++ playmusic("GENTOO_DATADIR/music/lktheme.mod"); + + return 1; + } +@@ -114,13 +114,13 @@ + loadc = COURSES-1; + else + loadc--; +- playsound("data/sounds/menu.wav",0); ++ playsound("GENTOO_DATADIR/sounds/menu.wav",0); + break; + + case 2: + SDL_WM_ToggleFullScreen(surface); + fullscreen = 0; +- playsound("data/sounds/menu.wav",0); ++ playsound("GENTOO_DATADIR/sounds/menu.wav",0); + break; + default: + break; +@@ -133,12 +133,12 @@ + loadc = 0; + else + loadc++; +- playsound("data/sounds/menu.wav",0); ++ playsound("GENTOO_DATADIR/sounds/menu.wav",0); + break; + case 2: + fullscreen = 0; + SDL_WM_ToggleFullScreen(surface); +- playsound("data/sounds/menu.wav",0); ++ playsound("GENTOO_DATADIR/sounds/menu.wav",0); + break; + default: + break; +@@ -149,14 +149,14 @@ + menuitem = MENU_ITEMS-1; + else + menuitem--; +- playsound("data/sounds/menu.wav",0); ++ playsound("GENTOO_DATADIR/sounds/menu.wav",0); + break; + case SDLK_DOWN: + if(menuitem == MENU_ITEMS-1) + menuitem = 0; + else + menuitem++; +- playsound("data/sounds/menu.wav",0); ++ playsound("GENTOO_DATADIR/sounds/menu.wav",0); + break; + case SDLK_q: + killgame(1); +--- src/terrain.c.orig 2003-07-30 15:22:01.000000000 -0400 ++++ src/terrain.c 2003-07-30 15:22:46.000000000 -0400 +@@ -36,7 +36,7 @@ + + debugf("Started Loading Map (%s)",course->dir); + +- sprintf(temp,"data/%s/%s",course->dir,"map.bmp"); ++ sprintf(temp,"GENTOO_DATADIR/%s/%s",course->dir,"map.bmp"); + + if(!(mapimg = IMG_Load(temp))) + error("Missing Level Data"); +--- src/textures.c.orig 2003-07-30 15:22:06.000000000 -0400 ++++ src/textures.c 2003-07-30 15:22:52.000000000 -0400 +@@ -35,7 +35,7 @@ + SDL_Surface *image; + char location[6+strlen(dir)+strlen(file)]; + +- sprintf(location,"data/%s/%s",dir,file); ++ sprintf(location,"GENTOO_DATADIR/%s/%s",dir,file); + + if((image = IMG_Load(location))){ + glGenTextures(1, &texture[id]); +--- src/main.c.orig 2003-07-30 15:25:48.000000000 -0400 ++++ src/main.c 2003-07-30 15:26:10.000000000 -0400 +@@ -75,7 +75,7 @@ + + printf("%s version %s\nCopyleft foobar and judeo (See COPYING for info)\n",TITLE,VERSION); + +- loadconfig("config"); ++ loadconfig("GENTOO_CONFDIR/race.conf"); + + if(!initsdl()) error("SDL Loading Failed"); + else printf(" Loaded: SDL\n"); diff --git a/games-sports/race/files/digest-race-0.5 b/games-sports/race/files/digest-race-0.5 new file mode 100644 index 000000000000..63fe29ccc320 --- /dev/null +++ b/games-sports/race/files/digest-race-0.5 @@ -0,0 +1 @@ +MD5 9f6efbe1b1a7969a9e8d718d691b4095 race-0.5.tar.bz2 550872 |