1diff -Naur a/debian/changelog b/debian/changelog 2--- a/debian/changelog 1970-01-01 01:00:00.000000000 +0100 3+++ b/debian/changelog 2011-03-26 01:44:37.906251007 +0100 4@@ -0,0 +1,13 @@ 5+vulture (2.2.100-1) unstable; urgency=low 6+ 7+ * trivial adjustments to include support for UnNetHack 8+ 9+ -- Daniel Thaler <daniel@dthaler.de> Fri, 25 Mar 2011 17:05:00 +0100 10+ 11+vulture (2.1.90-1) unstable; urgency=low 12+ 13+ * Built the initial package for vulture using heavy-handed copying of large parts of the debian/ 14+ directory in the falconseye package. 15+ 16+ -- Daniel Thaler <daniel@dthaler.de> Wed, 2 Apr 2008 16:16:16 +0200 17+ 18diff -Naur a/debian/compat b/debian/compat 19--- a/debian/compat 1970-01-01 01:00:00.000000000 +0100 20+++ b/debian/compat 2011-03-26 01:44:37.906251007 +0100 21@@ -0,0 +1 @@ 22+5 23diff -Naur a/debian/control b/debian/control 24--- a/debian/control 1970-01-01 01:00:00.000000000 +0100 25+++ b/debian/control 2011-03-26 01:44:37.906251007 +0100 26@@ -0,0 +1,61 @@ 27+Source: vulture 28+Section: games 29+Priority: optional 30+Maintainer: Daniel Thaler <daniel@dthaler.de> 31+Build-Depends: debhelper (>= 5.0.0), libsdl1.2-dev (>= 1.2.3+cvs20020303-1), libncurses5-dev, bison, bsdmainutils, groff-base, flex, libpng12-dev, libsdl-mixer1.2-dev, libsdl-ttf2.0-dev 32+Standards-Version: 3.6.2 33+ 34+Package: vulture-nethack 35+Architecture: any 36+Depends: vulture-data (>= 2.2.100), ${shlibs:Depends} 37+Replaces: falconseye 38+Description: A port of NetHack using SDL 39+ Vulture for NetHack is a mouse-driven interface for NetHack that enhances the visuals, 40+ audio and accessibility of the game, yet retains all the original gameplay and 41+ game features. 42+ . 43+ NetHack is a single player dungeon exploration game that runs on a wide variety 44+ of computer systems, with a variety of graphical and text interfaces all using 45+ the same game engine. Unlike many other Dungeons & Dragons-inspired games, the 46+ emphasis in NetHack is on discovering the detail of the dungeon and not simply 47+ killing everything in sight - in fact, killing everything in sight is a good 48+ way to die quickly. Each game presents a different landscape - the random 49+ number generator provides an essentially unlimited number of variations of the 50+ dungeon and its denizens to be discovered by the player in one of a number of 51+ characters: you can pick your race, your role, and your gender. 52+ 53+Package: vulture-slashem 54+Architecture: any 55+Depends: vulture-data (>= 2.2.100), ${shlibs:Depends} 56+Description: A port of SLASH'em using SDL 57+ Vulture for Slash'EM is a mouse-driven interface for SLASH'em that enhances the visuals, 58+ audio and accessibility of the game, yet retains all the original gameplay and 59+ game features. 60+ 61+ 62+Package: vulture-unnethack 63+Architecture: any 64+Depends: vulture-data (>= 2.2.100), ${shlibs:Depends} 65+Description: Play UnNetHack using the Vulture UI 66+ Vulture for UnNetHack is a mouse-driven interface that enhances the visuals, 67+ audio and accessibility of the game, yet retains all the original gameplay and 68+ game features. 69+ 70+ 71+Package: vulture-data 72+Architecture: all 73+Description: Data files for Vulture-NetHack, Vulture-SlashEM and Vulture-UnNetHack 74+ Vulture for NetHack and Vulture for Slash'EM are mouse-driven interfaces for NetHack and SLASH'em 75+ that enhance the visuals, audio and accessibility of the game, yet retain all the 76+ original gameplay and game features. 77+ . 78+ NetHack is a single player dungeon exploration game that runs on a wide variety 79+ of computer systems, with a variety of graphical and text interfaces all using 80+ the same game engine. Unlike many other Dungeons & Dragons-inspired games, the 81+ emphasis in NetHack is on discovering the detail of the dungeon and not simply 82+ killing everything in sight - in fact, killing everything in sight is a good 83+ way to die quickly. Each game presents a different landscape - the random 84+ number generator provides an essentially unlimited number of variations of the 85+ dungeon and its denizens to be discovered by the player in one of a number of 86+ characters: you can pick your race, your role, and your gender. 87+ 88diff -Naur a/debian/copyright b/debian/copyright 89--- a/debian/copyright 1970-01-01 01:00:00.000000000 +0100 90+++ b/debian/copyright 2011-03-26 01:44:37.906251007 +0100 91@@ -0,0 +1,109 @@ 92+This package was debianized by Daniel Thaler <daniel@dthaler.de> on 93+Wed, 2 Apr 2008 16:16:16 +0200. 94+(based on the falconseye package by Jonathan Hseu <vomjom@debian.org>) 95+ 96+It was downloaded from http://darkarts.co.za/project/vulture/download/ 97+ 98+Upstream Authors: 99+ Daniel Thaler <daniel@dthaler.de> 100+ Clive Crous <clive@crous.co.za> 101+ Jaakko Peltonen <jaakko dot peltonen at hut dot fi> 102+ 103+Copyright: 104+ 105+ NETHACK GENERAL PUBLIC LICENSE 106+ (Copyright 1989 M. Stephenson) 107+. 108+ (Based on the BISON general public license, 109+ copyright 1988 Richard M. Stallman) 110+ 111+ Everyone is permitted to copy and distribute verbatim copies of this 112+ license, but changing it is not allowed. You can also use this wording to 113+ make the terms for other programs. 114+ 115+ The license agreements of most software companies keep you at the mercy of 116+those companies. By contrast, our general public license is intended to give 117+everyone the right to share NetHack. To make sure that you get the rights we 118+want you to have, we need to make restrictions that forbid anyone to deny you 119+these rights or to ask you to surrender the rights. Hence this license 120+agreement. 121+ 122+ Specifically, we want to make sure that you have the right to give away 123+copies of NetHack, that you receive source code or else can get it if you 124+want it, that you can change NetHack or use pieces of it in new free 125+programs, and that you know you can do these things. 126+ 127+ To make sure that everyone has such rights, we have to forbid you to 128+deprive anyone else of these rights. For example, if you distribute copies 129+of NetHack, you must give the recipients all the rights that you have. You 130+must make sure that they, too, receive or can get the source code. And you 131+must tell them their rights. 132+ 133+ Also, for our own protection, we must make certain that everyone finds out 134+that there is no warranty for NetHack. If NetHack is modified by someone 135+else and passed on, we want its recipients to know that what they have is 136+not what we distributed. 137+ 138+ Therefore we (Mike Stephenson and other holders of NetHack copyrights) make 139+the following terms which say what you must do to be allowed to distribute or 140+change NetHack. 141+ 142+ 143+ COPYING POLICIES 144+ 145+ 1. You may copy and distribute verbatim copies of NetHack source code as 146+you receive it, in any medium, provided that you keep intact the notices on 147+all files that refer to copyrights, to this License Agreement, and to the 148+absence of any warranty; and give any other recipients of the NetHack 149+program a copy of this License Agreement along with the program. 150+ 151+ 2. You may modify your copy or copies of NetHack or any portion of it, and 152+copy and distribute such modifications under the terms of Paragraph 1 above 153+(including distributing this License Agreement), provided that you also do the 154+following: 155+ 156+ a) cause the modified files to carry prominent notices stating that you 157+ changed the files and the date of any change; and 158+ 159+ b) cause the whole of any work that you distribute or publish, that in 160+ whole or in part contains or is a derivative of NetHack or any part 161+ thereof, to be licensed at no charge to all third parties on terms 162+ identical to those contained in this License Agreement (except that you 163+ may choose to grant more extensive warranty protection to some or all 164+ third parties, at your option) 165+ 166+ c) You may charge a distribution fee for the physical act of 167+ transferring a copy, and you may at your option offer warranty protection 168+ in exchange for a fee. 169+ 170+ 3. You may copy and distribute NetHack (or a portion or derivative of it, 171+under Paragraph 2) in object code or executable form under the terms of 172+Paragraphs 1 and 2 above provided that you also do one of the following: 173+ 174+ a) accompany it with the complete machine-readable source code, which 175+ must be distributed under the terms of Paragraphs 1 and 2 above; or, 176+ 177+ b) accompany it with full information as to how to obtain the complete 178+ machine-readable source code from an appropriate archive site. (This 179+ alternative is allowed only for noncommercial distribution.) 180+ 181+For these purposes, complete source code means either the full source 182+distribution as originally released over Usenet or updated copies of the 183+files in this distribution used to create the object code or executable. 184+ 185+ 4. You may not copy, sublicense, distribute or transfer NetHack except as 186+expressly provided under this License Agreement. Any attempt otherwise to 187+copy, sublicense, distribute or transfer NetHack is void and your rights to 188+use the program under this License agreement shall be automatically 189+terminated. However, parties who have received computer software programs 190+from you with this License Agreement will not have their licenses terminated 191+so long as such parties remain in full compliance. 192+ 193+ 194+Stated plainly: You are permitted to modify NetHack, or otherwise use parts 195+of NetHack, provided that you comply with the conditions specified above; 196+in particular, your modified NetHack or program containing parts of NetHack 197+must remain freely available as provided in this License Agreement. In 198+other words, go ahead and share NetHack, but don't try to stop anyone else 199+from sharing it farther. 200+ 201diff -Naur a/debian/README.Debian b/debian/README.Debian 202--- a/debian/README.Debian 1970-01-01 01:00:00.000000000 +0100 203+++ b/debian/README.Debian 2011-03-26 01:44:37.906251007 +0100 204@@ -0,0 +1,13 @@ 205+vulture for Debian 206+--------------------- 207+ 208+NetHack is one of the oldest computer role-playing games still played and 209+developed. The latest version of the game, NetHack 3.4.3, was released in December 210+2003. 211+ 212+Vulture for NetHack is a mouse-driven interface for NetHack that enhances the visuals, 213+audio and accessibility of the game, yet retains all the original gameplay and 214+game features. 215+Vulture for Slash'EM is the same interface running on the SLASH'em core. 216+ 217+ -- Jonathan Hseu <vomjom@debian.org>, Sat, 23 Jun 2001 16:16:49 -0500 218diff -Naur a/debian/rules b/debian/rules 219--- a/debian/rules 1970-01-01 01:00:00.000000000 +0100 220+++ b/debian/rules 2011-03-26 01:44:37.906251007 +0100 221@@ -0,0 +1,255 @@ 222+#!/usr/bin/make -f 223+# Sample debian/rules that uses debhelper. 224+# GNU copyright 1997 to 1999 by Joey Hess. 225+# 226+# Modified to make a template file for a multi-binary package with separated 227+# build-arch and build-indep targets by Bill Allombert 2001 228+ 229+# Uncomment this to turn on verbose mode. 230+export DH_VERBOSE=0 231+ 232+# This has to be exported to make some magic below work. 233+export DH_OPTIONS 234+ 235+#DPKG_ARCH# 236+ 237+CFLAGS = -Wall -g 238+ 239+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) 240+ CFLAGS += -O0 241+else 242+ CFLAGS += -O2 243+endif 244+ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) 245+ INSTALL_PROGRAM += -s 246+endif 247+ 248+#CONFIGURE# 249+ 250+#Architecture 251+build: build-arch build-indep 252+ 253+build-arch: build-arch-stamp 254+build-arch-stamp: #CONFIGURE_STAMP# #CONFIG_STATUS# 255+ 256+ # build vulture-nethack 257+ cd nethack && sh sys/unix/setup.sh 1 258+ -@cd nethack/win && ln -s ../../vulture/ vulture 259+ $(MAKE) -C nethack all 260+ 261+ # build vulture-slashem 262+ cd slashem && sh sys/unix/setup.sh 1 263+ -@cd slashem/win && ln -s ../../vulture/ vulture 264+ $(MAKE) -C slashem all 265+ 266+ # build vulture-unnethack 267+ cd unnethack && sh sys/unix/setup.sh 1 268+ -@cd unnethack/win && ln -s ../../vulture/ vulture 269+ $(MAKE) -C unnethack all 270+ 271+build-indep: build-indep-stamp 272+build-indep-stamp: #CONFIGURE_STAMP# #CONFIG_STATUS# 273+ 274+ # Add here commands to compile the indep part of the package. 275+ #$(MAKE) doc 276+ 277+clean: 278+ dh_testdir 279+ dh_testroot 280+ rm -f build-arch-stamp build-indep-stamp config-stamp 281+ 282+ # Add here commands to clean up after the build process. 283+ -$(MAKE) -C nethack spotless 284+ -$(MAKE) -C slashem spotless 285+ -$(MAKE) -C unnethack spotless 286+ -find nethack/ -name Makefile -print0 | xargs -r -0 rm 287+ -find slashem/ -name Makefile -print0 | xargs -r -0 rm 288+ -find unnethack/ -name Makefile -print0 | xargs -r -0 rm 289+ -@rm -f nethack/win/vulture slashem/win/vulture unnethack/win/vulture 290+ 291+ # this file may be created during parallel make, remove it 292+ -@rm -f vulture/vulture 293+ 294+ dh_clean 295+ 296+install: install-indep install-arch 297+ 298+install-indep: 299+ dh_testdir 300+ dh_testroot 301+ dh_clean -k -i 302+ dh_installdirs -i 303+ 304+ # Add here commands to install the indep part of the package into 305+ # debian/<package>-doc. 306+ #INSTALLDOC# 307+ 308+ for file in vulture_intro.txt vulture_tiles.conf vulture_sounds.conf vulture.conf; \ 309+ do \ 310+ install -m 0644 -o root -g root vulture/gamedata/config/$$file \ 311+ debian/vulture-data/usr/share/games/vulture/config/; \ 312+ done 313+ 314+ install -m 0644 -o root -g root vulture/gamedata/tiles/* \ 315+ debian/vulture-data/usr/share/games/vulture/tiles/ 316+ 317+ install -m 0644 -o root -g root vulture/gamedata/graphics/* \ 318+ debian/vulture-data/usr/share/games/vulture/graphics/ 319+ 320+ install -m 0644 -o root -g root vulture/gamedata/music/* \ 321+ debian/vulture-data/usr/share/games/vulture/music/ 322+ 323+ install -m 0644 -o root -g root vulture/gamedata/sound/*.ogg \ 324+ debian/vulture-data/usr/share/games/vulture/sound/ 325+ 326+ install -m 0644 -o root -g root vulture/gamedata/fonts/* \ 327+ debian/vulture-data/usr/share/games/vulture/fonts/ 328+ 329+ install -m 644 -o root -g root vulture/gamedata/manual/*.* \ 330+ debian/vulture-data/usr/share/doc/vulture/manual/ 331+ 332+ install -m 644 -o root -g root vulture/gamedata/manual/img/* \ 333+ debian/vulture-data/usr/share/doc/vulture/manual/img/ 334+ 335+ # Symlink all files just installed to /usr/lib so that vulture, 336+ # which has not been modified to look in /usr/share for any of its 337+ # files, will still find them. This symlinking is easier than 338+ # actually patching the source, since vulture expects to find 339+ # all its support files in one directory. 340+ 341+ for x in debian/vulture-data/usr/share/games/vulture/*; do \ 342+ ln -s /usr/share/games/vulture/`basename $$x` \ 343+ debian/vulture-data/usr/lib/games/vulture-nethack/; \ 344+ ln -s /usr/share/games/vulture/`basename $$x` \ 345+ debian/vulture-data/usr/lib/games/vulture-slashem/; \ 346+ ln -s /usr/share/games/vulture/`basename $$x` \ 347+ debian/vulture-data/usr/lib/games/vulture-unnethack/; \ 348+ done 349+ 350+install-arch: 351+ dh_testdir 352+ dh_testroot 353+ dh_clean -k -a 354+ dh_installdirs -a 355+ 356+ # Add here commands to install the arch part of the package into 357+ # debian/tmp. 358+ #INSTALL# 359+ 360+ #install vulture-nethack 361+ chgrp -R games debian/vulture-nethack/var/games/vulture-nethack 362+ chmod -R 770 debian/vulture-nethack/var/games/vulture-nethack 363+ 364+ for file in license nhdat; \ 365+ do \ 366+ install -m 0644 -o root -g root nethack/dat/$$file \ 367+ debian/vulture-nethack/usr/lib/games/vulture-nethack/; \ 368+ done 369+ 370+ install -m 2755 -o root -g games debian/vulture-nethack.sh \ 371+ debian/vulture-nethack/usr/games/vulture-nethack 372+ 373+ install -m 2755 -o root -g games nethack/src/vulture-nethack \ 374+ debian/vulture-nethack/usr/lib/games/vulture-nethack/vulture-nethack 375+ 376+ install -m 755 -o root -g root nethack/util/recover \ 377+ debian/vulture-nethack/usr/lib/games/vulture-nethack/recover 378+ 379+ install -m 644 -o root -g root debian/vulture-nethackrc \ 380+ debian/vulture-nethack/etc/vulture/vulture-nethackrc 381+ 382+ #install -m 644 -o root -g root vulture/gamedata/nh_icon.png \ 383+ # debian/vulture-nethack/usr/share/pixmaps/vulture-nethack.png 384+ 385+ install -m 644 debian/vulture-nethack.desktop \ 386+ debian/vulture-nethack/usr/share/applications 387+ 388+ 389+ #install vulture-slashem 390+ chgrp -R games debian/vulture-slashem/var/games/vulture-slashem 391+ chmod -R 770 debian/vulture-slashem/var/games/vulture-slashem 392+ 393+ for file in license nhshare nhushare; \ 394+ do \ 395+ install -m 0644 -o root -g root slashem/dat/$$file \ 396+ debian/vulture-slashem/usr/lib/games/vulture-slashem/; \ 397+ done 398+ 399+ install -m 2755 -o root -g games debian/vulture-slashem.sh \ 400+ debian/vulture-slashem/usr/games/vulture-slashem 401+ 402+ install -m 2755 -o root -g games slashem/src/vulture-slashem \ 403+ debian/vulture-slashem/usr/lib/games/vulture-slashem/vulture-slashem 404+ 405+ install -m 755 -o root -g root slashem/util/recover \ 406+ debian/vulture-slashem/usr/lib/games/vulture-slashem/recover 407+ 408+ install -m 644 -o root -g root debian/vulture-slashemrc \ 409+ debian/vulture-slashem/etc/vulture/vulture-slashemrc 410+ 411+ #install -m 644 -o root -g root vulture/gamedata/se_icon.png \ 412+ # debian/vulture-slashem/usr/share/pixmaps/vulture-slashem.png 413+ 414+ install -m 644 debian/vulture-slashem.desktop \ 415+ debian/vulture-slashem/usr/share/applications 416+ 417+ 418+ #install vulture-unnethack 419+ chgrp -R games debian/vulture-unnethack/var/games/vulture-unnethack 420+ chmod -R 770 debian/vulture-unnethack/var/games/vulture-unnethack 421+ 422+ for file in license nhdat; \ 423+ do \ 424+ install -m 0644 -o root -g root unnethack/dat/$$file \ 425+ debian/vulture-unnethack/usr/lib/games/vulture-unnethack/; \ 426+ done 427+ 428+ install -m 2755 -o root -g games debian/vulture-unnethack.sh \ 429+ debian/vulture-unnethack/usr/games/vulture-unnethack 430+ 431+ install -m 2755 -o root -g games unnethack/src/vulture-unnethack \ 432+ debian/vulture-unnethack/usr/lib/games/vulture-unnethack/vulture-unnethack 433+ 434+ install -m 755 -o root -g root unnethack/util/recover \ 435+ debian/vulture-unnethack/usr/lib/games/vulture-unnethack/recover 436+ 437+ install -m 644 -o root -g root debian/vulture-unnethackrc \ 438+ debian/vulture-unnethack/etc/vulture/vulture-unnethackrc 439+ 440+ #install -m 644 -o root -g root vulture/gamedata/se_icon.png \ 441+ # debian/vulture-unnethack/usr/share/pixmaps/vulture-unnethack.png 442+ 443+ install -m 644 debian/vulture-unnethack.desktop \ 444+ debian/vulture-unnethack/usr/share/applications 445+ 446+# Must not depend on anything. This is to be called by 447+# binary-arch/binary-multi 448+# in another 'make' thread. 449+binary-common: 450+ dh_testdir 451+ dh_testroot 452+# dh_installdebconf 453+ dh_installdocs 454+ dh_installman 455+ dh_installmenu 456+ dh_installchangelogs #CHANGELOGS# 457+ dh_link 458+ dh_strip 459+ dh_compress 460+# dh_fixperms -Xvulture 461+ dh_installdeb 462+ dh_shlibdeps 463+# dh_perl 464+ dh_gencontrol 465+ dh_md5sums 466+ dh_builddeb 467+# Build architecture independant packages using the common target. 468+binary-indep: build-indep install-indep 469+ $(MAKE) -f debian/rules DH_OPTIONS=-i binary-common 470+ 471+# Build architecture dependant packages using the common target. 472+binary-arch: build-arch install-arch 473+ $(MAKE) -f debian/rules DH_OPTIONS=-a binary-common 474+ 475+binary: binary-arch binary-indep 476+.PHONY: build clean binary-indep binary-arch binary install install-indep install-arch #PHONY_CONFIGURE# 477diff -Naur a/debian/vulture-data.dirs b/debian/vulture-data.dirs 478--- a/debian/vulture-data.dirs 1970-01-01 01:00:00.000000000 +0100 479+++ b/debian/vulture-data.dirs 2011-03-26 01:44:37.906251007 +0100 480@@ -0,0 +1,13 @@ 481+usr/lib/games/vulture-nethack 482+usr/lib/games/vulture-slashem 483+usr/lib/games/vulture-unnethack 484+usr/share/games/vulture 485+usr/share/games/vulture/config 486+usr/share/games/vulture/graphics 487+usr/share/games/vulture/music 488+usr/share/games/vulture/sound 489+usr/share/games/vulture/tiles 490+usr/share/games/vulture/fonts 491+usr/share/doc/vulture/manual 492+usr/share/doc/vulture/manual/img 493+usr/share/applications 494diff -Naur a/debian/vulture-nethack.6 b/debian/vulture-nethack.6 495--- a/debian/vulture-nethack.6 1970-01-01 01:00:00.000000000 +0100 496+++ b/debian/vulture-nethack.6 2011-03-26 01:44:37.906251007 +0100 497@@ -0,0 +1,87 @@ 498+.TH VULTURE-NETHACK 6 "March 2011" 499+.SH NAME 500+vulture-nethack \- play NetHack using a mouse-driven isometric graphical interface 501+.SH SYNOPSIS 502+.B vulture-nethack 503+[-d \fIdirectory\fR] [-n] [-p \fIprofession (role)\fR] [-r \fIrace\fR] [-D] [-X] [-u \fIplayername\fR] 504+ 505+.B vulture-nethack 506+[-d \fIdirectory\fR] -s [-v] [-p \fIprofession (role)\fR] [-r \fIrace\fR] [\fIplayer_name\fR] [\fIOPTION\fR] 507+ 508+.SH DESCRIPTION 509+Vulture 2.2.100 is an enhanced, highly graphical window port (user 510+interface) for NetHack. It adds a lot of eye candy and multimedia to the 511+game while keeping the original gameplay of NetHack. 512+ 513+Here's a brief list of features: 514+ 515+High-res, 32-bit isometric graphics with real-time lighting 516+ 517+Customizable digitized sound effects 518+ 519+Symphonic soundtracks 520+ 521+Mouse-driven interface (keyboard play also works) 522+ 523+HTML manual 524+ 525+Command-line options are the same as NetHack: 526+ 527+.TP 528+\fB\-d\fR \fIdirectory\fR 529+Use the given directory as the playground. Help files, top scorers and saved games are stored in this directory. 530+This must be the first argument, if specified. 531+.TP 532+\fB\-n\fR 533+Suppress news from the administrator. 534+.TP 535+\fB\-p\fR \fIprofession\fR 536+Set your character's profession. 537+.TP 538+\fB\-r\fR \fIrace\fR 539+Set your character's race. 540+.TP 541+\fB\-D\fR 542+Start the game in wizard mode. You cannot switch to a normal game while 543+wizard mode is active, and your score will not be listed in the top scores. 544+You need to be root to enter wizard mode. Normal users will get explore mode instead. 545+.TP 546+\fB\-X\fR 547+Start the game in explore mode. You cannot switch to a normal game while 548+explore mode is active, and your score will not be listed in the top scores. 549+.TP 550+\fB\-u\fR \fIplayer_name\fR 551+Set your character's name. 552+.TP 553+\fB\-s\fR 554+Display top scores for the current version of NetHack, filtered by 555+professions, races or player names if specified. 556+.TP 557+\fB\-v\fR 558+Display top scores for all versions. Should immediately follow \fB-s\fR. 559+ 560+.SH "AUTHORS" 561+ 562+Daniel Thaler, <daniel@dthaler.de> 563+ 564+Clive Crous, <clive@crous.co.za> 565+ 566+Based on Falcon's Eye by: 567+Jaakko Peltonen, <jaakko dot peltonen at hut dot fi> 568+ 569+.SH "REPORTING BUGS" 570+ 571+Report Vulture-specific bugs on track.darkarts.co.za and 572+NetHack bugs to <nethack-bugs@nethack.org>. 573+ 574+.SH "SEE ALSO" 575+ 576+NetHack is documented in \fBnethack(6)\fR. 577+ 578+The full documentation for Vulture is maintained in HTML at 579+/usr/share/doc/vulture/manual/index.html 580+ 581+The Vulture project page is http://darkarts.co.za/project/vulture 582+ 583+The NetHack project page is http://www.nethack.org 584+ 585diff -Naur a/debian/vulture-nethack.desktop b/debian/vulture-nethack.desktop 586--- a/debian/vulture-nethack.desktop 1970-01-01 01:00:00.000000000 +0100 587+++ b/debian/vulture-nethack.desktop 2011-03-26 01:44:37.906251007 +0100 588@@ -0,0 +1,11 @@ 589+[Desktop Entry] 590+Type=Application 591+Encoding=UTF-8 592+Name=Vulture-Nethack 593+GenericName= 594+Comment=Dungeons and dragons inspired role play game 595+Comment[de_DE]=Rollenspiel im Sinne von Dungeons und Dragons 596+Icon=vulture-nethack.png 597+Exec=/usr/games/vulture-nethack 598+Terminal=false 599+Categories=Application;Game; 600diff -Naur a/debian/vulture-nethack.dirs b/debian/vulture-nethack.dirs 601--- a/debian/vulture-nethack.dirs 1970-01-01 01:00:00.000000000 +0100 602+++ b/debian/vulture-nethack.dirs 2011-03-26 01:44:37.906251007 +0100 603@@ -0,0 +1,6 @@ 604+usr/games 605+var/games/vulture-nethack/save 606+usr/lib/games/vulture-nethack 607+etc/vulture 608+usr/share/pixmaps 609+usr/share/applications 610diff -Naur a/debian/vulture-nethack.manpages b/debian/vulture-nethack.manpages 611--- a/debian/vulture-nethack.manpages 1970-01-01 01:00:00.000000000 +0100 612+++ b/debian/vulture-nethack.manpages 2011-03-26 01:44:37.906251007 +0100 613@@ -0,0 +1 @@ 614+debian/vulture-nethack.6 615diff -Naur a/debian/vulture-nethack.menu b/debian/vulture-nethack.menu 616--- a/debian/vulture-nethack.menu 1970-01-01 01:00:00.000000000 +0100 617+++ b/debian/vulture-nethack.menu 2011-03-26 01:44:37.910249007 +0100 618@@ -0,0 +1,4 @@ 619+?package(vulture-nethack):needs="X11" section="Games/Adventure"\ 620+ title="Vulture's Eye" \ 621+ icon="/usr/share/pixmaps/vulture-nethack.png" \ 622+ command="/usr/games/vulture-nethack" 623diff -Naur a/debian/vulture-nethack.postinst b/debian/vulture-nethack.postinst 624--- a/debian/vulture-nethack.postinst 1970-01-01 01:00:00.000000000 +0100 625+++ b/debian/vulture-nethack.postinst 2011-03-26 01:44:37.910249007 +0100 626@@ -0,0 +1,56 @@ 627+#! /bin/sh 628+# postinst script for vulture 629+# 630+# see: dh_installdeb(1) 631+ 632+set -e 633+ 634+# summary of how this script can be called: 635+# * <postinst> `configure' <most-recently-configured-version> 636+# * <old-postinst> `abort-upgrade' <new version> 637+# * <conflictor's-postinst> `abort-remove' `in-favour' <package> 638+# <new-version> 639+# * <deconfigured's-postinst> `abort-deconfigure' `in-favour' 640+# <failed-install-package> <version> `removing' 641+# <conflicting-package> <version> 642+# for details, see /usr/share/doc/packaging-manual/ 643+# 644+# quoting from the policy: 645+# Any necessary prompting should almost always be confined to the 646+# post-installation script, and should be protected with a conditional 647+# so that unnecessary prompting doesn't happen if a package's 648+# installation fails and the `postinst' is called with `abort-upgrade', 649+# `abort-remove' or `abort-deconfigure'. 650+ 651+case "$1" in 652+ configure) 653+ 654+ ;; 655+ 656+ abort-upgrade|abort-remove|abort-deconfigure) 657+ 658+ ;; 659+ 660+ *) 661+ echo "postinst called with unknown argument \`$1'" >&2 662+ exit 0 663+ ;; 664+esac 665+ 666+for file in vulture_log.txt logfile perm record; \ 667+do \ 668+ if [ ! -f /var/games/vulture-nethack/$file ]; then 669+ touch /var/games/vulture-nethack/$file 670+ chown root:games /var/games/vulture-nethack/$file 671+ chmod 664 /var/games/vulture-nethack/$file 672+ fi; \ 673+done 674+ 675+# dh_installdeb will replace this with shell code automatically 676+# generated by other debhelper scripts. 677+ 678+#DEBHELPER# 679+ 680+exit 0 681+ 682+ 683diff -Naur a/debian/vulture-nethack.postrm b/debian/vulture-nethack.postrm 684--- a/debian/vulture-nethack.postrm 1970-01-01 01:00:00.000000000 +0100 685+++ b/debian/vulture-nethack.postrm 2011-03-26 01:44:37.910249007 +0100 686@@ -0,0 +1,42 @@ 687+#! /bin/sh 688+# postrm script for vulture 689+# 690+# see: dh_installdeb(1) 691+ 692+set -e 693+ 694+# summary of how this script can be called: 695+# * <postrm> `remove' 696+# * <postrm> `purge' 697+# * <old-postrm> `upgrade' <new-version> 698+# * <new-postrm> `failed-upgrade' <old-version> 699+# * <new-postrm> `abort-install' 700+# * <new-postrm> `abort-install' <old-version> 701+# * <new-postrm> `abort-upgrade' <old-version> 702+# * <disappearer's-postrm> `disappear' <r>overwrit>r> <new-version> 703+# for details, see /usr/share/doc/packaging-manual/ 704+ 705+case "$1" in 706+ purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) 707+ 708+ 709+ ;; 710+ 711+ *) 712+ echo "postrm called with unknown argument \`$1'" >&2 713+ exit 0 714+ 715+esac 716+ 717+if [ "$1" = "purge" ]; then 718+ echo -n "Purging high-scores and save-files for vulture-nethack... " 719+ rm -rf /var/games/vulture-nethack/ 720+ echo "done." 721+fi 722+ 723+# dh_installdeb will replace this with shell code automatically 724+# generated by other debhelper scripts. 725+ 726+#DEBHELPER# 727+ 728+ 729diff -Naur a/debian/vulture-nethackrc b/debian/vulture-nethackrc 730--- a/debian/vulture-nethackrc 1970-01-01 01:00:00.000000000 +0100 731+++ b/debian/vulture-nethackrc 2011-03-26 01:44:37.910249007 +0100 732@@ -0,0 +1,52 @@ 733+# A '#' at the beginning of a line means the rest of the line is a comment. 734+# 735+# Some options MUST be set in this file, other options can be toggled while 736+# playing. For a list of options available see the <opthelp.> file. 737+# 738+# If you want to customize the configuration, you should copy this file 739+# (/etc/vulture/vulture-nethackrc) to ~/.vulture-nethackrc and modify that 740+# 741+# To change the configuration, comment out the unwanted lines, and 742+# uncomment the configuration you want. 743+ 744+# Use the vulture window port 745+OPTIONS=windowtype:vulture 746+ 747+# *** OPTIONS *** 748+# Some options to set personal preferences. Uncomment and change these to 749+# suit your personal preference. If several people are to use the same 750+# configuration, options like these should not be set. 751+# 752+#OPTIONS=name:Janet,role:Valkyrie,race:Human,gender:female,align:lawful 753+#OPTIONS=dogname:Fido,catname:Morris,fruit:guava 754+#OPTIONS=horsename:Silver 755+#OPTIONS=autopickup,pickup_types:$"=/!?+ 756+#OPTIONS=packorder:")[%?+/=!(*0_` 757+#OPTIONS=scores:10 top/2 around/own 758+#OPTIONS=nolegacy,noverbose 759+ 760+# verbose help messages make no sense for vulture 761+OPTIONS=noverbose 762+ 763+OPTIONS=toptenwin 764+ 765+# 766+# General options. You might also set "silent" so as not to attract 767+# the boss's attention. 768+OPTIONS=time,number_pad,lit_corridor,rest_on_space,nomail 769+ 770+# If you want to get rid of "use #quit to quit..." use: 771+OPTIONS=suppress_alert:3.3.1 772+# 773+ 774+# 775+#HACKDIR=c:\games\nethack 776+# 777+# Note: Under MSDOS ports HACKDIR defaults to the location 778+# of the NetHack.exe file. Setting HACKDIR above will override that. 779+# 780+# LEVELS and SAVE default to HACKDIR 781+# 782+#LEVELS=c:\games\nethack\bones 783+#SAVE=c:\games\nethack\bones 784+ 785diff -Naur a/debian/vulture-nethack.sh b/debian/vulture-nethack.sh 786--- a/debian/vulture-nethack.sh 1970-01-01 01:00:00.000000000 +0100 787+++ b/debian/vulture-nethack.sh 2011-03-26 01:44:37.910249007 +0100 788@@ -0,0 +1,66 @@ 789+#!/bin/sh 790+# SCCS Id: @(#)nethack.sh 3.3 90/02/26 791+ 792+HACKDIR=/usr/lib/games/vulture-nethack 793+export HACKDIR 794+HACK=$HACKDIR/vulture-nethack 795+MAXNROFPLAYERS=4 796+if [ -f ~/.vulture-nethackrc ] 797+then 798+ NETHACKOPTIONS=~/.vulture-nethackrc 799+else 800+ NETHACKOPTIONS=/etc/vulture/vulture-nethackrc 801+fi 802+export NETHACKOPTIONS 803+ 804+# see if we can find the full path name of PAGER, so help files work properly 805+# assume that if someone sets up a special variable (HACKPAGER) for NetHack, 806+# it will already be in a form acceptable to NetHack 807+# ideas from brian@radio.astro.utoronto.ca 808+if test \( "xxx$PAGER" != xxx \) -a \( "xxx$HACKPAGER" = xxx \) 809+then 810+ 811+ HACKPAGER=$PAGER 812+ 813+# use only the first word of the pager variable 814+# this prevents problems when looking for file names with trailing 815+# options, but also makes the options unavailable for later use from 816+# NetHack 817+ for i in $HACKPAGER 818+ do 819+ HACKPAGER=$i 820+ break 821+ done 822+ 823+ if test ! -f $HACKPAGER 824+ then 825+ IFS=: 826+ for i in $PATH 827+ do 828+ if test -f $i/$HACKPAGER 829+ then 830+ HACKPAGER=$i/$HACKPAGER 831+ export HACKPAGER 832+ break 833+ fi 834+ done 835+ IFS=' ' 836+ fi 837+ if test ! -f $HACKPAGER 838+ then 839+ echo Cannot find $PAGER -- unsetting PAGER. 840+ unset HACKPAGER 841+ unset PAGER 842+ fi 843+fi 844+ 845+ 846+cd $HACKDIR 847+case $1 in 848+ -s*) 849+ exec $HACK "$@" 850+ ;; 851+ *) 852+ exec $HACK "$@" $MAXNROFPLAYERS 853+ ;; 854+esac 855diff -Naur a/debian/vulture-slashem.6 b/debian/vulture-slashem.6 856--- a/debian/vulture-slashem.6 1970-01-01 01:00:00.000000000 +0100 857+++ b/debian/vulture-slashem.6 2011-03-26 01:44:37.910249007 +0100 858@@ -0,0 +1,89 @@ 859+.TH VULTURE-SLASHEM 6 "March 2011" 860+.SH NAME 861+vulture-slashem \- play SLASH'em using a mouse-driven isometric graphical interface 862+.SH SYNOPSIS 863+.B vulture-slashem 864+[-d \fIdirectory\fR] [-n] [-p \fIprofession (role)\fR] [-r \fIrace\fR] [-D] [-X] [-u \fIplayername\fR] 865+ 866+.B vulture-slashem 867+[-d \fIdirectory\fR] -s [-v] [-p \fIprofession (role)\fR] [-r \fIrace\fR] [\fIplayer_name\fR] [\fIOPTION\fR] 868+ 869+.SH DESCRIPTION 870+Vulture 2.2.100 is an enhanced, highly graphical window port (user 871+interface) for SLASH'em. It adds a lot of eye candy and multimedia to the 872+game while keeping the original gameplay of SLASH'em. 873+ 874+Here's a brief list of features: 875+ 876+High-res, 32-bit isometric graphics with real-time lighting 877+ 878+Customizable digitized sound effects 879+ 880+Symphonic soundtracks 881+ 882+Mouse-driven interface (keyboard play also works) 883+ 884+HTML manual 885+ 886+Command-line options are the same as SLASH'em: 887+ 888+.TP 889+\fB\-d\fR \fIdirectory\fR 890+Use the given directory as the playground. Help files, top scorers and saved games are stored in this directory. 891+This must be the first argument, if specified. 892+.TP 893+\fB\-n\fR 894+Suppress news from the administrator. 895+.TP 896+\fB\-p\fR \fIprofession\fR 897+Set your character's profession. 898+.TP 899+\fB\-r\fR \fIrace\fR 900+Set your character's race. 901+.TP 902+\fB\-D\fR 903+Start the game in wizard mode. You cannot switch to a normal game while 904+wizard mode is active, and your score will not be listed in the top scores. 905+You need to be root to enter wizard mode. Normal users will get explore mode instead. 906+.TP 907+\fB\-X\fR 908+Start the game in explore mode. You cannot switch to a normal game while 909+explore mode is active, and your score will not be listed in the top scores. 910+.TP 911+\fB\-u\fR \fIplayer_name\fR 912+Set your character's name. 913+.TP 914+\fB\-s\fR 915+Display top scores for the current version of NetHack, filtered by 916+professions, races or player names if specified. 917+.TP 918+\fB\-v\fR 919+Display top scores for all versions. Should immediately follow \fB-s\fR. 920+ 921+.SH "AUTHORS" 922+ 923+Daniel Thaler, <daniel@dthaler.de> 924+ 925+Clive Crous, <clive@crous.co.za> 926+ 927+Based on Falcon's Eye by: 928+Jaakko Peltonen, <jaakko dot peltonen at hut dot fi> 929+ 930+.SH "REPORTING BUGS" 931+ 932+Report Vulture-specific bugs to Clive Crous and 933+NetHack bugs to <nethack-bugs@nethack.org>. 934+ 935+.SH "SEE ALSO" 936+ 937+NetHack is documented in \fBnethack(6)\fR. 938+ 939+The full documentation for Vulture is maintained in HTML at 940+/usr/share/doc/vulture/manual/index.html 941+ 942+The Vulture project page is http://darkarts.co.za/project/vulture 943+ 944+The NetHack project page is http://www.nethack.org 945+ 946+The SLASH'em project page is http://www.slashem.org 947+ 948diff -Naur a/debian/vulture-slashem.desktop b/debian/vulture-slashem.desktop 949--- a/debian/vulture-slashem.desktop 1970-01-01 01:00:00.000000000 +0100 950+++ b/debian/vulture-slashem.desktop 2011-03-26 01:44:37.910249007 +0100 951@@ -0,0 +1,11 @@ 952+[Desktop Entry] 953+Type=Application 954+Encoding=UTF-8 955+Name=Vulture-SLASH'em 956+GenericName= 957+Comment=Dungeons and dragons inspired role play game 958+Comment[de_DE]=Rollenspiel im Sinne von Dungeons und Dragons 959+Icon=vulture-slashem.png 960+Exec=/usr/games/vulture-slashem 961+Terminal=false 962+Categories=Application;Game; 963diff -Naur a/debian/vulture-slashem.dirs b/debian/vulture-slashem.dirs 964--- a/debian/vulture-slashem.dirs 1970-01-01 01:00:00.000000000 +0100 965+++ b/debian/vulture-slashem.dirs 2011-03-26 01:44:37.910249007 +0100 966@@ -0,0 +1,6 @@ 967+usr/games 968+var/games/vulture-slashem/save 969+usr/lib/games/vulture-slashem 970+etc/vulture 971+usr/share/pixmaps 972+usr/share/applications 973diff -Naur a/debian/vulture-slashem.manpages b/debian/vulture-slashem.manpages 974--- a/debian/vulture-slashem.manpages 1970-01-01 01:00:00.000000000 +0100 975+++ b/debian/vulture-slashem.manpages 2011-03-26 01:44:37.910249007 +0100 976@@ -0,0 +1 @@ 977+debian/vulture-slashem.6 978diff -Naur a/debian/vulture-slashem.menu b/debian/vulture-slashem.menu 979--- a/debian/vulture-slashem.menu 1970-01-01 01:00:00.000000000 +0100 980+++ b/debian/vulture-slashem.menu 2011-03-26 01:44:37.910249007 +0100 981@@ -0,0 +1,4 @@ 982+?package(vulture-slashem):needs="X11" section="Games/Adventure"\ 983+ title="Vulture-SLASH'em" \ 984+ icon="/usr/share/pixmaps/vulture-slashem.png" \ 985+ command="/usr/games/vulture-slashem" 986diff -Naur a/debian/vulture-slashem.postinst b/debian/vulture-slashem.postinst 987--- a/debian/vulture-slashem.postinst 1970-01-01 01:00:00.000000000 +0100 988+++ b/debian/vulture-slashem.postinst 2011-03-26 01:44:37.910249007 +0100 989@@ -0,0 +1,56 @@ 990+#! /bin/sh 991+# postinst script for vulture 992+# 993+# see: dh_installdeb(1) 994+ 995+set -e 996+ 997+# summary of how this script can be called: 998+# * <postinst> `configure' <most-recently-configured-version> 999+# * <old-postinst> `abort-upgrade' <new version> 1000+# * <conflictor's-postinst> `abort-remove' `in-favour' <package> 1001+# <new-version> 1002+# * <deconfigured's-postinst> `abort-deconfigure' `in-favour' 1003+# <failed-install-package> <version> `removing' 1004+# <conflicting-package> <version> 1005+# for details, see /usr/share/doc/packaging-manual/ 1006+# 1007+# quoting from the policy: 1008+# Any necessary prompting should almost always be confined to the 1009+# post-installation script, and should be protected with a conditional 1010+# so that unnecessary prompting doesn't happen if a package's 1011+# installation fails and the `postinst' is called with `abort-upgrade', 1012+# `abort-remove' or `abort-deconfigure'. 1013+ 1014+case "$1" in 1015+ configure) 1016+ 1017+ ;; 1018+ 1019+ abort-upgrade|abort-remove|abort-deconfigure) 1020+ 1021+ ;; 1022+ 1023+ *) 1024+ echo "postinst called with unknown argument \`$1'" >&2 1025+ exit 0 1026+ ;; 1027+esac 1028+ 1029+for file in vulture_log.txt logfile perm record; \ 1030+do \ 1031+ if [ ! -f /var/games/vulture-slashem/$file ]; then 1032+ touch /var/games/vulture-slashem/$file 1033+ chown root:games /var/games/vulture-slashem/$file 1034+ chmod 664 /var/games/vulture-slashem/$file 1035+ fi; \ 1036+done 1037+ 1038+# dh_installdeb will replace this with shell code automatically 1039+# generated by other debhelper scripts. 1040+ 1041+#DEBHELPER# 1042+ 1043+exit 0 1044+ 1045+ 1046diff -Naur a/debian/vulture-slashem.postrm b/debian/vulture-slashem.postrm 1047--- a/debian/vulture-slashem.postrm 1970-01-01 01:00:00.000000000 +0100 1048+++ b/debian/vulture-slashem.postrm 2011-03-26 01:44:37.910249007 +0100 1049@@ -0,0 +1,42 @@ 1050+#! /bin/sh 1051+# postrm script for vulture 1052+# 1053+# see: dh_installdeb(1) 1054+ 1055+set -e 1056+ 1057+# summary of how this script can be called: 1058+# * <postrm> `remove' 1059+# * <postrm> `purge' 1060+# * <old-postrm> `upgrade' <new-version> 1061+# * <new-postrm> `failed-upgrade' <old-version> 1062+# * <new-postrm> `abort-install' 1063+# * <new-postrm> `abort-install' <old-version> 1064+# * <new-postrm> `abort-upgrade' <old-version> 1065+# * <disappearer's-postrm> `disappear' <r>overwrit>r> <new-version> 1066+# for details, see /usr/share/doc/packaging-manual/ 1067+ 1068+case "$1" in 1069+ purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) 1070+ 1071+ 1072+ ;; 1073+ 1074+ *) 1075+ echo "postrm called with unknown argument \`$1'" >&2 1076+ exit 0 1077+ 1078+esac 1079+ 1080+if [ "$1" = "purge" ]; then 1081+ echo -n "Purging high-scores and save-files for vulture-slashem... " 1082+ rm -rf /var/games/vulture-slashem/ 1083+ echo "done." 1084+fi 1085+ 1086+# dh_installdeb will replace this with shell code automatically 1087+# generated by other debhelper scripts. 1088+ 1089+#DEBHELPER# 1090+ 1091+ 1092diff -Naur a/debian/vulture-slashemrc b/debian/vulture-slashemrc 1093--- a/debian/vulture-slashemrc 1970-01-01 01:00:00.000000000 +0100 1094+++ b/debian/vulture-slashemrc 2011-03-26 01:44:37.910249007 +0100 1095@@ -0,0 +1,72 @@ 1096+# A '#' at the beginning of a line means the rest of the line is a comment. 1097+# 1098+# Some options MUST be set in this file, other options can be toggled while 1099+# playing. For a list of options available see the <opthelp.> file. 1100+# 1101+# If you want to customize the configuration, you should copy this file 1102+# (/etc/vulture/vulture-nethackrc) to ~/.vulture-nethackrc and modify that 1103+# 1104+# To change the configuration, comment out the unwanted lines, and 1105+# uncomment the configuration you want. 1106+ 1107+# Use the vulture window port 1108+OPTIONS=windowtype:vulture 1109+ 1110+# *** OPTIONS *** 1111+# Some options to set personal preferences. Uncomment and change these to 1112+# suit your personal preference. If several people are to use the same 1113+# configuration, options like these should not be set. 1114+# 1115+#OPTIONS=name:Janet,role:Valkyrie,race:Human,gender:female,align:lawful 1116+#OPTIONS=dogname:Fido,catname:Morris,fruit:guava 1117+#OPTIONS=horsename:Silver 1118+#OPTIONS=autopickup,pickup_types:$"=/!?+ 1119+#OPTIONS=packorder:")[%?+/=!(*0_` 1120+#OPTIONS=scores:10 top/2 around/own 1121+#OPTIONS=nolegacy,noverbose 1122+ 1123+# verbose help messages make no sense for vulture 1124+OPTIONS=noverbose 1125+ 1126+OPTIONS=toptenwin 1127+ 1128+# 1129+# General options. You might also set "silent" so as not to attract 1130+# the boss's attention. 1131+OPTIONS=time,number_pad:2,lit_corridor,rest_on_space,nomail 1132+ 1133+# *** LOCATIONS *** 1134+# IMPORTANT: If you change any of these locations, the directories they 1135+# point at must exist. NetHack will not create them for you. 1136+# 1137+# HACKDIR is the default location for everything. 1138+# Note: On Windows HACKDIR defaults to the location 1139+# of the NetHack.exe or NetHackw.exe file so 1140+# setting HACKDIR below to override that is 1141+# not usually necessary or recommended. 1142+#HACKDIR=c:\games\nethack 1143+# 1144+# The location that level files in progress are stored (default=HACKDIR, writeable) 1145+#LEVELDIR=c:\nethack\levels 1146+# 1147+# The location where saved games are kept (default=HACKDIR, writeable) 1148+#SAVEDIR=c:\nethack\save 1149+# 1150+# The location that bones files are kept (default=HACKDIR, writeable) 1151+#BONESDIR=c:\nethack\save 1152+# 1153+# The location that file synchronization locks are stored (default=HACKDIR, writeable) 1154+#LOCKDIR=c:\nethack\levels 1155+# 1156+# The location that a record of game aborts and self-diagnosed game problems 1157+# is kept (default=HACKDIR, writeable) 1158+#TROUBLEDIR=c:\nethack\trouble 1159+ 1160+# Finnish keyboards might need these modifications uncommented. 1161+# For \, @, $, [, | 1162+#OPTIONS=subkeyvalue:171/92 1163+#OPTIONS=subkeyvalue:178/64 1164+#OPTIONS=subkeyvalue:180/36 1165+#OPTIONS=subkeyvalue:184/91 1166+#OPTIONS=subkeyvalue:188/124 1167+ 1168diff -Naur a/debian/vulture-slashem.sh b/debian/vulture-slashem.sh 1169--- a/debian/vulture-slashem.sh 1970-01-01 01:00:00.000000000 +0100 1170+++ b/debian/vulture-slashem.sh 2011-03-26 01:44:37.910249007 +0100 1171@@ -0,0 +1,66 @@ 1172+#!/bin/sh 1173+# SCCS Id: @(#)nethack.sh 3.3 90/02/26 1174+ 1175+HACKDIR=/usr/lib/games/vulture-slashem 1176+export HACKDIR 1177+HACK=$HACKDIR/vulture-slashem 1178+MAXNROFPLAYERS=4 1179+if [ -f ~/.vulture-slashemrc ] 1180+then 1181+ NETHACKOPTIONS=~/.vulture-slashemrc 1182+else 1183+ NETHACKOPTIONS=/etc/vulture/vulture-slashemrc 1184+fi 1185+export NETHACKOPTIONS 1186+ 1187+# see if we can find the full path name of PAGER, so help files work properly 1188+# assume that if someone sets up a special variable (HACKPAGER) for NetHack, 1189+# it will already be in a form acceptable to NetHack 1190+# ideas from brian@radio.astro.utoronto.ca 1191+if test \( "xxx$PAGER" != xxx \) -a \( "xxx$HACKPAGER" = xxx \) 1192+then 1193+ 1194+ HACKPAGER=$PAGER 1195+ 1196+# use only the first word of the pager variable 1197+# this prevents problems when looking for file names with trailing 1198+# options, but also makes the options unavailable for later use from 1199+# NetHack 1200+ for i in $HACKPAGER 1201+ do 1202+ HACKPAGER=$i 1203+ break 1204+ done 1205+ 1206+ if test ! -f $HACKPAGER 1207+ then 1208+ IFS=: 1209+ for i in $PATH 1210+ do 1211+ if test -f $i/$HACKPAGER 1212+ then 1213+ HACKPAGER=$i/$HACKPAGER 1214+ export HACKPAGER 1215+ break 1216+ fi 1217+ done 1218+ IFS=' ' 1219+ fi 1220+ if test ! -f $HACKPAGER 1221+ then 1222+ echo Cannot find $PAGER -- unsetting PAGER. 1223+ unset HACKPAGER 1224+ unset PAGER 1225+ fi 1226+fi 1227+ 1228+ 1229+cd $HACKDIR 1230+case $1 in 1231+ -s*) 1232+ exec $HACK "$@" 1233+ ;; 1234+ *) 1235+ exec $HACK "$@" $MAXNROFPLAYERS 1236+ ;; 1237+esac 1238diff -Naur a/debian/vulture-unnethack.6 b/debian/vulture-unnethack.6 1239--- a/debian/vulture-unnethack.6 1970-01-01 01:00:00.000000000 +0100 1240+++ b/debian/vulture-unnethack.6 2011-03-26 01:44:37.910249007 +0100 1241@@ -0,0 +1,89 @@ 1242+.TH VULTURE-UNNETHACK 6 "March 2011" 1243+.SH NAME 1244+vulture-unnethack \- play unnethack using a mouse-driven isometric graphical interface 1245+.SH SYNOPSIS 1246+.B vulture-unnethack 1247+[-d \fIdirectory\fR] [-n] [-p \fIprofession (role)\fR] [-r \fIrace\fR] [-D] [-X] [-u \fIplayername\fR] 1248+ 1249+.B vulture-unnethack 1250+[-d \fIdirectory\fR] -s [-v] [-p \fIprofession (role)\fR] [-r \fIrace\fR] [\fIplayer_name\fR] [\fIOPTION\fR] 1251+ 1252+.SH DESCRIPTION 1253+Vulture 2.2.100 is an enhanced, highly graphical window port (user 1254+interface) for UnNetHack 3.5.3. It adds a lot of eye candy and multimedia to the 1255+game while keeping the original gameplay of UnNetHack. 1256+ 1257+Here's a brief list of features: 1258+ 1259+High-res, 32-bit isometric graphics with real-time lighting 1260+ 1261+Customizable digitized sound effects 1262+ 1263+Symphonic soundtracks 1264+ 1265+Mouse-driven interface (keyboard play also works) 1266+ 1267+HTML manual 1268+ 1269+Command-line options are the same as UnNetHack: 1270+ 1271+.TP 1272+\fB\-d\fR \fIdirectory\fR 1273+Use the given directory as the playground. Help files, top scorers and saved games are stored in this directory. 1274+This must be the first argument, if specified. 1275+.TP 1276+\fB\-n\fR 1277+Suppress news from the administrator. 1278+.TP 1279+\fB\-p\fR \fIprofession\fR 1280+Set your character's profession. 1281+.TP 1282+\fB\-r\fR \fIrace\fR 1283+Set your character's race. 1284+.TP 1285+\fB\-D\fR 1286+Start the game in wizard mode. You cannot switch to a normal game while 1287+wizard mode is active, and your score will not be listed in the top scores. 1288+You need to be root to enter wizard mode. Normal users will get explore mode instead. 1289+.TP 1290+\fB\-X\fR 1291+Start the game in explore mode. You cannot switch to a normal game while 1292+explore mode is active, and your score will not be listed in the top scores. 1293+.TP 1294+\fB\-u\fR \fIplayer_name\fR 1295+Set your character's name. 1296+.TP 1297+\fB\-s\fR 1298+Display top scores for the current version of NetHack, filtered by 1299+professions, races or player names if specified. 1300+.TP 1301+\fB\-v\fR 1302+Display top scores for all versions. Should immediately follow \fB-s\fR. 1303+ 1304+.SH "AUTHORS" 1305+ 1306+Daniel Thaler, <daniel@dthaler.de> 1307+ 1308+Clive Crous, <clive@crous.co.za> 1309+ 1310+Based on Falcon's Eye by: 1311+Jaakko Peltonen, <jaakko dot peltonen at hut dot fi> 1312+ 1313+.SH "REPORTING BUGS" 1314+ 1315+Report Vulture-specific bugs to Clive Crous and 1316+NetHack bugs to <nethack-bugs@nethack.org>. 1317+ 1318+.SH "SEE ALSO" 1319+ 1320+NetHack is documented in \fBnethack(6)\fR. 1321+ 1322+The full documentation for Vulture is maintained in HTML at 1323+/usr/share/doc/vulture/manual/index.html 1324+ 1325+The Vulture project page is http://darkarts.co.za/project/vulture 1326+ 1327+The NetHack project page is http://www.nethack.org 1328+ 1329+The UnNetHack project page is http://sourceforge.net/apps/trac/unnethack/ 1330+ 1331diff -Naur a/debian/vulture-unnethack.desktop b/debian/vulture-unnethack.desktop 1332--- a/debian/vulture-unnethack.desktop 1970-01-01 01:00:00.000000000 +0100 1333+++ b/debian/vulture-unnethack.desktop 2011-03-26 01:44:37.910249007 +0100 1334@@ -0,0 +1,11 @@ 1335+[Desktop Entry] 1336+Type=Application 1337+Encoding=UTF-8 1338+Name=Vulture-UnNetHack 1339+GenericName= 1340+Comment=Dungeons and dragons inspired role play game 1341+Comment[de_DE]=Rollenspiel im Sinne von Dungeons und Dragons 1342+Icon=vulture-unnethack.png 1343+Exec=/usr/games/vulture-unnethack 1344+Terminal=false 1345+Categories=Application;Game; 1346diff -Naur a/debian/vulture-unnethack.dirs b/debian/vulture-unnethack.dirs 1347--- a/debian/vulture-unnethack.dirs 1970-01-01 01:00:00.000000000 +0100 1348+++ b/debian/vulture-unnethack.dirs 2011-03-26 01:44:37.910249007 +0100 1349@@ -0,0 +1,6 @@ 1350+usr/games 1351+var/games/vulture-unnethack/save 1352+usr/lib/games/vulture-unnethack 1353+etc/vulture 1354+usr/share/pixmaps 1355+usr/share/applications 1356diff -Naur a/debian/vulture-unnethack.manpages b/debian/vulture-unnethack.manpages 1357--- a/debian/vulture-unnethack.manpages 1970-01-01 01:00:00.000000000 +0100 1358+++ b/debian/vulture-unnethack.manpages 2011-03-26 01:44:37.914247007 +0100 1359@@ -0,0 +1 @@ 1360+debian/vulture-unnethack.6 1361diff -Naur a/debian/vulture-unnethack.menu b/debian/vulture-unnethack.menu 1362--- a/debian/vulture-unnethack.menu 1970-01-01 01:00:00.000000000 +0100 1363+++ b/debian/vulture-unnethack.menu 2011-03-26 01:44:37.914247007 +0100 1364@@ -0,0 +1,4 @@ 1365+?package(vulture-unnethack):needs="X11" section="Games/Adventure"\ 1366+ title="Vulture-UnNetHack" \ 1367+ icon="/usr/share/pixmaps/vulture-unnethack.png" \ 1368+ command="/usr/games/vulture-unnethack" 1369diff -Naur a/debian/vulture-unnethack.postinst b/debian/vulture-unnethack.postinst 1370--- a/debian/vulture-unnethack.postinst 1970-01-01 01:00:00.000000000 +0100 1371+++ b/debian/vulture-unnethack.postinst 2011-03-26 01:44:37.914247007 +0100 1372@@ -0,0 +1,56 @@ 1373+#! /bin/sh 1374+# postinst script for vulture 1375+# 1376+# see: dh_installdeb(1) 1377+ 1378+set -e 1379+ 1380+# summary of how this script can be called: 1381+# * <postinst> `configure' <most-recently-configured-version> 1382+# * <old-postinst> `abort-upgrade' <new version> 1383+# * <conflictor's-postinst> `abort-remove' `in-favour' <package> 1384+# <new-version> 1385+# * <deconfigured's-postinst> `abort-deconfigure' `in-favour' 1386+# <failed-install-package> <version> `removing' 1387+# <conflicting-package> <version> 1388+# for details, see /usr/share/doc/packaging-manual/ 1389+# 1390+# quoting from the policy: 1391+# Any necessary prompting should almost always be confined to the 1392+# post-installation script, and should be protected with a conditional 1393+# so that unnecessary prompting doesn't happen if a package's 1394+# installation fails and the `postinst' is called with `abort-upgrade', 1395+# `abort-remove' or `abort-deconfigure'. 1396+ 1397+case "$1" in 1398+ configure) 1399+ 1400+ ;; 1401+ 1402+ abort-upgrade|abort-remove|abort-deconfigure) 1403+ 1404+ ;; 1405+ 1406+ *) 1407+ echo "postinst called with unknown argument \`$1'" >&2 1408+ exit 0 1409+ ;; 1410+esac 1411+ 1412+for file in vulture_log.txt logfile perm record; \ 1413+do \ 1414+ if [ ! -f /var/games/vulture-unnethack/$file ]; then 1415+ touch /var/games/vulture-unnethack/$file 1416+ chown root:games /var/games/vulture-unnethack/$file 1417+ chmod 664 /var/games/vulture-unnethack/$file 1418+ fi; \ 1419+done 1420+ 1421+# dh_installdeb will replace this with shell code automatically 1422+# generated by other debhelper scripts. 1423+ 1424+#DEBHELPER# 1425+ 1426+exit 0 1427+ 1428+ 1429diff -Naur a/debian/vulture-unnethack.postrm b/debian/vulture-unnethack.postrm 1430--- a/debian/vulture-unnethack.postrm 1970-01-01 01:00:00.000000000 +0100 1431+++ b/debian/vulture-unnethack.postrm 2011-03-26 01:44:37.914247007 +0100 1432@@ -0,0 +1,42 @@ 1433+#! /bin/sh 1434+# postrm script for vulture 1435+# 1436+# see: dh_installdeb(1) 1437+ 1438+set -e 1439+ 1440+# summary of how this script can be called: 1441+# * <postrm> `remove' 1442+# * <postrm> `purge' 1443+# * <old-postrm> `upgrade' <new-version> 1444+# * <new-postrm> `failed-upgrade' <old-version> 1445+# * <new-postrm> `abort-install' 1446+# * <new-postrm> `abort-install' <old-version> 1447+# * <new-postrm> `abort-upgrade' <old-version> 1448+# * <disappearer's-postrm> `disappear' <r>overwrit>r> <new-version> 1449+# for details, see /usr/share/doc/packaging-manual/ 1450+ 1451+case "$1" in 1452+ purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) 1453+ 1454+ 1455+ ;; 1456+ 1457+ *) 1458+ echo "postrm called with unknown argument \`$1'" >&2 1459+ exit 0 1460+ 1461+esac 1462+ 1463+if [ "$1" = "purge" ]; then 1464+ echo -n "Purging high-scores and save-files for vulture-unnethack... " 1465+ rm -rf /var/games/vulture-unnethack/ 1466+ echo "done." 1467+fi 1468+ 1469+# dh_installdeb will replace this with shell code automatically 1470+# generated by other debhelper scripts. 1471+ 1472+#DEBHELPER# 1473+ 1474+ 1475diff -Naur a/debian/vulture-unnethackrc b/debian/vulture-unnethackrc 1476--- a/debian/vulture-unnethackrc 1970-01-01 01:00:00.000000000 +0100 1477+++ b/debian/vulture-unnethackrc 2011-03-26 01:44:37.914247007 +0100 1478@@ -0,0 +1,72 @@ 1479+# A '#' at the beginning of a line means the rest of the line is a comment. 1480+# 1481+# Some options MUST be set in this file, other options can be toggled while 1482+# playing. For a list of options available see the <opthelp.> file. 1483+# 1484+# If you want to customize the configuration, you should copy this file 1485+# (/etc/vulture/vulture-nethackrc) to ~/.vulture-nethackrc and modify that 1486+# 1487+# To change the configuration, comment out the unwanted lines, and 1488+# uncomment the configuration you want. 1489+ 1490+# Use the vulture window port 1491+OPTIONS=windowtype:vulture 1492+ 1493+# *** OPTIONS *** 1494+# Some options to set personal preferences. Uncomment and change these to 1495+# suit your personal preference. If several people are to use the same 1496+# configuration, options like these should not be set. 1497+# 1498+#OPTIONS=name:Janet,role:Valkyrie,race:Human,gender:female,align:lawful 1499+#OPTIONS=dogname:Fido,catname:Morris,fruit:guava 1500+#OPTIONS=horsename:Silver 1501+#OPTIONS=autopickup,pickup_types:$"=/!?+ 1502+#OPTIONS=packorder:")[%?+/=!(*0_` 1503+#OPTIONS=scores:10 top/2 around/own 1504+#OPTIONS=nolegacy,noverbose 1505+ 1506+# verbose help messages make no sense for vulture 1507+OPTIONS=noverbose 1508+ 1509+OPTIONS=toptenwin 1510+ 1511+# 1512+# General options. You might also set "silent" so as not to attract 1513+# the boss's attention. 1514+OPTIONS=time,number_pad:2,lit_corridor,rest_on_space,nomail 1515+ 1516+# *** LOCATIONS *** 1517+# IMPORTANT: If you change any of these locations, the directories they 1518+# point at must exist. NetHack will not create them for you. 1519+# 1520+# HACKDIR is the default location for everything. 1521+# Note: On Windows HACKDIR defaults to the location 1522+# of the NetHack.exe or NetHackw.exe file so 1523+# setting HACKDIR below to override that is 1524+# not usually necessary or recommended. 1525+#HACKDIR=c:\games\nethack 1526+# 1527+# The location that level files in progress are stored (default=HACKDIR, writeable) 1528+#LEVELDIR=c:\nethack\levels 1529+# 1530+# The location where saved games are kept (default=HACKDIR, writeable) 1531+#SAVEDIR=c:\nethack\save 1532+# 1533+# The location that bones files are kept (default=HACKDIR, writeable) 1534+#BONESDIR=c:\nethack\save 1535+# 1536+# The location that file synchronization locks are stored (default=HACKDIR, writeable) 1537+#LOCKDIR=c:\nethack\levels 1538+# 1539+# The location that a record of game aborts and self-diagnosed game problems 1540+# is kept (default=HACKDIR, writeable) 1541+#TROUBLEDIR=c:\nethack\trouble 1542+ 1543+# Finnish keyboards might need these modifications uncommented. 1544+# For \, @, $, [, | 1545+#OPTIONS=subkeyvalue:171/92 1546+#OPTIONS=subkeyvalue:178/64 1547+#OPTIONS=subkeyvalue:180/36 1548+#OPTIONS=subkeyvalue:184/91 1549+#OPTIONS=subkeyvalue:188/124 1550+ 1551diff -Naur a/debian/vulture-unnethack.sh b/debian/vulture-unnethack.sh 1552--- a/debian/vulture-unnethack.sh 1970-01-01 01:00:00.000000000 +0100 1553+++ b/debian/vulture-unnethack.sh 2011-03-26 01:44:37.914247007 +0100 1554@@ -0,0 +1,66 @@ 1555+#!/bin/sh 1556+# SCCS Id: @(#)nethack.sh 3.3 90/02/26 1557+ 1558+HACKDIR=/usr/lib/games/vulture-unnethack 1559+export HACKDIR 1560+HACK=$HACKDIR/vulture-unnethack 1561+MAXNROFPLAYERS=4 1562+if [ -f ~/.vulture-unnethackrc ] 1563+then 1564+ NETHACKOPTIONS=~/.vulture-unnethackrc 1565+else 1566+ NETHACKOPTIONS=/etc/vulture/vulture-unnethackrc 1567+fi 1568+export NETHACKOPTIONS 1569+ 1570+# see if we can find the full path name of PAGER, so help files work properly 1571+# assume that if someone sets up a special variable (HACKPAGER) for NetHack, 1572+# it will already be in a form acceptable to NetHack 1573+# ideas from brian@radio.astro.utoronto.ca 1574+if test \( "xxx$PAGER" != xxx \) -a \( "xxx$HACKPAGER" = xxx \) 1575+then 1576+ 1577+ HACKPAGER=$PAGER 1578+ 1579+# use only the first word of the pager variable 1580+# this prevents problems when looking for file names with trailing 1581+# options, but also makes the options unavailable for later use from 1582+# NetHack 1583+ for i in $HACKPAGER 1584+ do 1585+ HACKPAGER=$i 1586+ break 1587+ done 1588+ 1589+ if test ! -f $HACKPAGER 1590+ then 1591+ IFS=: 1592+ for i in $PATH 1593+ do 1594+ if test -f $i/$HACKPAGER 1595+ then 1596+ HACKPAGER=$i/$HACKPAGER 1597+ export HACKPAGER 1598+ break 1599+ fi 1600+ done 1601+ IFS=' ' 1602+ fi 1603+ if test ! -f $HACKPAGER 1604+ then 1605+ echo Cannot find $PAGER -- unsetting PAGER. 1606+ unset HACKPAGER 1607+ unset PAGER 1608+ fi 1609+fi 1610+ 1611+ 1612+cd $HACKDIR 1613+case $1 in 1614+ -s*) 1615+ exec $HACK "$@" 1616+ ;; 1617+ *) 1618+ exec $HACK "$@" $MAXNROFPLAYERS 1619+ ;; 1620+esac 1621diff -Naur a/nethack/include/config.h b/nethack/include/config.h 1622--- a/nethack/include/config.h 2011-03-25 16:06:32.559735016 +0100 1623+++ b/nethack/include/config.h 2011-03-26 01:44:37.914247007 +0100 1624@@ -153,7 +153,7 @@ 1625 1626 #ifndef WIZARD /* allow for compile-time or Makefile changes */ 1627 # ifndef KR1ED 1628-# define WIZARD "wizard" /* the person allowed to use the -D option */ 1629+# define WIZARD "root" /* the person allowed to use the -D option */ 1630 # else 1631 # define WIZARD 1632 # define WIZARD_NAME "wizard" 1633@@ -214,7 +214,7 @@ 1634 * otherwise it will be the current directory. 1635 */ 1636 # ifndef HACKDIR 1637-# define HACKDIR "/usr/games/lib/nethackdir" 1638+# define HACKDIR "/usr/lib/games/vulture-nethack" 1639 # endif 1640 1641 /* 1642@@ -329,7 +329,7 @@ 1643 #define SINKS /* Kitchen sinks - Janet Walz */ 1644 /* dungeon levels */ 1645 #define WALLIFIED_MAZE /* Fancy mazes - Jean-Christophe Collet */ 1646-#define REINCARNATION /* Special Rogue-like levels */ 1647+/* #define REINCARNATION */ /* Special Rogue-like levels */ 1648 /* monsters & objects */ 1649 #define KOPS /* Keystone Kops by Scott R. Turner */ 1650 #define SEDUCE /* Succubi/incubi seduction, by KAA, suggested by IM */ 1651diff -Naur a/nethack/include/config.h.orig b/nethack/include/config.h.orig 1652--- a/nethack/include/config.h.orig 1970-01-01 01:00:00.000000000 +0100 1653+++ b/nethack/include/config.h.orig 2011-03-26 01:44:37.914247007 +0100 1654@@ -0,0 +1,372 @@ 1655+/* SCCS Id: @(#)config.h 3.4 2003/12/06 */ 1656+/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */ 1657+/* NetHack may be freely redistributed. See license for details. */ 1658+ 1659+#ifndef CONFIG_H /* make sure the compiler does not see the typedefs twice */ 1660+#define CONFIG_H 1661+ 1662+ 1663+/* 1664+ * Section 1: Operating and window systems selection. 1665+ * Select the version of the OS you are using. 1666+ * For "UNIX" select BSD, ULTRIX, SYSV, or HPUX in unixconf.h. 1667+ * A "VMS" option is not needed since the VMS C-compilers 1668+ * provide it (no need to change sec#1, vmsconf.h handles it). 1669+ */ 1670+ 1671+#define UNIX /* delete if no fork(), exec() available */ 1672+ 1673+/* #define MSDOS */ /* in case it's not auto-detected */ 1674+ 1675+/* #define OS2 */ /* define for OS/2 */ 1676+ 1677+/* #define TOS */ /* define for Atari ST/TT */ 1678+ 1679+/* #define STUPID */ /* avoid some complicated expressions if 1680+ your C compiler chokes on them */ 1681+/* #define MINIMAL_TERM */ 1682+ /* if a terminal handles highlighting or tabs poorly, 1683+ try this define, used in pager.c and termcap.c */ 1684+/* #define ULTRIX_CC20 */ 1685+ /* define only if using cc v2.0 on a DECstation */ 1686+/* #define ULTRIX_PROTO */ 1687+ /* define for Ultrix 4.0 (or higher) on a DECstation; 1688+ * if you get compiler errors, don't define this. */ 1689+ /* Hint: if you're not developing code, don't define 1690+ ULTRIX_PROTO. */ 1691+ 1692+#include "config1.h" /* should auto-detect MSDOS, MAC, AMIGA, and WIN32 */ 1693+ 1694+ 1695+/* Windowing systems... 1696+ * Define all of those you want supported in your binary. 1697+ * Some combinations make no sense. See the installation document. 1698+ */ 1699+#define TTY_GRAPHICS /* good old tty based graphics */ 1700+/* #define X11_GRAPHICS */ /* X11 interface */ 1701+/* #define QT_GRAPHICS */ /* Qt interface */ 1702+/* #define GNOME_GRAPHICS */ /* Gnome interface */ 1703+/* #define MSWIN_GRAPHICS */ /* Windows NT, CE, Graphics */ 1704+ 1705+#define VULTURE_GRAPHICS /* Vulture's Eye isometric graphics interface */ 1706+#undef TTY_GRAPHICS 1707+ 1708+/* 1709+ * Define the default window system. This should be one that is compiled 1710+ * into your system (see defines above). Known window systems are: 1711+ * 1712+ * tty, X11, mac, amii, BeOS, Qt, Gem, Gnome 1713+ * vulture (Vulture's Eye) 1714+ */ 1715+ 1716+/* MAC also means MAC windows */ 1717+#ifdef MAC 1718+# ifndef AUX 1719+# define DEFAULT_WINDOW_SYS "mac" 1720+# endif 1721+#endif 1722+ 1723+/* Amiga supports AMII_GRAPHICS and/or TTY_GRAPHICS */ 1724+#ifdef AMIGA 1725+# define AMII_GRAPHICS /* (optional) */ 1726+# define DEFAULT_WINDOW_SYS "amii" /* "amii", "amitile" or "tty" */ 1727+#endif 1728+ 1729+/* Atari supports GEM_GRAPHICS and/or TTY_GRAPHICS */ 1730+#ifdef TOS 1731+# define GEM_GRAPHICS /* Atari GEM interface (optional) */ 1732+# define DEFAULT_WINDOW_SYS "Gem" /* "Gem" or "tty" */ 1733+#endif 1734+ 1735+#ifdef __BEOS__ 1736+#define BEOS_GRAPHICS /* (optional) */ 1737+#define DEFAULT_WINDOW_SYS "BeOS" /* "tty" */ 1738+#ifndef HACKDIR /* override the default hackdir below */ 1739+# define HACKDIR "/boot/apps/NetHack" 1740+#endif 1741+#endif 1742+ 1743+#ifdef QT_GRAPHICS 1744+# define DEFAULT_WC_TILED_MAP /* Default to tiles if users doesn't say wc_ascii_map */ 1745+# define USER_SOUNDS /* Use sounds */ 1746+# ifndef __APPLE__ 1747+# define USER_SOUNDS_REGEX 1748+# endif 1749+# define USE_XPM /* Use XPM format for images (required) */ 1750+# define GRAPHIC_TOMBSTONE /* Use graphical tombstone (rip.ppm) */ 1751+# ifndef DEFAULT_WINDOW_SYS 1752+# define DEFAULT_WINDOW_SYS "Qt" 1753+# endif 1754+#endif 1755+ 1756+#ifdef VULTURE_GRAPHICS 1757+# ifndef DEFAULT_WINDOW_SYS 1758+# define DEFAULT_WINDOW_SYS "vulture" 1759+# endif 1760+#endif /* VULTURE_GRAPHICS */ 1761+ 1762+#ifdef GNOME_GRAPHICS 1763+# define USE_XPM /* Use XPM format for images (required) */ 1764+# define GRAPHIC_TOMBSTONE /* Use graphical tombstone (rip.ppm) */ 1765+# ifndef DEFAULT_WINDOW_SYS 1766+# define DEFAULT_WINDOW_SYS "Gnome" 1767+# endif 1768+#endif 1769+ 1770+#ifdef MSWIN_GRAPHICS 1771+# ifdef TTY_GRAPHICS 1772+# undef TTY_GRAPHICS 1773+# endif 1774+# ifndef DEFAULT_WINDOW_SYS 1775+# define DEFAULT_WINDOW_SYS "mswin" 1776+# endif 1777+# define HACKDIR "\\nethack" 1778+#endif 1779+ 1780+#ifndef DEFAULT_WINDOW_SYS 1781+# define DEFAULT_WINDOW_SYS "tty" 1782+#endif 1783+ 1784+#ifdef X11_GRAPHICS 1785+/* 1786+ * There are two ways that X11 tiles may be defined. (1) using a custom 1787+ * format loaded by NetHack code, or (2) using the XPM format loaded by 1788+ * the free XPM library. The second option allows you to then use other 1789+ * programs to generate tiles files. For example, the PBMPlus tools 1790+ * would allow: 1791+ * xpmtoppm <x11tiles.xpm | pnmscale 1.25 | ppmquant 90 >x11tiles_big.xpm 1792+ */ 1793+/* # define USE_XPM */ /* Disable if you do not have the XPM library */ 1794+# ifdef USE_XPM 1795+# define GRAPHIC_TOMBSTONE /* Use graphical tombstone (rip.xpm) */ 1796+# endif 1797+#endif 1798+ 1799+ 1800+/* 1801+ * Section 2: Some global parameters and filenames. 1802+ * Commenting out WIZARD, LOGFILE, NEWS or PANICLOG removes that 1803+ * feature from the game; otherwise set the appropriate wizard 1804+ * name. LOGFILE, NEWS and PANICLOG refer to files in the 1805+ * playground. 1806+ */ 1807+ 1808+#ifndef WIZARD /* allow for compile-time or Makefile changes */ 1809+# ifndef KR1ED 1810+# define WIZARD "wizard" /* the person allowed to use the -D option */ 1811+# else 1812+# define WIZARD 1813+# define WIZARD_NAME "wizard" 1814+# endif 1815+#endif 1816+ 1817+#define LOGFILE "logfile" /* larger file for debugging purposes */ 1818+#define NEWS "news" /* the file containing the latest hack news */ 1819+#define PANICLOG "paniclog" /* log of panic and impossible events */ 1820+ 1821+/* 1822+ * If COMPRESS is defined, it should contain the full path name of your 1823+ * 'compress' program. Defining INTERNAL_COMP causes NetHack to do 1824+ * simpler byte-stream compression internally. Both COMPRESS and 1825+ * INTERNAL_COMP create smaller bones/level/save files, but require 1826+ * additional code and time. Currently, only UNIX fully implements 1827+ * COMPRESS; other ports should be able to uncompress save files a 1828+ * la unixmain.c if so inclined. 1829+ * If you define COMPRESS, you must also define COMPRESS_EXTENSION 1830+ * as the extension your compressor appends to filenames after 1831+ * compression. 1832+ */ 1833+ 1834+#ifdef UNIX 1835+/* path and file name extension for compression program */ 1836+/* #define COMPRESS "/usr/bin/compress" */ /* Lempel-Ziv compression */ 1837+/* #define COMPRESS_EXTENSION ".Z" */ /* compress's extension */ 1838+/* An example of one alternative you might want to use: */ 1839+/* #define COMPRESS "/usr/local/bin/gzip" */ /* FSF gzip compression */ 1840+/* #define COMPRESS_EXTENSION ".gz" */ /* normal gzip extension */ 1841+#endif 1842+ 1843+#ifndef COMPRESS 1844+# define INTERNAL_COMP /* control use of NetHack's compression routines */ 1845+#endif 1846+ 1847+/* 1848+ * Data librarian. Defining DLB places most of the support files into 1849+ * a tar-like file, thus making a neater installation. See *conf.h 1850+ * for detailed configuration. 1851+ */ 1852+#define DLB /* not supported on all platforms */ 1853+ 1854+/* 1855+ * Defining INSURANCE slows down level changes, but allows games that 1856+ * died due to program or system crashes to be resumed from the point 1857+ * of the last level change, after running a utility program. 1858+ */ 1859+#define INSURANCE /* allow crashed game recovery */ 1860+ 1861+#ifndef MAC 1862+# define CHDIR /* delete if no chdir() available */ 1863+#endif 1864+ 1865+#ifdef CHDIR 1866+/* 1867+ * If you define HACKDIR, then this will be the default playground; 1868+ * otherwise it will be the current directory. 1869+ */ 1870+# ifndef HACKDIR 1871+# define HACKDIR "/usr/games/lib/nethackdir" 1872+# endif 1873+ 1874+/* 1875+ * Some system administrators are stupid enough to make Hack suid root 1876+ * or suid daemon, where daemon has other powers besides that of reading or 1877+ * writing Hack files. In such cases one should be careful with chdir's 1878+ * since the user might create files in a directory of his choice. 1879+ * Of course SECURE is meaningful only if HACKDIR is defined. 1880+ */ 1881+/* #define SECURE */ /* do setuid(getuid()) after chdir() */ 1882+ 1883+/* 1884+ * If it is desirable to limit the number of people that can play Hack 1885+ * simultaneously, define HACKDIR, SECURE and MAX_NR_OF_PLAYERS. 1886+ * #define MAX_NR_OF_PLAYERS 6 1887+ */ 1888+#endif /* CHDIR */ 1889+ 1890+ 1891+ 1892+/* 1893+ * Section 3: Definitions that may vary with system type. 1894+ * For example, both schar and uchar should be short ints on 1895+ * the AT&T 3B2/3B5/etc. family. 1896+ */ 1897+ 1898+/* 1899+ * Uncomment the following line if your compiler doesn't understand the 1900+ * 'void' type (and thus would give all sorts of compile errors without 1901+ * this definition). 1902+ */ 1903+/* #define NOVOID */ /* define if no "void" data type. */ 1904+ 1905+/* 1906+ * Uncomment the following line if your compiler falsely claims to be 1907+ * a standard C compiler (i.e., defines __STDC__ without cause). 1908+ * Examples are Apollo's cc (in some versions) and possibly SCO UNIX's rcc. 1909+ */ 1910+/* #define NOTSTDC */ /* define for lying compilers */ 1911+ 1912+#include "tradstdc.h" 1913+ 1914+/* 1915+ * type schar: small signed integers (8 bits suffice) (eg. TOS) 1916+ * 1917+ * typedef char schar; 1918+ * 1919+ * will do when you have signed characters; otherwise use 1920+ * 1921+ * typedef short int schar; 1922+ */ 1923+#ifdef AZTEC 1924+# define schar char 1925+#else 1926+typedef signed char schar; 1927+#endif 1928+ 1929+/* 1930+ * type uchar: small unsigned integers (8 bits suffice - but 7 bits do not) 1931+ * 1932+ * typedef unsigned char uchar; 1933+ * 1934+ * will be satisfactory if you have an "unsigned char" type; 1935+ * otherwise use 1936+ * 1937+ * typedef unsigned short int uchar; 1938+ */ 1939+#ifndef _AIX32 /* identical typedef in system file causes trouble */ 1940+typedef unsigned char uchar; 1941+#endif 1942+ 1943+/* 1944+ * Various structures have the option of using bitfields to save space. 1945+ * If your C compiler handles bitfields well (e.g., it can initialize structs 1946+ * containing bitfields), you can define BITFIELDS. Otherwise, the game will 1947+ * allocate a separate character for each bitfield. (The bitfields used never 1948+ * have more than 7 bits, and most are only 1 bit.) 1949+ */ 1950+#define BITFIELDS /* Good bitfield handling */ 1951+ 1952+/* #define STRNCMPI */ /* compiler/library has the strncmpi function */ 1953+ 1954+/* 1955+ * There are various choices for the NetHack vision system. There is a 1956+ * choice of two algorithms with the same behavior. Defining VISION_TABLES 1957+ * creates huge (60K) tables at compile time, drastically increasing data 1958+ * size, but runs slightly faster than the alternate algorithm. (MSDOS in 1959+ * particular cannot tolerate the increase in data size; other systems can 1960+ * flip a coin weighted to local conditions.) 1961+ * 1962+ * If VISION_TABLES is not defined, things will be faster if you can use 1963+ * MACRO_CPATH. Some cpps, however, cannot deal with the size of the 1964+ * functions that have been macroized. 1965+ */ 1966+ 1967+/* #define VISION_TABLES */ /* use vision tables generated at compile time */ 1968+#ifndef VISION_TABLES 1969+# ifndef NO_MACRO_CPATH 1970+# define MACRO_CPATH /* use clear_path macros instead of functions */ 1971+# endif 1972+#endif 1973+ 1974+/* 1975+ * Section 4: THE FUN STUFF!!! 1976+ * 1977+ * Conditional compilation of special options are controlled here. 1978+ * If you define the following flags, you will add not only to the 1979+ * complexity of the game but also to the size of the load module. 1980+ */ 1981+ 1982+/* dungeon features */ 1983+#define SINKS /* Kitchen sinks - Janet Walz */ 1984+/* dungeon levels */ 1985+#define WALLIFIED_MAZE /* Fancy mazes - Jean-Christophe Collet */ 1986+#define REINCARNATION /* Special Rogue-like levels */ 1987+/* monsters & objects */ 1988+#define KOPS /* Keystone Kops by Scott R. Turner */ 1989+#define SEDUCE /* Succubi/incubi seduction, by KAA, suggested by IM */ 1990+#define STEED /* Riding steeds */ 1991+#define TOURIST /* Tourist players with cameras and Hawaiian shirts */ 1992+/* difficulty */ 1993+#define ELBERETH /* Engraving the E-word repels monsters */ 1994+/* I/O */ 1995+#define REDO /* support for redoing last command - DGK */ 1996+#if !defined(MAC) 1997+# define CLIPPING /* allow smaller screens -- ERS */ 1998+#endif 1999+ 2000+#ifdef REDO 2001+# define DOAGAIN '\001' /* ^A, the "redo" key used in cmd.c and getline.c */ 2002+#endif 2003+ 2004+#define EXP_ON_BOTL /* Show experience on bottom line */ 2005+/* #define SCORE_ON_BOTL */ /* added by Gary Erickson (erickson@ucivax) */ 2006+ 2007+/* 2008+ * Section 5: EXPERIMENTAL STUFF 2009+ * 2010+ * Conditional compilation of new or experimental options are controlled here. 2011+ * Enable any of these at your own risk -- there are almost certainly 2012+ * bugs left here. 2013+ */ 2014+ 2015+/*#define GOLDOBJ */ /* Gold is kept on obj chains - Helge Hafting */ 2016+#define AUTOPICKUP_EXCEPTIONS /* exceptions to autopickup */ 2017+#define DUMP_LOG /* Dump game end information to a file */ 2018+/* #define DUMP_FN "/tmp/%n.nh" */ /* Fixed dumpfile name, if you want 2019+ * to prevent definition by users */ 2020+#define DUMPMSGS 20 /* Number of latest messages in the dump file */ 2021+ 2022+/* End of Section 5 */ 2023+ 2024+#include "global.h" /* Define everything else according to choices above */ 2025+ 2026+#endif /* CONFIG_H */ 2027diff -Naur a/nethack/include/unixconf.h b/nethack/include/unixconf.h 2028--- a/nethack/include/unixconf.h 2011-03-25 16:06:32.283873016 +0100 2029+++ b/nethack/include/unixconf.h 2011-03-26 01:44:37.914247007 +0100 2030@@ -37,7 +37,7 @@ 2031 #define NETWORK /* if running on a networked system */ 2032 /* e.g. Suns sharing a playground through NFS */ 2033 /* #define SUNOS4 */ /* SunOS 4.x */ 2034-/* #define LINUX */ /* Another Unix clone */ 2035+#define LINUX /* Another Unix clone */ 2036 /* #define CYGWIN32 */ /* Unix on Win32 -- use with case sensitive defines */ 2037 /* #define GENIX */ /* Yet Another Unix Clone */ 2038 /* #define HISX */ /* Bull Unix for XPS Machines */ 2039@@ -102,7 +102,7 @@ 2040 * If you want the static parts of your playground on a read-only file 2041 * system, define VAR_PLAYGROUND to be where the variable parts are kept. 2042 */ 2043-/* #define VAR_PLAYGROUND "/var/lib/games/nethack" */ 2044+#define VAR_PLAYGROUND "/var/games/vulture-nethack" 2045 2046 2047 /* 2048diff -Naur a/slashem/include/config.h b/slashem/include/config.h 2049--- a/slashem/include/config.h 2011-03-25 16:05:56.741015016 +0100 2050+++ b/slashem/include/config.h 2011-03-26 01:45:16.091148998 +0100 2051@@ -209,7 +209,7 @@ 2052 2053 #ifndef WIZARD /* allow for compile-time or Makefile changes */ 2054 # ifndef KR1ED 2055-# define WIZARD "wizard" /* the person allowed to use the -D option */ 2056+# define WIZARD "root" /* the person allowed to use the -D option */ 2057 # else 2058 # define WIZARD 2059 # define WIZARD_NAME "wizard" 2060@@ -237,12 +237,12 @@ 2061 2062 #ifdef UNIX 2063 /* path and file name extension for compression program */ 2064-# define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ 2065-# define COMPRESS_EXTENSION ".Z" /* compress's extension */ 2066+/* # define COMPRESS "/usr/bin/compress" */ /* Lempel-Ziv compression */ 2067+/* # define COMPRESS_EXTENSION ".Z" */ /* compress's extension */ 2068 2069 /* An example of one alternative you might want to use: */ 2070-/* # define COMPRESS "/usr/local/bin/gzip" */ /* FSF gzip compression */ 2071-/* # define COMPRESS_EXTENSION ".gz" */ /* normal gzip extension */ 2072+# define COMPRESS "/bin/gzip" /* FSF gzip compression */ 2073+# define COMPRESS_EXTENSION ".gz" /* normal gzip extension */ 2074 2075 /* # define COMPRESS "/usr/bin/bzip2" *//* bzip2 compression */ 2076 /* # define COMPRESS_EXTENSION ".bz2" *//* bzip2 extension */ 2077@@ -278,7 +278,7 @@ 2078 # ifdef __APPLE__ 2079 # define HACKDIR "nethackdir" /* nethack directory */ 2080 # else 2081-# define HACKDIR "." 2082+# define HACKDIR "/usr/lib/games/vulture-slashem" 2083 # endif 2084 # endif 2085 2086diff -Naur a/slashem/include/config.h.orig b/slashem/include/config.h.orig 2087--- a/slashem/include/config.h.orig 1970-01-01 01:00:00.000000000 +0100 2088+++ b/slashem/include/config.h.orig 2011-03-26 01:44:37.918245007 +0100 2089@@ -0,0 +1,503 @@ 2090+/* SCCS Id: @(#)config.h 3.4 2003/12/06 */ 2091+/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */ 2092+/* NetHack may be freely redistributed. See license for details. */ 2093+ 2094+#ifndef CONFIG_H /* make sure the compiler does not see the typedefs twice */ 2095+#define CONFIG_H 2096+ 2097+#undef SHORT_FILENAMES 2098+ 2099+ 2100+/*#define DEBUG*/ 2101+/*#define DDEBUG*/ 2102+/*#define MONITOR_HEAP*/ 2103+#if defined(MONITOR_HEAP) && (defined(UNIX) || defined(WIN32)) 2104+#define INTERNAL_MALLOC /* Use internal malloc implementation */ 2105+#endif 2106+ 2107+/* 2108+ * Section 1: Operating and window systems selection. 2109+ * Select the version of the OS you are using. 2110+ * For "UNIX" select BSD, ULTRIX, SYSV, or HPUX in unixconf.h. 2111+ * A "VMS" option is not needed since the VMS C-compilers 2112+ * provide it (no need to change sec#1, vmsconf.h handles it). 2113+ */ 2114+ 2115+#define UNIX /* delete if no fork(), exec() available */ 2116+ 2117+/* #define MSDOS */ /* in case it's not auto-detected */ 2118+ 2119+/* #define OS2 */ /* in case it's not auto-detected */ 2120+ 2121+/* #define TOS */ /* define for Atari ST/TT */ 2122+ 2123+/* #define STUPID */ /* avoid some complicated expressions if 2124+ your C compiler chokes on them */ 2125+/* #define MINIMAL_TERM */ 2126+ /* if a terminal handles highlighting or tabs poorly, 2127+ try this define, used in pager.c and termcap.c */ 2128+/* #define ULTRIX_CC20 */ 2129+ /* define only if using cc v2.0 on a DECstation */ 2130+/* #define ULTRIX_PROTO */ 2131+ /* define for Ultrix 4.0 (or higher) on a DECstation; 2132+ * if you get compiler errors, don't define this. */ 2133+ /* Hint: if you're not developing code, don't define 2134+ ULTRIX_PROTO. */ 2135+ 2136+#include "config1.h" /* should auto-detect MSDOS, MAC, AMIGA, WIN32 and OS2 */ 2137+ 2138+/* Windowing systems... 2139+ * Define all of those you want supported in your binary. 2140+ * Some combinations make no sense. See the installation document. 2141+ */ 2142+/* #define TTY_GRAPHICS */ /* good old tty based graphics */ 2143+/* #define X11_GRAPHICS */ /* X11 interface */ 2144+/* #define QT_GRAPHICS */ /* Qt Interface */ 2145+/* #define KDE */ /* KDE Interface */ 2146+/* #define GTK_GRAPHICS */ /* GTK Interface */ 2147+/* #define GNOME_GRAPHICS */ /* Gnome interface */ 2148+/* #define PROXY_GRAPHICS */ /* Plug-in interfaces */ 2149+/* #define MSWIN_GRAPHICS */ /* Windows NT, CE, Graphics */ 2150+/* #define GL_GRAPHICS */ /* OpenGL graphics */ 2151+/* #define SDL_GRAPHICS */ /* Software SDL graphics */ 2152+#define VULTURE_GRAPHICS /* Vulture's Eye isometric graphics interface */ 2153+ 2154+/* 2155+ * Define the default window system. This should be one that is compiled 2156+ * into your system (see defines above). Known window systems are: 2157+ * 2158+ * tty, X11, mac, amii, BeOS, Qt, Gem, Gnome, gtk, proxy, GL, SDL, Vulture's Eye (vulture) 2159+ */ 2160+ 2161+/* MAC also means MAC windows */ 2162+#ifdef MAC 2163+# ifndef AUX 2164+# define DEFAULT_WINDOW_SYS "Mac" 2165+# endif 2166+#endif 2167+ 2168+/* Amiga supports AMII_GRAPHICS and/or TTY_GRAPHICS */ 2169+#ifdef AMIGA 2170+# define AMII_GRAPHICS /* (optional) */ 2171+# define DEFAULT_WINDOW_SYS "amii" /* "amii", "amitile" or "tty" */ 2172+#endif 2173+ 2174+#if 0 /* Removed in 3.3.0 */ 2175+/* Windows NT supports TTY_GRAPHICS */ 2176+#ifdef WIN32 2177+# define DEFAULT_WINDOW_SYS "tty" 2178+#endif 2179+#endif 2180+ 2181+/* Atari supports GEM_GRAPHICS and/or TTY_GRAPHICS */ 2182+#ifdef TOS 2183+# define GEM_GRAPHICS /* Atari GEM interface (optional) */ 2184+# define DEFAULT_WINDOW_SYS "Gem" /* "Gem" or "tty" */ 2185+#endif 2186+ 2187+#ifdef __BEOS__ 2188+#define BEOS_GRAPHICS /* (optional) */ 2189+#define DEFAULT_WINDOW_SYS "BeOS" /* "tty" */ 2190+#ifndef HACKDIR /* override the default hackdir below */ 2191+# define HACKDIR "/boot/apps/NetHack" 2192+#endif 2193+#endif 2194+ 2195+#ifdef QT_GRAPHICS 2196+# define DEFAULT_WC_TILED_MAP /* Default to tiles if users doesn't say wc_ascii_map */ 2197+# define USER_SOUNDS /* Use sounds */ 2198+# ifndef __APPLE__ 2199+# define USER_SOUNDS_REGEX 2200+# endif 2201+# define USE_XPM /* Use XPM format for images (required) */ 2202+# define GRAPHIC_TOMBSTONE /* Use graphical tombstone (rip.xpm) */ 2203+# ifndef DEFAULT_WINDOW_SYS 2204+# define DEFAULT_WINDOW_SYS "Qt" 2205+# endif 2206+#endif 2207+ 2208+#ifdef VULTURE_GRAPHICS 2209+# ifndef DEFAULT_WINDOW_SYS 2210+# define DEFAULT_WINDOW_SYS "vulture" 2211+# endif 2212+#endif /* VULTURE_GRAPHICS */ 2213+ 2214+#ifdef GNOME_GRAPHICS 2215+# define USE_XPM /* Use XPM format for images (required) */ 2216+# define GRAPHIC_TOMBSTONE /* Use graphical tombstone (rip.ppm) */ 2217+# ifndef DEFAULT_WINDOW_SYS 2218+# define DEFAULT_WINDOW_SYS "Gnome" 2219+# endif 2220+#endif 2221+ 2222+#ifdef GTK_GRAPHICS 2223+# define USE_XPM /* Use XPM format for images (required) */ 2224+# define GRAPHIC_TOMBSTONE /* Use graphical tombstone (rip.xpm) */ 2225+/* # define GTK_PROXY */ /* Build for proxy interface */ 2226+# ifndef DEFAULT_WINDOW_SYS 2227+# define DEFAULT_WINDOW_SYS "gtk" 2228+# endif 2229+#endif 2230+ 2231+#ifdef PROXY_GRAPHICS 2232+# define USE_XPM /* Use XPM format for images */ 2233+/* 2234+ * The proxy interface shouldn't be used as the default window system. 2235+ * This will cause it to always be initialized with undesirable side 2236+ * effects. Instead, use the windowtype option. --ALI 2237+ */ 2238+#endif 2239+ 2240+#ifdef MSWIN_GRAPHICS 2241+# ifndef DEFAULT_WINDOW_SYS 2242+# define DEFAULT_WINDOW_SYS "mswin" 2243+# endif 2244+# define HACKDIR "\\nethack" 2245+#endif 2246+ 2247+#ifdef GL_GRAPHICS 2248+# ifndef DEFAULT_WINDOW_SYS 2249+# define DEFAULT_WINDOW_SYS "GL" 2250+# endif 2251+#endif 2252+ 2253+#ifdef SDL_GRAPHICS 2254+# ifndef DEFAULT_WINDOW_SYS 2255+# define DEFAULT_WINDOW_SYS "SDL" 2256+# endif 2257+#endif 2258+ 2259+#if defined(GL_GRAPHICS) || defined(SDL_GRAPHICS) 2260+# define GRAPHIC_TOMBSTONE /* Use graphical tombstone */ 2261+/* -AJA- workaround for clash with ZLIB headers */ 2262+# if defined(VANILLA_GLHACK) 2263+# define compress nh_compress 2264+# define uncompress nh_uncompress 2265+# endif 2266+#endif 2267+ 2268+#ifdef X11_GRAPHICS 2269+/* 2270+ * There are two ways that X11 tiles may be defined. (1) using a custom 2271+ * format loaded by NetHack code, or (2) using the XPM format loaded by 2272+ * the free XPM library. The second option allows you to then use other 2273+ * programs to generate tiles files. For example, the PBMPlus tools 2274+ * would allow: 2275+ * xpmtoppm <x11tiles.xpm | pnmscale 1.25 | pnmdepth 255 | 2276+ * ppmquant 90 | ppmtoxpm >x11tiles_big.xpm 2277+ */ 2278+/* # define USE_XPM */ /* Disable if you do not have the XPM library */ 2279+# ifdef USE_XPM 2280+# define GRAPHIC_TOMBSTONE /* Use graphical tombstone (rip.xpm) */ 2281+# endif 2282+# ifndef DEFAULT_WINDOW_SYS 2283+# define DEFAULT_WINDOW_SYS "X11" 2284+# endif 2285+#endif 2286+ 2287+#ifndef DEFAULT_WINDOW_SYS 2288+# define DEFAULT_WINDOW_SYS "tty" 2289+#endif 2290+ 2291+/* 2292+ * Section 2: Some global parameters and filenames. 2293+ * Commenting out WIZARD, LOGFILE, NEWS or PANICLOG removes that 2294+ * feature from the game; otherwise set the appropriate wizard 2295+ * name. LOGFILE, NEWS and PANICLOG refer to files in the 2296+ * playground. 2297+ */ 2298+ 2299+#ifndef WIZARD /* allow for compile-time or Makefile changes */ 2300+# ifndef KR1ED 2301+# define WIZARD "wizard" /* the person allowed to use the -D option */ 2302+# else 2303+# define WIZARD 2304+# define WIZARD_NAME "wizard" 2305+# endif 2306+#endif 2307+ 2308+#define LOGFILE "logfile" /* larger file for debugging purposes */ 2309+#define LOGAREA FILE_AREA_VAR 2310+#define NEWS "news" /* the file containing the latest hack news */ 2311+#define NEWS_AREA FILE_AREA_SHARE 2312+#define PANICLOG "paniclog" /* log of panic and impossible events */ 2313+ 2314+/* 2315+ * If COMPRESS is defined, it should contain the full path name of your 2316+ * 'compress' program. Defining INTERNAL_COMP causes NetHack to do 2317+ * simpler byte-stream compression internally. Both COMPRESS and 2318+ * INTERNAL_COMP create smaller bones/level/save files, but require 2319+ * additional code and time. Currently, only UNIX fully implements 2320+ * COMPRESS; other ports should be able to uncompress save files a 2321+ * la unixmain.c if so inclined. 2322+ * If you define COMPRESS, you must also define COMPRESS_EXTENSION 2323+ * as the extension your compressor appends to filenames after 2324+ * compression. 2325+ */ 2326+ 2327+#ifdef UNIX 2328+/* path and file name extension for compression program */ 2329+# define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ 2330+# define COMPRESS_EXTENSION ".Z" /* compress's extension */ 2331+ 2332+/* An example of one alternative you might want to use: */ 2333+/* # define COMPRESS "/usr/local/bin/gzip" */ /* FSF gzip compression */ 2334+/* # define COMPRESS_EXTENSION ".gz" */ /* normal gzip extension */ 2335+ 2336+/* # define COMPRESS "/usr/bin/bzip2" *//* bzip2 compression */ 2337+/* # define COMPRESS_EXTENSION ".bz2" *//* bzip2 extension */ 2338+#endif 2339+#ifndef COMPRESS 2340+# define INTERNAL_COMP /* control use of NetHack's compression routines */ 2341+#endif 2342+ 2343+/* 2344+ * Data librarian. Defining DLB places most of the support files into 2345+ * a tar-like file, thus making a neater installation. See *conf.h 2346+ * for detailed configuration. 2347+ */ 2348+#define DLB /* not supported on all platforms */ 2349+ 2350+/* 2351+ * Defining INSURANCE slows down level changes, but allows games that 2352+ * died due to program or system crashes to be resumed from the point 2353+ * of the last level change, after running a utility program. 2354+ */ 2355+#define INSURANCE /* allow crashed game recovery */ 2356+ 2357+#ifndef MAC 2358+# define CHDIR /* delete if no chdir() available */ 2359+#endif 2360+ 2361+#ifdef CHDIR 2362+/* 2363+ * If you define HACKDIR, then this will be the default playground; 2364+ * otherwise it will be the current directory. 2365+ */ 2366+# ifndef HACKDIR 2367+# ifdef __APPLE__ 2368+# define HACKDIR "nethackdir" /* nethack directory */ 2369+# else 2370+# define HACKDIR "." 2371+# endif 2372+# endif 2373+ 2374+/* 2375+ * Some system administrators are stupid enough to make Hack suid root 2376+ * or suid daemon, where daemon has other powers besides that of reading or 2377+ * writing Hack files. In such cases one should be careful with chdir's 2378+ * since the user might create files in a directory of his choice. 2379+ * Of course SECURE is meaningful only if HACKDIR is defined. 2380+ */ 2381+/* #define SECURE */ /* do setuid(getuid()) after chdir() */ 2382+ 2383+/* 2384+ * If it is desirable to limit the number of people that can play Hack 2385+ * simultaneously, define HACKDIR, SECURE and MAX_NR_OF_PLAYERS. 2386+ * #define MAX_NR_OF_PLAYERS 6 2387+ */ 2388+#endif /* CHDIR */ 2389+ 2390+ 2391+ 2392+/* 2393+ * Section 3: Definitions that may vary with system type. 2394+ * For example, both schar and uchar should be short ints on 2395+ * the AT&T 3B2/3B5/etc. family. 2396+ */ 2397+ 2398+/* 2399+ * Uncomment the following line if your compiler doesn't understand the 2400+ * 'void' type (and thus would give all sorts of compile errors without 2401+ * this definition). 2402+ */ 2403+/* #define NOVOID */ /* define if no "void" data type. */ 2404+ 2405+/* 2406+ * Uncomment the following line if your compiler falsely claims to be 2407+ * a standard C compiler (i.e., defines __STDC__ without cause). 2408+ * Examples are Apollo's cc (in some versions) and possibly SCO UNIX's rcc. 2409+ */ 2410+/* #define NOTSTDC */ /* define for lying compilers */ 2411+ 2412+#include "tradstdc.h" 2413+ 2414+/* 2415+ * type schar: small signed integers (8 bits suffice) (eg. TOS) 2416+ * 2417+ * typedef char schar; 2418+ * 2419+ * will do when you have signed characters; otherwise use 2420+ * 2421+ * typedef short int schar; 2422+ */ 2423+#ifdef AZTEC 2424+# define schar char 2425+#else 2426+typedef signed char schar; 2427+#endif 2428+ 2429+/* 2430+ * type uchar: small unsigned integers (8 bits suffice - but 7 bits do not) 2431+ * 2432+ * typedef unsigned char uchar; 2433+ * 2434+ * will be satisfactory if you have an "unsigned char" type; 2435+ * otherwise use 2436+ * 2437+ * typedef unsigned short int uchar; 2438+ */ 2439+#ifndef _AIX32 /* identical typedef in system file causes trouble */ 2440+typedef unsigned char uchar; 2441+#endif 2442+ 2443+#define RECORD_CONDUCT /* Record conduct challenges in logfile */ 2444+ 2445+/* 2446+ * Various structures have the option of using bitfields to save space. 2447+ * If your C compiler handles bitfields well (e.g., it can initialize structs 2448+ * containing bitfields), you can define BITFIELDS. Otherwise, the game will 2449+ * allocate a separate character for each bitfield. (The bitfields used never 2450+ * have more than 7 bits, and most are only 1 bit.) 2451+ */ 2452+#define BITFIELDS /* Good bitfield handling */ 2453+ 2454+/* #define STRNCMPI */ /* compiler/library has the strncmpi function */ 2455+ 2456+/* 2457+ * There are various choices for the NetHack vision system. There is a 2458+ * choice of two algorithms with the same behavior. Defining VISION_TABLES 2459+ * creates huge (60K) tables at compile time, drastically increasing data 2460+ * size, but runs slightly faster than the alternate algorithm. (MSDOS in 2461+ * particular cannot tolerate the increase in data size; other systems can 2462+ * flip a coin weighted to local conditions.) 2463+ * 2464+ * If VISION_TABLES is not defined, things will be faster if you can use 2465+ * MACRO_CPATH. Some cpps, however, cannot deal with the size of the 2466+ * functions that have been macroized. 2467+ */ 2468+/* WAC Can be defined under DJGPP, even though it's DOS*/ 2469+/*#define VISION_TABLES */ /* use vision tables generated at compile time */ 2470+#ifndef VISION_TABLES 2471+# ifndef NO_MACRO_CPATH 2472+# define MACRO_CPATH /* use clear_path macros instead of functions */ 2473+# endif 2474+#endif 2475+ 2476+/* 2477+ * Section 4: THE FUN STUFF!!! 2478+ * 2479+ * Conditional compilation of special options are controlled here. 2480+ * If you define the following flags, you will add not only to the 2481+ * complexity of the game but also to the size of the load module. 2482+ */ 2483+ 2484+/* dungeon features */ 2485+#define SINKS /* Kitchen sinks - Janet Walz */ 2486+#define LIGHT_SRC_SPELL /* WAC Light sourced spells (wac@intergate.bc.ca)*/ 2487+ 2488+/* dungeon levels */ 2489+#define WALLIFIED_MAZE /* Fancy mazes - Jean-Christophe Collet */ 2490+/* #define REINCARNATION */ /* Special Rogue-like levels */ 2491+#define BLACKMARKET /* Massimo Campostrini (campo@sunthpi3.difi.unipi.it) */ 2492+ 2493+/* monsters & objects */ 2494+#define KOPS /* Keystone Kops by Scott R. Turner */ 2495+#define SEDUCE /* Succubi/incubi seduction, by KAA, suggested by IM */ 2496+#define INVISIBLE_OBJECTS /* Not yet fully implemented */ 2497+#define UNPOLYPILE /* WAC -- Items can unpolymorph */ 2498+#define WALLET_O_P /* Perseus' Wallet, and all related code (tsanth@iname.com)*/ 2499+#define LIGHTSABERS 2500+#ifdef LIGHTSABERS 2501+# define D_SABER /* Enable WEAPON(dimsaber), and all related code (tsanth@iname.com)*/ 2502+#endif 2503+#define P_SPOON /* Enable WEPTOOL(spoon), and all related code (tsanth@iname.com)*/ 2504+#define FIREARMS /* KMH -- Guns and bullets */ 2505+#define EATEN_MEMORY /* WAC -- Remember which monsters have been eaten */ 2506+#define STEED /* The ability to ride monsters */ 2507+ 2508+/* Roles */ 2509+#define DWARF /* Dwarf Patch, Osku Salerma (osku@iki.fi) */ 2510+#define TOURIST /* Tourist players with cameras and Hawaiian shirts */ 2511+#define YEOMAN /* KMH -- Yeoman class */ 2512+/* #define ZOUTHERN */ /* KMH -- Zoutherner class and its animals */ 2513+ 2514+/* I/O */ 2515+#define REDO /* support for redoing last command - DGK */ 2516+#if !defined(MAC) 2517+# define CLIPPING /* allow smaller screens -- ERS */ 2518+#endif 2519+#ifdef TTY_GRAPHICS 2520+# define MENU_COLOR 2521+#endif 2522+ 2523+#if defined(UNIX) 2524+#define USE_REGEX_MATCH 2525+/* if USE_REGEX_MATCH is defined, use regular expressions (GNU regex.h) 2526+ * otherwise use pmatch() to match menu color lines. 2527+ * pmatch() provides basic globbing: '*' and '?' wildcards. 2528+ */ 2529+#endif 2530+ 2531+/* difficulty */ 2532+#define ELBERETH /* Engraving the E-word repels monsters */ 2533+/* #define NOARTIFACTWISH */ /* No wishing for special artifacts -- swhite@cs.mun.ca */ 2534+/* #define NO_BONES */ /*Disables loading and saving bones levels*/ 2535+ 2536+/* The following are best left disabled until their bugs are completely fixed */ 2537+ 2538+ 2539+/* User_sounds are sounds matches with messages. The messages are defined 2540+ * in the player's .nethackrc using lines of the form: 2541+ * 2542+ * SOUND=MESG <message-regex-pattern> <sound-filename> <volume> 2543+ * 2544+ * For example: 2545+ * 2546+ * SOUND=MESG "board beneath .....* squeaks" "squeak.au" 60 2547+ * 2548+ * By default, the filenames are relative to the nethack install directory, 2549+ * but this can be set in the .nethackrc via: 2550+ * 2551+ * SOUNDDIR=<directory> 2552+ */ 2553+/* #define USER_SOUNDS */ /* Allow user-defined regex mappings from messages to sounds */ 2554+ /* Only supported on Qt with NAS - Network Audio System */ 2555+ 2556+ 2557+#ifdef REDO 2558+# define DOAGAIN '\001' /* ^A, the "redo" key used in cmd.c and getline.c */ 2559+#endif 2560+ 2561+#define EXP_ON_BOTL /* Show experience on bottom line */ 2562+/* #define SCORE_ON_BOTL */ /* added by Gary Erickson (erickson@ucivax) */ 2563+/* #define BORG */ /* Works only under DOS */ 2564+/* #define KEEP_SAVE */ /* Keep savefiles after Restore (wac@intergate.bc.ca)*/ 2565+/* #define CHARON */ /* Charon's boat, enables Cerebus - not implemented */ 2566+#define SHOW_DMG /* WAC made dmg reports optional (wac@intergate.bc.ca)*/ 2567+#define SHOW_WEIGHT /* [max] added display of object weight when picking up */ 2568+ /* and in inventory (madmax@fly.cc.fer.hr). */ 2569+ /* Originally added by zaga. */ 2570+#define OTHER_SERVICES /* shopkeeper services */ 2571+#define DUNGEON_GROWTH 2572+ 2573+/* #define SHOUT */ /* JRN -- shouting and petcommands - not implemented */ 2574+ 2575+#define DISPLAY_LAYERS /* Improved support for transparent tile sets - ALI */ 2576+ 2577+/* 2578+ * Section 5: EXPERIMENTAL STUFF 2579+ * 2580+ * Conditional compilation of new or experimental options are controlled here. 2581+ * Enable any of these at your own risk -- there are almost certainly 2582+ * bugs left here. 2583+ */ 2584+ 2585+/*#define GOLDOBJ */ /* Gold is kept on obj chains - Helge Hafting */ 2586+#define AUTOPICKUP_EXCEPTIONS /* exceptions to autopickup */ 2587+ 2588+/* End of Section 5 */ 2589+ 2590+#include "global.h" /* Define everything else according to choices above */ 2591+ 2592+#endif /* CONFIG_H */ 2593diff -Naur a/slashem/include/unixconf.h b/slashem/include/unixconf.h 2594--- a/slashem/include/unixconf.h 2011-03-25 16:05:56.393015016 +0100 2595+++ b/slashem/include/unixconf.h 2011-03-26 01:44:37.918245007 +0100 2596@@ -174,7 +174,7 @@ 2597 * If you want the static parts of your playground on a read-only file 2598 * system, define VAR_PLAYGROUND to be where the variable parts are kept. 2599 */ 2600-/* #define VAR_PLAYGROUND "/var/lib/games/nethack" */ 2601+#define VAR_PLAYGROUND "/var/games/vulture-slashem" 2602 2603 2604 2605diff -Naur a/unnethack/include/config.h b/unnethack/include/config.h 2606--- a/unnethack/include/config.h 2011-03-25 16:07:02.920547017 +0100 2607+++ b/unnethack/include/config.h 2011-03-26 01:44:37.918245007 +0100 2608@@ -198,8 +198,8 @@ 2609 /* #define COMPRESS "/usr/bin/compress" */ /* Lempel-Ziv compression */ 2610 /* #define COMPRESS_EXTENSION ".Z" */ /* compress's extension */ 2611 /* An example of one alternative you might want to use: */ 2612-#define COMPRESS "/bin/gzip" /* FSF gzip compression */ 2613-#define COMPRESS_EXTENSION ".gz" /* normal gzip extension */ 2614+// #define COMPRESS "/bin/gzip" /* FSF gzip compression */ 2615+// #define COMPRESS_EXTENSION ".gz" /* normal gzip extension */ 2616 #endif 2617 2618 #ifndef COMPRESS 2619@@ -231,7 +231,7 @@ 2620 * otherwise it will be the current directory. 2621 */ 2622 # ifndef HACKDIR 2623-# define HACKDIR "/usr/games/lib/unnethackdir" 2624+# define HACKDIR "/usr/lib/games/vulture-unnethack" 2625 # endif 2626 2627 /* 2628diff -Naur a/unnethack/include/unixconf.h b/unnethack/include/unixconf.h 2629--- a/unnethack/include/unixconf.h 2011-03-25 16:07:02.560727016 +0100 2630+++ b/unnethack/include/unixconf.h 2011-03-26 01:44:37.918245007 +0100 2631@@ -102,7 +102,7 @@ 2632 * If you want the static parts of your playground on a read-only file 2633 * system, define VAR_PLAYGROUND to be where the variable parts are kept. 2634 */ 2635-/* #define VAR_PLAYGROUND "/var/lib/games/nethack" */ 2636+#define VAR_PLAYGROUND "/var/games/vulture-unnethack" 2637 2638 2639 /* 2640