diff options
author | xtraeme <xtraeme@pkgsrc.org> | 2005-01-25 15:59:27 +0000 |
---|---|---|
committer | xtraeme <xtraeme@pkgsrc.org> | 2005-01-25 15:59:27 +0000 |
commit | 4c57601419be0f8980a281497ac51fd820af8a59 (patch) | |
tree | 41a07eac1eaebc068b60d9abcc52d0036751bfd3 | |
parent | d7b82a691e6567c3cc99a535dafe611c12f13b27 (diff) | |
download | pkgsrc-4c57601419be0f8980a281497ac51fd820af8a59.tar.gz |
Initial import of xevil from pkgsrc-wip, packaged by Soren Jacobsen.
XEvil is a 3rd person, side-view, fast-action, kill-them-before-they-kill-you
game. Fight against either computer-controlled enemies, or another player.
You sinned in life. And now you must pay. Satan pits the recently deceased
against each other to fight for rank in Hell. Your skill determines your fate
for all eternity. This contest is known as XEvil.
-rw-r--r-- | games/xevil/DESCR | 11 | ||||
-rw-r--r-- | games/xevil/PLIST | 10 | ||||
-rw-r--r-- | games/xevil/patches/patch-ad | 31 | ||||
-rw-r--r-- | games/xevil/patches/patch-ae | 32 | ||||
-rw-r--r-- | games/xevil/patches/patch-af | 28 | ||||
-rw-r--r-- | games/xevil/patches/patch-ag | 40 | ||||
-rw-r--r-- | games/xevil/patches/patch-ah | 14 | ||||
-rw-r--r-- | games/xevil/patches/patch-ai | 17 | ||||
-rw-r--r-- | games/xevil/patches/patch-aj | 14 | ||||
-rw-r--r-- | games/xevil/patches/patch-ak | 18 | ||||
-rw-r--r-- | games/xevil/patches/patch-al | 14 | ||||
-rw-r--r-- | games/xevil/patches/patch-am | 13 | ||||
-rw-r--r-- | games/xevil/patches/patch-an | 19 | ||||
-rw-r--r-- | games/xevil/patches/patch-ao | 20 | ||||
-rw-r--r-- | games/xevil/patches/patch-ap | 14 | ||||
-rw-r--r-- | games/xevil/patches/patch-aq | 14 | ||||
-rw-r--r-- | games/xevil/patches/patch-ar | 14 | ||||
-rw-r--r-- | games/xevil/patches/patch-as | 14 | ||||
-rw-r--r-- | games/xevil/patches/patch-at | 14 |
19 files changed, 285 insertions, 66 deletions
diff --git a/games/xevil/DESCR b/games/xevil/DESCR index f88ed7ab833..f20cea3296f 100644 --- a/games/xevil/DESCR +++ b/games/xevil/DESCR @@ -1,5 +1,6 @@ -Death, kill, maim, extreme violence. XEvil is a side-view, -fast-action, kill everything game. Play is against human or computer -players. XEvil is keyboard controlled with configurable controls. A -game can be played on one or more X workstations (over the net by -opening multiple X displays). +XEvil is a 3rd person, side-view, fast-action, kill-them-before-they-kill-you +game. Fight against either computer-controlled enemies, or another player. + +You sinned in life. And now you must pay. Satan pits the recently deceased +against each other to fight for rank in Hell. Your skill determines your fate +for all eternity. This contest is known as XEvil. diff --git a/games/xevil/PLIST b/games/xevil/PLIST index cbd6e44edcf..50e5645f20d 100644 --- a/games/xevil/PLIST +++ b/games/xevil/PLIST @@ -1,3 +1,9 @@ -@comment $NetBSD: PLIST,v 1.1 2001/11/01 00:56:43 zuntum Exp $ +@comment $NetBSD: PLIST,v 1.1.1.1 2005/01/25 15:59:27 xtraeme Exp $ bin/xevil -man/man6/xevil.6 +share/doc/xevil/UNIXSetControls.gif +share/doc/xevil/UNIXShowControls.gif +share/doc/xevil/UNIXmenu.gif +share/doc/xevil/instructions.html +share/doc/xevil/keysdlg.gif +share/doc/xevil/optionsdlg.gif +@dirrm share/doc/xevil diff --git a/games/xevil/patches/patch-ad b/games/xevil/patches/patch-ad index fb2e39dff08..985d4da950e 100644 --- a/games/xevil/patches/patch-ad +++ b/games/xevil/patches/patch-ad @@ -1,21 +1,14 @@ -$NetBSD: patch-ad,v 1.1 2004/03/26 01:34:08 kristerw Exp $ +$NetBSD: patch-ad,v 1.1.1.1 2005/01/25 15:59:27 xtraeme Exp $ ---- locator.C.orig Fri Mar 26 02:20:24 2004 -+++ locator.C Fri Mar 26 02:21:09 2004 -@@ -22,6 +22,7 @@ - hardts@alum.mit.edu - http://graphics.lcs.mit.edu/~hardts/xevil.html - */ +--- cmn/area.cpp.orig 2003-11-22 10:53:19.000000000 -0800 ++++ cmn/area.cpp 2003-11-22 10:53:47.000000000 -0800 +@@ -34,7 +34,8 @@ + extern "C" { + #include <limits.h> // For INT_MAX + } +-#include <iostream.h> ++#include <iostream> +using namespace std; - - #ifndef NO_PRAGMAS - #pragma implementation "locator.h" -@@ -210,7 +211,7 @@ - void Locator::get_nearby(PhysicalP nearby[OL_NEARBY_MAX],int &nitems, - PhysicalP p,int radius) - { -- int glocRadius = (int)ceil(radius / OL_GRID_SIZE_MAX); -+ int glocRadius = (int)ceil((float)(radius / OL_GRID_SIZE_MAX)); - int radius_2 = radius * radius; - nitems = 0; - + #include "utils.h" + #include "coord.h" + #include "area.h" diff --git a/games/xevil/patches/patch-ae b/games/xevil/patches/patch-ae index 53f4526549d..b5c9be7a792 100644 --- a/games/xevil/patches/patch-ae +++ b/games/xevil/patches/patch-ae @@ -1,29 +1,17 @@ -$NetBSD: patch-ae,v 1.1 2004/03/26 01:34:08 kristerw Exp $ +$NetBSD: patch-ae,v 1.1.1.1 2005/01/25 15:59:27 xtraeme Exp $ ---- physical.C.orig Fri Mar 26 02:15:18 2004 -+++ physical.C Fri Mar 26 02:16:06 2004 -@@ -22,6 +22,7 @@ - hardts@alum.mit.edu - http://graphics.lcs.mit.edu/~hardts/xevil.html - */ -+using namespace std; - - #ifndef NO_PRAGMAS - #pragma implementation "physical.h" -@@ -29,13 +30,14 @@ +--- cmn/role.cpp.orig 2000-01-19 12:54:34.000000000 -0800 ++++ cmn/role.cpp 2003-11-22 10:55:47.000000000 -0800 +@@ -29,9 +29,10 @@ + #include "stdafx.h" - // Include Files -#include <iostream.h> +#include <iostream> - - extern "C" { - #include <string.h> - } - ++using namespace std; + #if X11 -#include <strstream.h> +#include <strstream> -+using std::ostrstream; - - #include "utils.h" - #include "coord.h" + #include <time.h> + #endif + #if WIN32 diff --git a/games/xevil/patches/patch-af b/games/xevil/patches/patch-af index 91e5fd59237..61f278ea1fa 100644 --- a/games/xevil/patches/patch-af +++ b/games/xevil/patches/patch-af @@ -1,22 +1,14 @@ -$NetBSD: patch-af,v 1.1 2004/03/26 01:34:08 kristerw Exp $ +$NetBSD: patch-af,v 1.1.1.1 2005/01/25 15:59:27 xtraeme Exp $ ---- ui.C.orig Fri Mar 26 02:21:44 2004 -+++ ui.C Fri Mar 26 02:22:21 2004 -@@ -23,6 +23,7 @@ - hardts@alum.mit.edu - http://graphics.lcs.mit.edu/~hardts/xevil.html - */ -+using namespace std; - - #ifndef NO_PRAGMAS - #pragma implementation "ui.h" -@@ -42,7 +43,8 @@ - } +--- cmn/game_style.h.orig 2003-11-22 10:56:44.000000000 -0800 ++++ cmn/game_style.h 2003-11-22 10:56:59.000000000 -0800 +@@ -31,7 +31,8 @@ + #endif - #include <iostream.h> + #if X11 -#include <strstream.h> +#include <strstream> -+using std::ostrstream; - - #include "coord.h" - #include "ui.h" ++using namespace std; + #endif + #if WIN32 + #include <strstrea.h> diff --git a/games/xevil/patches/patch-ag b/games/xevil/patches/patch-ag new file mode 100644 index 00000000000..b23871d7f80 --- /dev/null +++ b/games/xevil/patches/patch-ag @@ -0,0 +1,40 @@ +$NetBSD: patch-ag,v 1.1.1.1 2005/01/25 15:59:27 xtraeme Exp $ + +--- cmn/utils.cpp.orig 2003-11-22 11:14:12.000000000 -0800 ++++ cmn/utils.cpp 2003-11-22 11:15:38.000000000 -0800 +@@ -30,18 +30,20 @@ + + // Include Files + #include "stdafx.h" +-#include <iostream.h> +-#include <limits.h> +-#include <string.h> +-#include <ctype.h> +-#include <fstream.h> ++#include <iostream> ++#include <climits> ++#include <cstring> ++#include <cctype> ++#include <fstream> + #if WIN32 + #include <strstrea.h> + #endif + #if X11 +-#include <strstream.h> ++#include <strstream> + #endif + ++using namespace std; ++ + #ifdef WIN32 + // For file manipulation routines. + #include <direct.h> +@@ -475,7 +477,7 @@ + #endif + + +-#define UNAME_PATH "@UNAME@" ++#define UNAME_PATH "/usr/bin/uname" + + #ifdef X11 + FILE* fp = popen(UNAME_PATH " -a","r"); diff --git a/games/xevil/patches/patch-ah b/games/xevil/patches/patch-ah new file mode 100644 index 00000000000..786c40a6896 --- /dev/null +++ b/games/xevil/patches/patch-ah @@ -0,0 +1,14 @@ +$NetBSD: patch-ah,v 1.1.1.1 2005/01/25 15:59:27 xtraeme Exp $ + +--- cmn/actual.cpp.orig 2000-01-19 12:54:36.000000000 -0800 ++++ cmn/actual.cpp 2003-11-22 11:18:19.000000000 -0800 +@@ -32,7 +32,8 @@ + + // Include Files + #if X11 +-#include <strstream.h> ++#include <strstream> ++using namespace std; + #endif + #if WIN32 + #include <strstrea.h> diff --git a/games/xevil/patches/patch-ai b/games/xevil/patches/patch-ai new file mode 100644 index 00000000000..42aaa4c6017 --- /dev/null +++ b/games/xevil/patches/patch-ai @@ -0,0 +1,17 @@ +$NetBSD: patch-ai,v 1.1.1.1 2005/01/25 15:59:27 xtraeme Exp $ + +--- cmn/xetp.cpp.orig 2000-01-19 12:54:30.000000000 -0800 ++++ cmn/xetp.cpp 2003-11-22 11:24:52.000000000 -0800 +@@ -29,9 +29,10 @@ + + #include "stdafx.h" + +-#include <iostream.h> ++#include <iostream> + #if X11 +-#include <strstream.h> ++#include <strstream> ++using namespace std; + #endif + #if WIN32 + #include <strstrea.h> diff --git a/games/xevil/patches/patch-aj b/games/xevil/patches/patch-aj new file mode 100644 index 00000000000..aed1af721d4 --- /dev/null +++ b/games/xevil/patches/patch-aj @@ -0,0 +1,14 @@ +$NetBSD: patch-aj,v 1.1.1.1 2005/01/25 15:59:27 xtraeme Exp $ + +--- cmn/game.cpp.orig 2003-11-22 11:25:45.000000000 -0800 ++++ cmn/game.cpp 2003-11-22 11:26:04.000000000 -0800 +@@ -34,7 +34,8 @@ + } + + #if X11 +-#include <strstream.h> ++#include <strstream> ++using namespace std; + #endif + #if WIN32 + #include <strstrea.h> diff --git a/games/xevil/patches/patch-ak b/games/xevil/patches/patch-ak new file mode 100644 index 00000000000..55e77647912 --- /dev/null +++ b/games/xevil/patches/patch-ak @@ -0,0 +1,18 @@ +$NetBSD: patch-ak,v 1.1.1.1 2005/01/25 15:59:27 xtraeme Exp $ + +--- cmn/physical.cpp.orig 2000-01-19 20:38:14.000000000 -0800 ++++ cmn/physical.cpp 2003-11-22 11:29:34.000000000 -0800 +@@ -33,10 +33,11 @@ + // Include Files + #include "xdata.h" + #include "physical.h" +-#include <iostream.h> ++#include <iostream> ++using namespace std; + + #if X11 +-#include <strstream.h> ++#include <strstream> + #endif + #if WIN32 + #include <strstrea.h> diff --git a/games/xevil/patches/patch-al b/games/xevil/patches/patch-al new file mode 100644 index 00000000000..10fc7337f2b --- /dev/null +++ b/games/xevil/patches/patch-al @@ -0,0 +1,14 @@ +$NetBSD: patch-al,v 1.1.1.1 2005/01/25 15:59:27 xtraeme Exp $ + +--- cmn/locator.h.orig 2003-11-22 11:30:48.000000000 -0800 ++++ cmn/locator.h 2003-11-22 11:31:07.000000000 -0800 +@@ -47,7 +47,8 @@ + + + // Include Files +-#include <iostream.h> ++#include <iostream> ++using namespace std; + + #include "utils.h" + #include "coord.h" diff --git a/games/xevil/patches/patch-am b/games/xevil/patches/patch-am new file mode 100644 index 00000000000..e15cc0a6df8 --- /dev/null +++ b/games/xevil/patches/patch-am @@ -0,0 +1,13 @@ +$NetBSD: patch-am,v 1.1.1.1 2005/01/25 15:59:27 xtraeme Exp $ + +--- cmn/physical.h.orig 2003-11-22 11:34:53.000000000 -0800 ++++ cmn/physical.h 2003-11-22 11:35:29.000000000 -0800 +@@ -93,7 +93,7 @@ + CLASSNAME::CLASSNAME(InStreamP in,const CLASSNAME ## Context &cx, \ + CLASSNAME ## Xdata &x_data, \ + WorldP w,LocatorP l) \ +- : PARENT(in,cx. ## parent ## Context,x_data,w,l) ++ : PARENT(in,cx. parent ## Context,x_data,w,l) + + // Used by internal nodes and leaves. + #define DEFINE_UPDATE_FROM_STREAM(CLASSNAME,PARENT) \ diff --git a/games/xevil/patches/patch-an b/games/xevil/patches/patch-an new file mode 100644 index 00000000000..eb8a0e869b5 --- /dev/null +++ b/games/xevil/patches/patch-an @@ -0,0 +1,19 @@ +$NetBSD: patch-an,v 1.1.1.1 2005/01/25 15:59:27 xtraeme Exp $ + +--- cmn/intel.cpp.orig 2003-11-27 15:17:02.000000000 -0800 ++++ cmn/intel.cpp 2003-11-27 15:18:12.000000000 -0800 +@@ -31,11 +31,10 @@ + + // Include Files + #include "stdafx.h" +-extern "C" { +- #include <string.h> +-} ++#include <cstring> + #if X11 +-#include <strstream.h> ++#include <strstream> ++using namespace std; + #endif + #if WIN32 + #include <strstrea.h> diff --git a/games/xevil/patches/patch-ao b/games/xevil/patches/patch-ao new file mode 100644 index 00000000000..472076fb8ac --- /dev/null +++ b/games/xevil/patches/patch-ao @@ -0,0 +1,20 @@ +$NetBSD: patch-ao,v 1.1.1.1 2005/01/25 15:59:27 xtraeme Exp $ + +--- cmn/game_style.cpp.orig 2003-11-27 15:21:04.000000000 -0800 ++++ cmn/game_style.cpp 2003-11-27 15:21:34.000000000 -0800 +@@ -29,12 +29,11 @@ + + // Include Files + #include "stdafx.h" +-extern "C" { +-#include <string.h> +-} ++#include <cstring> + + #if X11 +-#include <strstream.h> ++#include <strstream> ++using namespace std; + #endif + + #if WIN32 diff --git a/games/xevil/patches/patch-ap b/games/xevil/patches/patch-ap new file mode 100644 index 00000000000..cb5c2cf2b8a --- /dev/null +++ b/games/xevil/patches/patch-ap @@ -0,0 +1,14 @@ +$NetBSD: patch-ap,v 1.1.1.1 2005/01/25 15:59:27 xtraeme Exp $ + +--- x11/panel.cpp.orig 2003-11-27 15:23:40.000000000 -0800 ++++ x11/panel.cpp 2003-11-27 15:24:00.000000000 -0800 +@@ -32,7 +32,8 @@ + #include <X11/keysym.h> + } + #include <iostream.h> +-#include <strstream.h> ++#include <strstream> ++using namespace std; + + #include "utils.h" + #include "xdata.h" diff --git a/games/xevil/patches/patch-aq b/games/xevil/patches/patch-aq new file mode 100644 index 00000000000..2625fdbe268 --- /dev/null +++ b/games/xevil/patches/patch-aq @@ -0,0 +1,14 @@ +$NetBSD: patch-aq,v 1.1.1.1 2005/01/25 15:59:27 xtraeme Exp $ + +--- x11/l_agreement_dlg.cpp.orig 2003-11-27 15:25:24.000000000 -0800 ++++ x11/l_agreement_dlg.cpp 2003-11-27 15:25:39.000000000 -0800 +@@ -31,7 +31,8 @@ + #include <X11/Xatom.h> + } + +-#include <strstream.h> ++#include <strstream> ++using namespace std; + + #include "xdata.h" + #include "panel.h" diff --git a/games/xevil/patches/patch-ar b/games/xevil/patches/patch-ar new file mode 100644 index 00000000000..5111d30c73e --- /dev/null +++ b/games/xevil/patches/patch-ar @@ -0,0 +1,14 @@ +$NetBSD: patch-ar,v 1.1.1.1 2005/01/25 15:59:27 xtraeme Exp $ + +--- x11/viewport.cpp.orig 2003-11-27 15:28:43.000000000 -0800 ++++ x11/viewport.cpp 2003-11-27 15:28:54.000000000 -0800 +@@ -44,7 +44,8 @@ + #include <X11/Xos.h> + #include <X11/keysym.h> + } +-#include <strstream.h> ++#include <strstream> ++using namespace std; + + + #define TICK_BORDER_WIDTH 5 // border width big enough for a tick mark. diff --git a/games/xevil/patches/patch-as b/games/xevil/patches/patch-as new file mode 100644 index 00000000000..120e40d8647 --- /dev/null +++ b/games/xevil/patches/patch-as @@ -0,0 +1,14 @@ +$NetBSD: patch-as,v 1.1.1.1 2005/01/25 15:59:27 xtraeme Exp $ + +--- x11/ui.cpp.orig 2003-11-27 15:30:46.000000000 -0800 ++++ x11/ui.cpp 2003-11-27 15:30:57.000000000 -0800 +@@ -41,7 +41,8 @@ + } + + #include <iostream.h> +-#include <strstream.h> ++#include <strstream> ++using namespace std; + + #include "coord.h" + #include "area.h" diff --git a/games/xevil/patches/patch-at b/games/xevil/patches/patch-at new file mode 100644 index 00000000000..9c69b7e3228 --- /dev/null +++ b/games/xevil/patches/patch-at @@ -0,0 +1,14 @@ +$NetBSD: patch-at,v 1.1.1.1 2005/01/25 15:59:27 xtraeme Exp $ + +--- x11/serverping.cpp.orig 2003-11-27 15:33:36.000000000 -0800 ++++ x11/serverping.cpp 2003-11-27 15:33:48.000000000 -0800 +@@ -26,7 +26,8 @@ + + + #include <iostream.h> +-#include <strstream.h> ++#include <strstream> ++using namespace std; + #include "utils.h" + #include "streams.h" + #include "xetp_basic.h" |