Falcon's Eye is nethack on steroids: graphics and sound.
Preliminary port by Peter Valchev and me. A few details to fix, such as having SDL sound AND using timidity concurrently...
This commit is contained in:
parent
7651dea517
commit
c040d15127
56
games/falconseye/Makefile
Normal file
56
games/falconseye/Makefile
Normal file
@ -0,0 +1,56 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2001/07/05 13:29:01 espie Exp $
|
||||
|
||||
COMMENT= "NetHack derivative"
|
||||
|
||||
VERSION= 1.9.3
|
||||
DISTNAME= nethack_source_331_jtp_${VERSION:S/.//g}
|
||||
PKGNAME= falconseye-${VERSION}
|
||||
CATEGORIES= games x11
|
||||
NEED_VERSION= 1.419
|
||||
EXTRACT_SUFX= .zip
|
||||
|
||||
HOMEPAGE= http://falconseye.sourceforge.net/
|
||||
|
||||
#MAINTAINER= Peter Valchev <pvalchev@pobox.com>
|
||||
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= falconseye
|
||||
|
||||
LIB_DEPENDS= SDL.0.1:sdl-*-!no_x11:devel/sdl
|
||||
RUN_DEPENDS= ${LOCALBASE}/share/doc/nethack/Guidebook.txt:hackdata-*:games/hackdata
|
||||
RUN_DEPENDS+= timidity:timidity-*:audio/timidity
|
||||
|
||||
FAKE_FLAGS= PREFIX="${PREFIX}" DESTDIR="${WRKINST}"
|
||||
|
||||
NHDIR= "${PREFIX}/lib/falconseyedir"
|
||||
MAKE_ENV= NHDIR="${NHDIR}" NETHACKCONFIG="${NETHACKCONFIG}"
|
||||
|
||||
WRKDIST= ${WRKDIR}
|
||||
|
||||
NETHACKCONFIG= ${FILESDIR}/x-config
|
||||
USE_X11= Yes
|
||||
MAKE_ENV+= CFLAGS="${CFLAGS} -I${X11BASE}/include -I${LOCALBASE}/include -L${X11BASE}/lib -L${LOCALBASE}/lib"
|
||||
|
||||
USE_GMAKE= Yes
|
||||
do-configure:
|
||||
@cd ${WRKSRC}/sys/unix && ${SH} setup.sh symlinks
|
||||
|
||||
post-build:
|
||||
@cd ${WRKSRC}/util && ${MAKE_ENV} ${MAKE_PROGRAM} recover
|
||||
@cd ${WRKSRC}/util && ln -f recover frecover
|
||||
@cd ${WRKSRC}/doc && perl -p ${FILESDIR}/substitute <nethack.6 >falconseye.6
|
||||
@cd ${WRKSRC}/doc && perl -p ${FILESDIR}/substitute <recover.6 >frecover.6
|
||||
|
||||
post-install:
|
||||
${INSTALL_PROGRAM} ${WRKBUILD}/util/recover ${PREFIX}/bin/frecover
|
||||
@cd ${WRKSRC}/doc && \
|
||||
${INSTALL_MAN} recover.6 ${PREFIX}/man/man6/frecover.6
|
||||
@cd ${WRKSRC}/doc && \
|
||||
${INSTALL_MAN} nethack.6 ${PREFIX}/man/man6/falconseye.6
|
||||
|
||||
.include <bsd.port.mk>
|
3
games/falconseye/files/md5
Normal file
3
games/falconseye/files/md5
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (nethack_source_331_jtp_193.zip) = 764f31f32d4ee39ba809f672a86c08ae
|
||||
RMD160 (nethack_source_331_jtp_193.zip) = 7cb0d48e980e1e7f03f6e388f826728d26d8c9a7
|
||||
SHA1 (nethack_source_331_jtp_193.zip) = 8e002c7f7ca039de875b3c797b2584a517aad6ce
|
6
games/falconseye/files/substitute
Normal file
6
games/falconseye/files/substitute
Normal file
@ -0,0 +1,6 @@
|
||||
s/\bNETHACK\b/FALCONSEYE/g;
|
||||
s/\bNet[hH]ack\b(?!\s+v3.1)/Falcon's Eye/g;
|
||||
s/\bnethack\b/falconseye/g;
|
||||
s/\bnethackdir\b/falconseyedir/g;
|
||||
s|/usr/games|/usr/local|g;
|
||||
s/\brecover\b/frecover/g;
|
7
games/falconseye/files/x-config
Normal file
7
games/falconseye/files/x-config
Normal file
@ -0,0 +1,7 @@
|
||||
VARDATND = x11tiles pet_mark.xbm rip.xpm
|
||||
CFLAGS+=-DX11_GRAPHICS -I${X11BASE}/include
|
||||
LFLAGS =-L${X11BASE}/lib
|
||||
|
||||
WINSRC = $(WINTTYSRC) $(WINX11SRC)
|
||||
WINOBJ = $(WINTTYOBJ) $(WINX11OBJ)
|
||||
WINLIB = $(WINTTYLIB) $(WINX11LIB)
|
45
games/falconseye/patches/patch-include_config_h
Normal file
45
games/falconseye/patches/patch-include_config_h
Normal file
@ -0,0 +1,45 @@
|
||||
$OpenBSD: patch-include_config_h,v 1.1.1.1 2001/07/05 13:29:05 espie Exp $
|
||||
--- include/config.h.orig Tue Jul 3 18:56:52 2001
|
||||
+++ include/config.h Wed Jul 4 11:23:29 2001
|
||||
@@ -146,7 +146,7 @@
|
||||
* would allow:
|
||||
* xpmtoppm <x11tiles.xpm | pnmscale 1.25 | ppmquant 90 >x11tiles_big.xpm
|
||||
*/
|
||||
-/* # define USE_XPM */ /* Disable if you do not have the XPM library */
|
||||
+# define USE_XPM /* Disable if you do not have the XPM library */
|
||||
# ifdef USE_XPM
|
||||
# define GRAPHIC_TOMBSTONE /* Use graphical tombstone (rip.xpm) */
|
||||
# endif
|
||||
@@ -160,6 +160,7 @@
|
||||
* LOGFILE and NEWS refer to files in the playground.
|
||||
*/
|
||||
|
||||
+#define WIZARD "games"
|
||||
#ifndef WIZARD /* allow for compile-time or Makefile changes */
|
||||
# ifndef KR1ED
|
||||
# define WIZARD "wizard" /* the person allowed to use the -D option */
|
||||
@@ -187,11 +188,13 @@
|
||||
|
||||
#ifdef UNIX
|
||||
/* path and file name extension for compression program */
|
||||
-#define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */
|
||||
-#define COMPRESS_EXTENSION ".Z" /* compress's extension */
|
||||
+/* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */
|
||||
+/* #define COMPRESS_EXTENSION ".Z" /* compress's extension */
|
||||
/* An example of one alternative you might want to use: */
|
||||
/* #define COMPRESS "/usr/local/bin/gzip" */ /* FSF gzip compression */
|
||||
/* #define COMPRESS_EXTENSION ".gz" */ /* normal gzip extension */
|
||||
+#define COMPRESS "/usr/bin/gzip"
|
||||
+#define COMPRESS_EXTENSION ".gz"
|
||||
#endif
|
||||
|
||||
#ifndef COMPRESS
|
||||
@@ -318,7 +321,7 @@ typedef unsigned char uchar;
|
||||
* functions that have been macroized.
|
||||
*/
|
||||
|
||||
-/* #define VISION_TABLES */ /* use vision tables generated at compile time */
|
||||
+#define VISION_TABLES /* use vision tables generated at compile time */
|
||||
#ifndef VISION_TABLES
|
||||
# ifndef NO_MACRO_CPATH
|
||||
# define MACRO_CPATH /* use clear_path macros instead of functions */
|
19
games/falconseye/patches/patch-include_system_h
Normal file
19
games/falconseye/patches/patch-include_system_h
Normal file
@ -0,0 +1,19 @@
|
||||
$OpenBSD: patch-include_system_h,v 1.1.1.1 2001/07/05 13:29:05 espie Exp $
|
||||
--- include/system.h.orig Sun Jun 24 18:57:16 2001
|
||||
+++ include/system.h Wed Jul 4 11:23:29 2001
|
||||
@@ -513,11 +513,15 @@ E struct tm *FDECL(localtime, (const tim
|
||||
# endif
|
||||
# endif
|
||||
|
||||
+# if defined(BSD)
|
||||
+/* no declaration needed; it's in time.h */
|
||||
+#else
|
||||
# if defined(ULTRIX) || defined(SYSV) || defined(MICRO) || defined(VMS) || defined(MAC) || (defined(HPUX) && defined(_POSIX_SOURCE))
|
||||
E time_t FDECL(time, (time_t *));
|
||||
# else
|
||||
E long FDECL(time, (time_t *));
|
||||
# endif /* ULTRIX */
|
||||
+#endif
|
||||
|
||||
#ifdef VMS
|
||||
/* used in makedefs.c, but missing from gcc-vms's <time.h> */
|
61
games/falconseye/patches/patch-include_unixconf_h
Normal file
61
games/falconseye/patches/patch-include_unixconf_h
Normal file
@ -0,0 +1,61 @@
|
||||
$OpenBSD: patch-include_unixconf_h,v 1.1.1.1 2001/07/05 13:29:05 espie Exp $
|
||||
--- include/unixconf.h.orig Sun Jun 24 18:57:16 2001
|
||||
+++ include/unixconf.h Wed Jul 4 11:23:29 2001
|
||||
@@ -19,7 +19,12 @@
|
||||
*/
|
||||
|
||||
/* define exactly one of the following four choices */
|
||||
-/* #define BSD 1 */ /* define for 4.n BSD */
|
||||
+/* procure the real define BSD */
|
||||
+#ifdef HAVE_SYS_PARAM_H
|
||||
+#include <sys/param.h>
|
||||
+#endif
|
||||
+/* #define BSD 1 /* define for 4.n BSD */
|
||||
+
|
||||
/* also for relatives like SunOS 4.x, DG/UX, and */
|
||||
/* older versions of Linux */
|
||||
/* #define ULTRIX */ /* define for Ultrix v3.0 or higher (but not lower) */
|
||||
@@ -32,7 +37,7 @@
|
||||
|
||||
|
||||
/* define any of the following that are appropriate */
|
||||
-#define SVR4 /* use in addition to SYSV for System V Release 4 */
|
||||
+/* #define SVR4 /* use in addition to SYSV for System V Release 4 */
|
||||
/* including Solaris 2+ */
|
||||
#define NETWORK /* if running on a networked system */
|
||||
/* e.g. Suns sharing a playground through NFS */
|
||||
@@ -47,6 +52,7 @@
|
||||
* job control (note that AIX is SYSV otherwise)
|
||||
* Also define this for AIX 3.2 */
|
||||
|
||||
+#define TERMLIB
|
||||
#define TERMINFO /* uses terminfo rather than termcap */
|
||||
/* Should be defined for most SYSV, SVR4 (including
|
||||
* Solaris 2+), HPUX, and Linux systems. In
|
||||
@@ -132,7 +138,7 @@
|
||||
* "extra output" method is used, but not all systems provide access to
|
||||
* a fine-grained timer.
|
||||
*/
|
||||
-/* #define TIMED_DELAY */ /* usleep() */
|
||||
+#define TIMED_DELAY /* usleep() */
|
||||
#endif
|
||||
|
||||
/*
|
||||
@@ -143,7 +149,7 @@
|
||||
* A stat system call is done on the mailbox every MAILCKFREQ moves.
|
||||
*/
|
||||
|
||||
-#define MAIL /* Deliver mail during the game */
|
||||
+/* #define MAIL /* Deliver mail during the game */
|
||||
|
||||
/* The Andrew Message System does mail a little differently from normal
|
||||
* UNIX. Mail is deposited in the user's own directory in ~/Mailbox
|
||||
@@ -304,7 +310,7 @@
|
||||
#endif
|
||||
|
||||
#ifdef TIMED_DELAY
|
||||
-# if defined(SUNOS4) || defined(LINUX)
|
||||
+# if defined(SUNOS4) || defined(LINUX) || (defined(BSD) && BSD >= 199103)
|
||||
# define msleep(k) usleep((k)*1000)
|
||||
# endif
|
||||
# ifdef ULTRIX
|
25
games/falconseye/patches/patch-sys_unix_Makefile_doc
Normal file
25
games/falconseye/patches/patch-sys_unix_Makefile_doc
Normal file
@ -0,0 +1,25 @@
|
||||
$OpenBSD: patch-sys_unix_Makefile_doc,v 1.1.1.1 2001/07/05 13:29:05 espie Exp $
|
||||
--- sys/unix/Makefile.doc.orig Sun Jun 24 18:57:24 2001
|
||||
+++ sys/unix/Makefile.doc Wed Jul 4 23:40:29 2001
|
||||
@@ -34,15 +34,15 @@ Guidebook.dvi: Guidebook.tex
|
||||
|
||||
|
||||
GAME = nethack
|
||||
-MANDIR = /usr/man/man6
|
||||
+MANDIR = ${PREFIX}/man/man6
|
||||
MANEXT = 6
|
||||
|
||||
# manual installation for most BSD-style systems
|
||||
-GAMEMANCREATE = cp nethack.6
|
||||
-LEVMANCREATE = cp lev_comp.6
|
||||
-DGNMANCREATE = cp dgn_comp.6
|
||||
-RCVRMANCREATE = cp recover.6
|
||||
-DLBMANCREATE = cp dlb.6
|
||||
+GAMEMANCREATE = ${INSTALL_MAN} $(GAME).6
|
||||
+LEVMANCREATE = ${INSTALL_MAN} lev_comp.6
|
||||
+DGNMANCREATE = ${INSTALL_MAN} dgn_comp.6
|
||||
+RCVRMANCREATE = ${INSTALL_MAN} recover.6
|
||||
+DLBMANCREATE = ${INSTALL_MAN} dlb.6
|
||||
# manual installation for most SYSV-style systems
|
||||
# GAMEMANCREATE = nroff -man nethack.6 >
|
||||
# LEVMANCREATE = nroff -man lev_comp.6 >
|
63
games/falconseye/patches/patch-sys_unix_Makefile_src
Normal file
63
games/falconseye/patches/patch-sys_unix_Makefile_src
Normal file
@ -0,0 +1,63 @@
|
||||
$OpenBSD: patch-sys_unix_Makefile_src,v 1.1.1.1 2001/07/05 13:29:05 espie Exp $
|
||||
--- sys/unix/Makefile.src.orig Sun Jun 24 18:57:24 2001
|
||||
+++ sys/unix/Makefile.src Wed Jul 4 23:38:00 2001
|
||||
@@ -1,6 +1,7 @@
|
||||
# NetHack Makefile.
|
||||
# SCCS Id: @(#)Makefile.src 3.3 97/04/17
|
||||
|
||||
+include ${NETHACKCONFIG}
|
||||
# newer makes predefine $(MAKE) to 'make' and do smarter processing of
|
||||
# recursive make calls if $(MAKE) is used
|
||||
# these makes allow $(MAKE) to be overridden by the environment if someone
|
||||
@@ -117,7 +118,7 @@ SYSOBJ = ioctl.o unixmain.o unixtty.o un
|
||||
|
||||
# flags for Linux
|
||||
# compile normally
|
||||
-CFLAGS = -O2 -fomit-frame-pointer -I../include -I/usr/X11/include
|
||||
+CFLAGS = -O2 -fomit-frame-pointer -I../include -I/usr/X11/include -DHACKDIR=\"${NHDIR}\" -DHAVE_SYS_PARAM_H
|
||||
LFLAGS = -L/usr/X11/lib
|
||||
# OR compile backwards compatible a.out format
|
||||
# CFLAGS = -O2 -b i486-linuxaout -fomit-frame-pointer -I../include -I/usr/X11/include
|
||||
@@ -232,9 +233,9 @@ WINOBJ = $(WINTTYOBJ) $(WINJTPOBJ)
|
||||
#
|
||||
# libraries for tty ports
|
||||
# WINTTYLIB = -ltermcap
|
||||
-# WINTTYLIB = -lcurses
|
||||
+WINTTYLIB = -lcurses
|
||||
# WINTTYLIB = -lcurses16
|
||||
-WINTTYLIB = -lncurses
|
||||
+# WINTTYLIB = -lncurses
|
||||
# WINTTYLIB = -ltermlib
|
||||
#
|
||||
|
||||
@@ -244,7 +245,7 @@ WINJTPLIB = $(shell sdl-config --libs)
|
||||
#
|
||||
# libraries for X11
|
||||
# If USE_XPM is defined in config.h, you will also need -lXpm here.
|
||||
-WINX11LIB = -lXaw -lXmu -lXext -lXt -lX11
|
||||
+WINX11LIB = -lXaw -lXmu -lXext -lXt -lX11 -lXpm
|
||||
# WINX11LIB = -lXaw -lXmu -lXt -lX11
|
||||
# WINX11LIB = -lXaw -lXmu -lXext -lXt -lXpm -lX11 -lm
|
||||
# WINX11LIB = -lXaw -lXmu -lXpm -lXext -lXt -lX11 -lSM -lICE -lm # BSD/OS 2.0
|
||||
@@ -294,7 +295,7 @@ WINLIB = $(WINTTYLIB) $(WINJTPLIB)
|
||||
LIBS =
|
||||
|
||||
# make NetHack
|
||||
-GAME = nethack
|
||||
+GAME = falconseye
|
||||
# GAME = nethack.prg
|
||||
|
||||
# if you defined RANDOM in unixconf.h/tosconf.h since your system did not come
|
||||
@@ -467,10 +468,10 @@ objects.o:
|
||||
|
||||
# Qt windowport meta-object-compiler output
|
||||
qt_kde0.moc: ../include/qt_kde0.h
|
||||
- $(QTDIR)/bin/moc ../include/qt_kde0.h > qt_kde0.moc
|
||||
+ moc2 ../include/qt_kde0.h > qt_kde0.moc
|
||||
|
||||
qt_win.moc: ../include/qt_win.h
|
||||
- $(QTDIR)/bin/moc ../include/qt_win.h > qt_win.moc
|
||||
+ moc2 ../include/qt_win.h > qt_win.moc
|
||||
|
||||
$(MAKEDEFS): ../util/makedefs.c $(CONFIG_H) ../include/permonst.h \
|
||||
../include/objclass.h ../include/monsym.h \
|
53
games/falconseye/patches/patch-sys_unix_Makefile_top
Normal file
53
games/falconseye/patches/patch-sys_unix_Makefile_top
Normal file
@ -0,0 +1,53 @@
|
||||
$OpenBSD: patch-sys_unix_Makefile_top,v 1.1.1.1 2001/07/05 13:29:05 espie Exp $
|
||||
--- sys/unix/Makefile.top.orig Sun Jun 24 18:57:24 2001
|
||||
+++ sys/unix/Makefile.top Wed Jul 4 23:39:44 2001
|
||||
@@ -16,17 +16,17 @@
|
||||
# make NetHack
|
||||
#PREFIX = /usr
|
||||
PREFIX = $(shell pwd)/compiled
|
||||
-GAME = nethack
|
||||
+GAME = falconseye
|
||||
# GAME = nethack.prg
|
||||
-GAMEUID = games
|
||||
-GAMEGRP = bin
|
||||
+GAMEUID = bin
|
||||
+GAMEGRP = games
|
||||
|
||||
# Permissions - some places use setgid instead of setuid, for instance
|
||||
# See also the option "SECURE" in include/config.h
|
||||
-GAMEPERM = 04755
|
||||
-FILEPERM = 0644
|
||||
+GAMEPERM = 02755
|
||||
+FILEPERM = 0664
|
||||
EXEPERM = 0755
|
||||
-DIRPERM = 0755
|
||||
+DIRPERM = 0775
|
||||
|
||||
# GAMEDIR also appears in config.h as "HACKDIR".
|
||||
# VARDIR may also appear in unixconf.h as "VAR_PLAYGROUND" else GAMEDIR
|
||||
@@ -36,12 +36,13 @@ DIRPERM = 0755
|
||||
# therefore there should not be anything in GAMEDIR that you want to keep
|
||||
# (if there is, you'll have to do the installation by hand or modify the
|
||||
# instructions)
|
||||
-GAMEDIR = $(PREFIX)/games/lib/$(GAME)dir
|
||||
+REALGAMEDIR = $(PREFIX)/lib/$(GAME)dir
|
||||
+GAMEDIR = $(DESTDIR)${REALGAMEDIR}
|
||||
VARDIR = $(GAMEDIR)
|
||||
-SHELLDIR = $(PREFIX)/games
|
||||
+SHELLDIR = ${DESTDIR}$(PREFIX)/bin
|
||||
|
||||
# per discussion in Install.X11 and Install.Qt
|
||||
-VARDATND =
|
||||
+# VARDATND =
|
||||
# VARDATND = x11tiles pet_mark.xbm
|
||||
# VARDATND = x11tiles pet_mark.xbm rip.xpm
|
||||
# for Atari/Gem
|
||||
@@ -201,7 +202,7 @@ dofiles:
|
||||
$(MAKE) dofiles-jtp
|
||||
cp src/$(GAME) $(GAMEDIR)
|
||||
-rm -f $(SHELLDIR)/$(GAME)
|
||||
- sed -e 's;/usr/games/lib/nethackdir;$(GAMEDIR);' \
|
||||
+ sed -e 's;/usr/games/lib/nethackdir;$(REALGAMEDIR);' \
|
||||
-e 's;HACKDIR/nethack;HACKDIR/$(GAME);' \
|
||||
< sys/unix/nethack.sh \
|
||||
> $(SHELLDIR)/$(GAME)
|
21
games/falconseye/patches/patch-sys_unix_Makefile_utl
Normal file
21
games/falconseye/patches/patch-sys_unix_Makefile_utl
Normal file
@ -0,0 +1,21 @@
|
||||
$OpenBSD: patch-sys_unix_Makefile_utl,v 1.1.1.1 2001/07/05 13:29:06 espie Exp $
|
||||
--- sys/unix/Makefile.utl.orig Sun Jun 24 18:57:24 2001
|
||||
+++ sys/unix/Makefile.utl Wed Jul 4 11:23:29 2001
|
||||
@@ -1,6 +1,7 @@
|
||||
# Makefile for NetHack's utility programs.
|
||||
# SCCS Id: @(#)Makefile.utl 3.3 97/04/19
|
||||
|
||||
+include ${NETHACKCONFIG}
|
||||
# newer makes predefine $(MAKE) to 'make' and do smarter processing of
|
||||
# recursive make calls if $(MAKE) is used
|
||||
# these makes allow $(MAKE) to be overridden by the environment if someone
|
||||
@@ -89,8 +90,7 @@
|
||||
# flags for debugging:
|
||||
# CFLAGS = -g -I../include
|
||||
|
||||
-CFLAGS = -O -I../include
|
||||
-LFLAGS =
|
||||
+CFLAGS += -I../include
|
||||
|
||||
LIBS =
|
||||
|
13
games/falconseye/patches/patch-sys_unix_unixunix_c
Normal file
13
games/falconseye/patches/patch-sys_unix_unixunix_c
Normal file
@ -0,0 +1,13 @@
|
||||
$OpenBSD: patch-sys_unix_unixunix_c,v 1.1.1.1 2001/07/05 13:29:05 espie Exp $
|
||||
--- sys/unix/unixunix.c.orig Sun Jun 24 18:57:24 2001
|
||||
+++ sys/unix/unixunix.c Wed Jul 4 11:23:29 2001
|
||||
@@ -42,7 +42,9 @@ gethdate(name)
|
||||
* does not exist on all systems, and moreover, that it sometimes includes
|
||||
* <sys/types.h> again, so that the compiler sees these typedefs twice.
|
||||
*/
|
||||
+#ifndef HAVE_SYS_PARAM_H
|
||||
#define MAXPATHLEN 1024
|
||||
+#endif
|
||||
|
||||
register const char *np, *path;
|
||||
char filename[MAXPATHLEN+1];
|
13
games/falconseye/patches/patch-win_Qt_qt_win_cpp
Normal file
13
games/falconseye/patches/patch-win_Qt_qt_win_cpp
Normal file
@ -0,0 +1,13 @@
|
||||
$OpenBSD: patch-win_Qt_qt_win_cpp,v 1.1.1.1 2001/07/05 13:29:06 espie Exp $
|
||||
--- win/Qt/qt_win.cpp.orig Tue Jul 3 17:42:00 2001
|
||||
+++ win/Qt/qt_win.cpp Wed Jul 4 11:23:29 2001
|
||||
@@ -91,7 +91,8 @@ extern "C" {
|
||||
#include "qt_clust.h"
|
||||
#include "qt_xpms.h"
|
||||
|
||||
-#include <malloc.h>
|
||||
+//#include <malloc.h>
|
||||
+#include <stdlib.h>
|
||||
|
||||
#ifdef _WS_X11_
|
||||
// For userid control
|
@ -0,0 +1,33 @@
|
||||
$OpenBSD: patch-win_jtp_gamedata_config_jtp_keys_txt,v 1.1.1.1 2001/07/05 13:29:06 espie Exp $
|
||||
--- win/jtp/gamedata/config/jtp_keys.txt.orig Sun Jun 24 18:57:26 2001
|
||||
+++ win/jtp/gamedata/config/jtp_keys.txt Thu Jul 5 15:25:21 2001
|
||||
@@ -42,25 +42,25 @@
|
||||
|
||||
[up]=[<]
|
||||
[down]=[>]
|
||||
-[jump]=[j]
|
||||
+[jump]=[META+j]
|
||||
[sit down]=[META+s]
|
||||
[teleport]=[CTRL+t]
|
||||
|
||||
%----------------------------------------------------------------
|
||||
% Exploring
|
||||
%----------------------------------------------------------------
|
||||
-[kick]=[k]
|
||||
+[kick]=[CTRL+k]
|
||||
[close door]=[c]
|
||||
[open door]=[o]
|
||||
[look here]=[:]
|
||||
[search]=[s]
|
||||
-[untrap]=[u]
|
||||
+[untrap]=[META+u]
|
||||
|
||||
%----------------------------------------------------------------
|
||||
% Getting items
|
||||
%----------------------------------------------------------------
|
||||
[force lock]=[META+f]
|
||||
-[loot chest]=[l]
|
||||
+[loot chest]=[META+l]
|
||||
[pick up]=[,]
|
||||
[toggle autopickup]=[@]
|
||||
|
@ -0,0 +1,21 @@
|
||||
$OpenBSD: patch-win_jtp_gamedata_config_jtp_opts_txt,v 1.1.1.1 2001/07/05 13:29:06 espie Exp $
|
||||
--- win/jtp/gamedata/config/jtp_opts.txt.orig Thu Jul 5 15:16:09 2001
|
||||
+++ win/jtp/gamedata/config/jtp_opts.txt Thu Jul 5 15:16:25 2001
|
||||
@@ -39,7 +39,7 @@ fullscreen=0
|
||||
% don't have the appropriate sound hardware.
|
||||
%
|
||||
play_music=1
|
||||
-play_effects=1
|
||||
+play_effects=0
|
||||
|
||||
|
||||
% -----------------------------------
|
||||
@@ -60,7 +60,7 @@ linux_midi_player=/usr/local/bin/timidit
|
||||
% files. You can also give your own command; use %s in place of the
|
||||
% filename. Please give the full path to the player binary.
|
||||
%
|
||||
-linux_mp3_player=/usr/bin/mpg123 -q %s
|
||||
+linux_mp3_player=/usr/local/bin/mpg123 -q %s
|
||||
|
||||
|
||||
% ------------
|
6
games/falconseye/pkg/DESCR
Normal file
6
games/falconseye/pkg/DESCR
Normal file
@ -0,0 +1,6 @@
|
||||
Falcon's Eye is nethack.
|
||||
With a graphical interface.
|
||||
With sound.
|
||||
|
||||
WWW: ${HOMEPAGE}
|
||||
|
275
games/falconseye/pkg/PLIST
Normal file
275
games/falconseye/pkg/PLIST
Normal file
@ -0,0 +1,275 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2001/07/05 13:29:04 espie Exp $
|
||||
@group games
|
||||
bin/falconseye
|
||||
bin/frecover
|
||||
lib/falconseyedir/Arc-fila.lev
|
||||
lib/falconseyedir/Arc-filb.lev
|
||||
lib/falconseyedir/Arc-goal.lev
|
||||
lib/falconseyedir/Arc-loca.lev
|
||||
lib/falconseyedir/Arc-strt.lev
|
||||
lib/falconseyedir/Bar-fila.lev
|
||||
lib/falconseyedir/Bar-filb.lev
|
||||
lib/falconseyedir/Bar-goal.lev
|
||||
lib/falconseyedir/Bar-loca.lev
|
||||
lib/falconseyedir/Bar-strt.lev
|
||||
lib/falconseyedir/Cav-fila.lev
|
||||
lib/falconseyedir/Cav-filb.lev
|
||||
lib/falconseyedir/Cav-goal.lev
|
||||
lib/falconseyedir/Cav-loca.lev
|
||||
lib/falconseyedir/Cav-strt.lev
|
||||
lib/falconseyedir/Hea-fila.lev
|
||||
lib/falconseyedir/Hea-filb.lev
|
||||
lib/falconseyedir/Hea-goal.lev
|
||||
lib/falconseyedir/Hea-loca.lev
|
||||
lib/falconseyedir/Hea-strt.lev
|
||||
lib/falconseyedir/Kni-fila.lev
|
||||
lib/falconseyedir/Kni-filb.lev
|
||||
lib/falconseyedir/Kni-goal.lev
|
||||
lib/falconseyedir/Kni-loca.lev
|
||||
lib/falconseyedir/Kni-strt.lev
|
||||
lib/falconseyedir/Mon-fila.lev
|
||||
lib/falconseyedir/Mon-filb.lev
|
||||
lib/falconseyedir/Mon-goal.lev
|
||||
lib/falconseyedir/Mon-loca.lev
|
||||
lib/falconseyedir/Mon-strt.lev
|
||||
lib/falconseyedir/Pri-fila.lev
|
||||
lib/falconseyedir/Pri-filb.lev
|
||||
lib/falconseyedir/Pri-goal.lev
|
||||
lib/falconseyedir/Pri-loca.lev
|
||||
lib/falconseyedir/Pri-strt.lev
|
||||
lib/falconseyedir/Ran-fila.lev
|
||||
lib/falconseyedir/Ran-filb.lev
|
||||
lib/falconseyedir/Ran-goal.lev
|
||||
lib/falconseyedir/Ran-loca.lev
|
||||
lib/falconseyedir/Ran-strt.lev
|
||||
lib/falconseyedir/Rog-fila.lev
|
||||
lib/falconseyedir/Rog-filb.lev
|
||||
lib/falconseyedir/Rog-goal.lev
|
||||
lib/falconseyedir/Rog-loca.lev
|
||||
lib/falconseyedir/Rog-strt.lev
|
||||
lib/falconseyedir/Sam-fila.lev
|
||||
lib/falconseyedir/Sam-filb.lev
|
||||
lib/falconseyedir/Sam-goal.lev
|
||||
lib/falconseyedir/Sam-loca.lev
|
||||
lib/falconseyedir/Sam-strt.lev
|
||||
lib/falconseyedir/Tou-fila.lev
|
||||
lib/falconseyedir/Tou-filb.lev
|
||||
lib/falconseyedir/Tou-goal.lev
|
||||
lib/falconseyedir/Tou-loca.lev
|
||||
lib/falconseyedir/Tou-strt.lev
|
||||
lib/falconseyedir/Val-fila.lev
|
||||
lib/falconseyedir/Val-filb.lev
|
||||
lib/falconseyedir/Val-goal.lev
|
||||
lib/falconseyedir/Val-loca.lev
|
||||
lib/falconseyedir/Val-strt.lev
|
||||
lib/falconseyedir/Wiz-fila.lev
|
||||
lib/falconseyedir/Wiz-filb.lev
|
||||
lib/falconseyedir/Wiz-goal.lev
|
||||
lib/falconseyedir/Wiz-loca.lev
|
||||
lib/falconseyedir/Wiz-strt.lev
|
||||
lib/falconseyedir/air.lev
|
||||
lib/falconseyedir/asmodeus.lev
|
||||
lib/falconseyedir/astral.lev
|
||||
lib/falconseyedir/baalz.lev
|
||||
lib/falconseyedir/bigrm-1.lev
|
||||
lib/falconseyedir/bigrm-2.lev
|
||||
lib/falconseyedir/bigrm-3.lev
|
||||
lib/falconseyedir/bigrm-4.lev
|
||||
lib/falconseyedir/bigrm-5.lev
|
||||
lib/falconseyedir/castle.lev
|
||||
lib/falconseyedir/cmdhelp
|
||||
lib/falconseyedir/config/jtp_intr.txt
|
||||
lib/falconseyedir/config/jtp_keys.txt
|
||||
lib/falconseyedir/config/jtp_lit1.dat
|
||||
lib/falconseyedir/config/jtp_opts.txt
|
||||
lib/falconseyedir/config/jtp_snds.txt
|
||||
lib/falconseyedir/data
|
||||
lib/falconseyedir/defaults.nh
|
||||
lib/falconseyedir/dungeon
|
||||
lib/falconseyedir/earth.lev
|
||||
lib/falconseyedir/fakewiz1.lev
|
||||
lib/falconseyedir/fakewiz2.lev
|
||||
lib/falconseyedir/fire.lev
|
||||
lib/falconseyedir/graphics/backpac5.pcx
|
||||
lib/falconseyedir/graphics/book1.pcx
|
||||
lib/falconseyedir/graphics/book2.pcx
|
||||
lib/falconseyedir/graphics/cairn.pcx
|
||||
lib/falconseyedir/graphics/chargen2.pcx
|
||||
lib/falconseyedir/graphics/dawn.pcx
|
||||
lib/falconseyedir/graphics/dreams.pcx
|
||||
lib/falconseyedir/graphics/entrance.pcx
|
||||
lib/falconseyedir/graphics/jtp_cm07.pcx
|
||||
lib/falconseyedir/graphics/jtp_cm08.pcx
|
||||
lib/falconseyedir/graphics/jtp_cm09.pcx
|
||||
lib/falconseyedir/graphics/jtp_cm12.pcx
|
||||
lib/falconseyedir/graphics/jtp_cm13.pcx
|
||||
lib/falconseyedir/graphics/jtp_cmb8.pcx
|
||||
lib/falconseyedir/graphics/jtp_cmc7.pcx
|
||||
lib/falconseyedir/graphics/jtp_mon6.pcx
|
||||
lib/falconseyedir/graphics/jtp_mon7.pcx
|
||||
lib/falconseyedir/graphics/jtp_mou5.pcx
|
||||
lib/falconseyedir/graphics/jtp_mwi4.pcx
|
||||
lib/falconseyedir/graphics/jtp_nh_1.pcx
|
||||
lib/falconseyedir/graphics/jtp_obj1.pcx
|
||||
lib/falconseyedir/graphics/jtp_obj2.pcx
|
||||
lib/falconseyedir/graphics/jtp_st10.pcx
|
||||
lib/falconseyedir/graphics/jtp_win1.pcx
|
||||
lib/falconseyedir/graphics/mandolin.pcx
|
||||
lib/falconseyedir/graphics/menuchr2.pcx
|
||||
lib/falconseyedir/graphics/micons2.pcx
|
||||
lib/falconseyedir/graphics/night.pcx
|
||||
lib/falconseyedir/graphics/quitgame.pcx
|
||||
lib/falconseyedir/graphics/stairway.pcx
|
||||
lib/falconseyedir/graphics/ttipchr1.pcx
|
||||
lib/falconseyedir/graphics/valley.pcx
|
||||
lib/falconseyedir/graphics/walls02a.pcx
|
||||
lib/falconseyedir/graphics/walls02b.pcx
|
||||
lib/falconseyedir/graphics/walls02c.pcx
|
||||
lib/falconseyedir/graphics/walls03a.pcx
|
||||
lib/falconseyedir/graphics/walls03b.pcx
|
||||
lib/falconseyedir/graphics/walls03c.pcx
|
||||
lib/falconseyedir/graphics/yendor.pcx
|
||||
lib/falconseyedir/help
|
||||
lib/falconseyedir/hh
|
||||
lib/falconseyedir/history
|
||||
lib/falconseyedir/juiblex.lev
|
||||
lib/falconseyedir/knox.lev
|
||||
lib/falconseyedir/license
|
||||
lib/falconseyedir/manual/arrows1.jpg
|
||||
lib/falconseyedir/manual/arrows2.jpg
|
||||
lib/falconseyedir/manual/buttonpanel.jpg
|
||||
lib/falconseyedir/manual/char_arc.jpg
|
||||
lib/falconseyedir/manual/char_kni.jpg
|
||||
lib/falconseyedir/manual/char_pri.jpg
|
||||
lib/falconseyedir/manual/char_ran.jpg
|
||||
lib/falconseyedir/manual/char_rog.jpg
|
||||
lib/falconseyedir/manual/char_tou.jpg
|
||||
lib/falconseyedir/manual/char_val.jpg
|
||||
lib/falconseyedir/manual/char_wiz.jpg
|
||||
lib/falconseyedir/manual/contextmenu.jpg
|
||||
lib/falconseyedir/manual/dng_door.jpg
|
||||
lib/falconseyedir/manual/dng_strs.jpg
|
||||
lib/falconseyedir/manual/giantant.jpg
|
||||
lib/falconseyedir/manual/index.html
|
||||
lib/falconseyedir/manual/letter_a.jpg
|
||||
lib/falconseyedir/manual/letter_c.jpg
|
||||
lib/falconseyedir/manual/letter_m.jpg
|
||||
lib/falconseyedir/manual/letter_n.jpg
|
||||
lib/falconseyedir/manual/letter_o.jpg
|
||||
lib/falconseyedir/manual/letter_r.jpg
|
||||
lib/falconseyedir/manual/letter_t.jpg
|
||||
lib/falconseyedir/manual/letter_w.jpg
|
||||
lib/falconseyedir/manual/letter_y.jpg
|
||||
lib/falconseyedir/manual/main.html
|
||||
lib/falconseyedir/manual/main_10.html
|
||||
lib/falconseyedir/manual/main_11.html
|
||||
lib/falconseyedir/manual/main_12.html
|
||||
lib/falconseyedir/manual/main_2.html
|
||||
lib/falconseyedir/manual/main_3.html
|
||||
lib/falconseyedir/manual/main_4.html
|
||||
lib/falconseyedir/manual/main_5.html
|
||||
lib/falconseyedir/manual/main_6.html
|
||||
lib/falconseyedir/manual/main_7.html
|
||||
lib/falconseyedir/manual/main_8.html
|
||||
lib/falconseyedir/manual/main_9.html
|
||||
lib/falconseyedir/manual/mapwindow.jpg
|
||||
lib/falconseyedir/manual/minimap.jpg
|
||||
lib/falconseyedir/manual/navbar.html
|
||||
lib/falconseyedir/manual/nhisomet.jpg
|
||||
lib/falconseyedir/manual/nhmanual.css
|
||||
lib/falconseyedir/manual/nhnavlog.jpg
|
||||
lib/falconseyedir/manual/obj_food.jpg
|
||||
lib/falconseyedir/manual/obj_gem.jpg
|
||||
lib/falconseyedir/manual/obj_potion.jpg
|
||||
lib/falconseyedir/manual/obj_ring.jpg
|
||||
lib/falconseyedir/manual/obj_scroll.jpg
|
||||
lib/falconseyedir/manual/obj_sword.jpg
|
||||
lib/falconseyedir/manual/paper1.jpg
|
||||
lib/falconseyedir/manual/scrollrun.jpg
|
||||
lib/falconseyedir/manual/statusbar.jpg
|
||||
lib/falconseyedir/manual/valley.jpg
|
||||
lib/falconseyedir/manual/wallstyle_full.jpg
|
||||
lib/falconseyedir/manual/wallstyle_halfheight.jpg
|
||||
lib/falconseyedir/manual/wallstyle_transparent.jpg
|
||||
lib/falconseyedir/medusa-1.lev
|
||||
lib/falconseyedir/medusa-2.lev
|
||||
lib/falconseyedir/minefill.lev
|
||||
lib/falconseyedir/minend-1.lev
|
||||
lib/falconseyedir/minend-2.lev
|
||||
lib/falconseyedir/minetn-1.lev
|
||||
lib/falconseyedir/minetn-2.lev
|
||||
lib/falconseyedir/nethack.ico
|
||||
lib/falconseyedir/opthelp
|
||||
lib/falconseyedir/options
|
||||
lib/falconseyedir/oracle.lev
|
||||
lib/falconseyedir/oracles
|
||||
lib/falconseyedir/orcus.lev
|
||||
lib/falconseyedir/quest.dat
|
||||
lib/falconseyedir/rumors
|
||||
lib/falconseyedir/sanctum.lev
|
||||
lib/falconseyedir/soko1-1.lev
|
||||
lib/falconseyedir/soko1-2.lev
|
||||
lib/falconseyedir/soko2-1.lev
|
||||
lib/falconseyedir/soko2-2.lev
|
||||
lib/falconseyedir/soko3-1.lev
|
||||
lib/falconseyedir/soko3-2.lev
|
||||
lib/falconseyedir/soko4-1.lev
|
||||
lib/falconseyedir/soko4-2.lev
|
||||
lib/falconseyedir/sound/aircaves.mid
|
||||
lib/falconseyedir/sound/ambient1.mid
|
||||
lib/falconseyedir/sound/ambient2.mid
|
||||
lib/falconseyedir/sound/ascended.mid
|
||||
lib/falconseyedir/sound/battle1.mid
|
||||
lib/falconseyedir/sound/battle2.mid
|
||||
lib/falconseyedir/sound/bell.raw
|
||||
lib/falconseyedir/sound/cat.raw
|
||||
lib/falconseyedir/sound/cldoor.raw
|
||||
lib/falconseyedir/sound/counting.raw
|
||||
lib/falconseyedir/sound/died.mid
|
||||
lib/falconseyedir/sound/dog.raw
|
||||
lib/falconseyedir/sound/earthcav.mid
|
||||
lib/falconseyedir/sound/firecave.mid
|
||||
lib/falconseyedir/sound/fountain.raw
|
||||
lib/falconseyedir/sound/intro.mid
|
||||
lib/falconseyedir/sound/lament1.mid
|
||||
lib/falconseyedir/sound/lament2.mid
|
||||
lib/falconseyedir/sound/levelup.mid
|
||||
lib/falconseyedir/sound/levelup.raw
|
||||
lib/falconseyedir/sound/lion.raw
|
||||
lib/falconseyedir/sound/mines.mid
|
||||
lib/falconseyedir/sound/nethack.mid
|
||||
lib/falconseyedir/sound/opdoor.raw
|
||||
lib/falconseyedir/sound/oracle.mid
|
||||
lib/falconseyedir/sound/quit.mid
|
||||
lib/falconseyedir/sound/roar.raw
|
||||
lib/falconseyedir/sound/shopping.mid
|
||||
lib/falconseyedir/sound/swordhit.raw
|
||||
lib/falconseyedir/sound/swordmis.raw
|
||||
lib/falconseyedir/sound/town.mid
|
||||
lib/falconseyedir/sound/walk.raw
|
||||
lib/falconseyedir/sound/watercav.mid
|
||||
lib/falconseyedir/tower1.lev
|
||||
lib/falconseyedir/tower2.lev
|
||||
lib/falconseyedir/tower3.lev
|
||||
lib/falconseyedir/valley.lev
|
||||
lib/falconseyedir/water.lev
|
||||
lib/falconseyedir/wizard1.lev
|
||||
lib/falconseyedir/wizard2.lev
|
||||
lib/falconseyedir/wizard3.lev
|
||||
lib/falconseyedir/wizhelp
|
||||
man/man6/falconseye.6
|
||||
man/man6/frecover.6
|
||||
@mode 2555
|
||||
lib/falconseyedir/falconseye
|
||||
@exec chmod 775 %B
|
||||
@exec install -g games -m 0664 /dev/null %B/logfile
|
||||
@exec install -g games -m 0664 /dev/null %B/perm
|
||||
@exec install -g games -m 0664 /dev/null %B/record
|
||||
@unexec rm -f %B/logfile %B/perm %B/record %B/jtp_log.txt
|
||||
@exec install -d -g games -m 0575 %B/save
|
||||
@unexec rm -rf %B/save
|
||||
@dirrm lib/falconseyedir/sound
|
||||
@dirrm lib/falconseyedir/manual
|
||||
@dirrm lib/falconseyedir/graphics
|
||||
@dirrm lib/falconseyedir/config
|
||||
@dirrm lib/falconseyedir
|
Loading…
Reference in New Issue
Block a user