From 2d06451b949706e2e14d1e9cdbdedf30613ca779 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 10 Sep 2003 19:29:22 +0000 Subject: arcade games ! --- games-arcade/njam/ChangeLog | 10 ++ games-arcade/njam/Manifest | 5 + games-arcade/njam/files/0.96/njam.diff | 182 +++++++++++++++++++++++++++++ games-arcade/njam/files/0.96/njamgame.diff | 27 +++++ games-arcade/njam/files/digest-njam-0.96 | 1 + games-arcade/njam/njam-0.96.ebuild | 46 ++++++++ 6 files changed, 271 insertions(+) create mode 100644 games-arcade/njam/ChangeLog create mode 100644 games-arcade/njam/Manifest create mode 100644 games-arcade/njam/files/0.96/njam.diff create mode 100644 games-arcade/njam/files/0.96/njamgame.diff create mode 100644 games-arcade/njam/files/digest-njam-0.96 create mode 100644 games-arcade/njam/njam-0.96.ebuild (limited to 'games-arcade/njam') diff --git a/games-arcade/njam/ChangeLog b/games-arcade/njam/ChangeLog new file mode 100644 index 000000000000..5f1f6b7e121c --- /dev/null +++ b/games-arcade/njam/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for app-games/njam +# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-arcade/njam/ChangeLog,v 1.1 2003/09/10 19:29:21 vapier Exp $ + +*njam-0.96 (29 Jul 2003) + + 29 Jul 2003; Michael Sterrett njam-0.96.ebuild, + files/0.96/njam.diff, files/0.96/njamgame.diff: + Initial commit. ebuild and diffs supplied by Rob Cakebread (bug 24841) + diff --git a/games-arcade/njam/Manifest b/games-arcade/njam/Manifest new file mode 100644 index 000000000000..d9764c931f93 --- /dev/null +++ b/games-arcade/njam/Manifest @@ -0,0 +1,5 @@ +MD5 cd9bb343d66a3e25ae8edd50bef223de files/0.96/njam.diff 7257 +MD5 136cbe591908936157d78aa9858ea054 files/0.96/njamgame.diff 980 +MD5 959b0cda2752af90309b81d91e8984fb files/digest-njam-0.96 66 +MD5 979429df9fdfb066bfc621819d676f2c ChangeLog 434 +MD5 cbbc90e18fa80202e5aa2c0e8f0e3210 njam-0.96.ebuild 984 diff --git a/games-arcade/njam/files/0.96/njam.diff b/games-arcade/njam/files/0.96/njam.diff new file mode 100644 index 000000000000..e19752d4b053 --- /dev/null +++ b/games-arcade/njam/files/0.96/njam.diff @@ -0,0 +1,182 @@ +--- njam-0.96-src/njam.cpp 2003-06-26 07:06:24.000000000 -0700 ++++ src/njam.cpp 2003-07-18 14:11:44.000000000 -0700 +@@ -202,7 +202,7 @@ + } + + if (script_file == NULL) +- script_file = fopen("data/script.txt", "rb"); ++ script_file = fopen("/usr/share/games/njam/data/script.txt", "rb"); + if (script_file == NULL) + return; + +@@ -287,7 +287,7 @@ + // load .bmp for main menu + SDL_Surface *m_Icon; + LogFile("Loading icon..."); +- m_Icon = SDL_LoadBMP("data/njamicon.bmp"); ++ m_Icon = SDL_LoadBMP("/usr/share/games/njam/data/njamicon.bmp"); + if (!m_Icon) + { + LogFile("FAILED.\n"); +@@ -338,7 +338,7 @@ + // load .bmp for main menu + SDL_Surface *temp; + LogFile("Loading Main Menu image..."); +- temp = IMG_Load("data/mainmenu.jpg"); ++ temp = IMG_Load("/usr/share/games/njam/data/mainmenu.jpg"); + if (!temp) + { + LogFile("FAILED.\n"); +@@ -358,7 +358,7 @@ + + // load .bmp for options menu + LogFile("Loading Options Menu image..."); +- temp = IMG_Load("data/options.jpg"); ++ temp = IMG_Load("/usr/share/games/njam/data/options.jpg"); + if (!temp) + { + LogFile("FAILED.\n"); +@@ -378,7 +378,7 @@ + + // load .bmp for network-send screen + LogFile("Loading Net-send image..."); +- m_NetSendImage = IMG_Load("data/netsend.jpg"); ++ m_NetSendImage = IMG_Load("/usr/share/games/njam/data/netsend.jpg"); + if (!m_NetSendImage) + { + LogFile("FAILED.\n"); +@@ -389,7 +389,7 @@ + + // load .bmp for network-send screen + LogFile("Loading Gameover image..."); +- m_GameOverImage = IMG_Load("data/gameover.jpg"); ++ m_GameOverImage = IMG_Load("/usr/share/games/njam/data/gameover.jpg"); + if (!m_GameOverImage) + { + LogFile("FAILED.\n"); +@@ -400,7 +400,7 @@ + + // load .bmp for network-send screen + LogFile("Loading Net-lobby image..."); +- m_NetLobbyImage = SDL_LoadBMP("data/network.bmp"); ++ m_NetLobbyImage = SDL_LoadBMP("/usr/share/games/njam/data/network.bmp"); + if (!m_NetLobbyImage) + { + LogFile("FAILED.\n"); +@@ -411,7 +411,7 @@ + + // load .bmp for enter server IP screen + LogFile("Loading enter server IP image..."); +- m_NetEnterImage = IMG_Load("data/enter-ip.jpg"); ++ m_NetEnterImage = IMG_Load("/usr/share/games/njam/data/enter-ip.jpg"); + if (!m_NetEnterImage) + { + LogFile("FAILED.\n"); +@@ -422,7 +422,7 @@ + + // load .bmp for stats screen + LogFile("Loading Stats screen image..."); +- temp = IMG_Load("data/stats.jpg"); ++ temp = IMG_Load("/usr/share/games/njam/data/stats.jpg"); + if (!temp) + { + LogFile("FAILED.\n"); +@@ -442,7 +442,7 @@ + + // load .bmp for sprites and menu selector + LogFile("Loading Sprites image..."); +- temp = SDL_LoadBMP("data/sprites.bmp"); ++ temp = SDL_LoadBMP("/usr/share/games/njam/data/sprites.bmp"); + if (!temp) + { + LogFile("FAILED.\n"); +@@ -469,7 +469,7 @@ + m_NumberOfSkins = 0; + while (true) + { +- sprintf(Filename, "skins/Back%03d.bmp", m_NumberOfSkins); ++ sprintf(Filename, "/usr/share/games/njam/skins/Back%03d.bmp", m_NumberOfSkins); + FILE *fp = fopen(Filename, "r"); + if (!fp) + break; +@@ -484,7 +484,7 @@ + + for (int i=0; i