home *** CD-ROM | disk | FTP | other *** search
/ Source Code 1994 March / Source_Code_CD-ROM_Walnut_Creek_March_1994.iso / compsrcs / games / volume16 / nethck31 / patch1l < prev    next >
Encoding:
Text File  |  1993-03-04  |  57.9 KB  |  1,710 lines

  1. Subject:  v17i053:  nethack31 - display oriented dungeons & dragons (Ver. 3.1), Patch1l/31
  2. Newsgroups: comp.sources.games
  3. Approved: billr@saab.CNA.TEK.COM
  4.  
  5. Submitted-by: izchak@linc.cis.upenn.edu (Izchak Miller)
  6. Posting-number: Volume 17, Issue 53
  7. Archive-name: nethack31/Patch1l
  8. Patch-To: nethack31: Volume 16, Issue 1-116
  9. Environment: Amiga, Atari, Mac, MS-DOS, Windows-NT, OS2, Unix, VMS, X11
  10.  
  11.  
  12.  
  13. #! /bin/sh
  14. # This is a shell archive.  Remove anything before this line, then unpack
  15. # it by saving it into a file and typing "sh file".  To overwrite existing
  16. # files, type "sh file -c".  You can also feed this as standard input via
  17. # unshar, or by typing "sh <file", e.g..  If this archive is complete, you
  18. # will see the following message at the end:
  19. #        "End of archive 12 (of 31)."
  20. # Contents:  patches01p sys/amiga/colors.uu
  21. # Wrapped by billr@saab on Fri Mar  5 10:50:44 1993
  22. PATH=/bin:/usr/bin:/usr/ucb ; export PATH
  23. if test -f 'patches01p' -a "${1}" != "-c" ; then 
  24.   echo shar: Renaming existing file \"'patches01p'\" to \"'patches01p.orig'\"
  25.   mv -f 'patches01p' 'patches01p.orig'
  26. fi
  27. echo shar: Extracting \"'patches01p'\" \(53277 characters\)
  28. sed "s/^X//" >'patches01p' <<'END_OF_FILE'
  29. X*** /tmp/da08862    Thu Feb 25 10:26:41 1993
  30. X--- sys/amiga/Install.ami    Tue Feb 23 09:38:15 1993
  31. X***************
  32. X*** 2,10 ****
  33. X        Using, Compiling, and Installing Amiga NetHack 3.1
  34. X        (or Everything You Never Wanted to Know Before NetHacking)
  35. X  
  36. X!          Last Revision: 12 January 1993 for NetHack 3.1
  37. X  
  38. X  
  39. X  I. Introduction
  40. X  
  41. X  I.A. Overview
  42. X--- 2,21 ----
  43. X        Using, Compiling, and Installing Amiga NetHack 3.1
  44. X        (or Everything You Never Wanted to Know Before NetHacking)
  45. X  
  46. X!          Last Revision: 22 February 1993 for NetHack 3.1.1
  47. X  
  48. X  
  49. X+ 0. Pre-intro for NetHack 3.1.1.
  50. X+    New for 3.1.1:
  51. X+      Audio support.
  52. X+      Much faster loading, slightly smaller files.
  53. X+      HackWB allows NewGame to be copied for multiple sets of defaults.
  54. X+      HackCli allows options to be changed between games.
  55. X+      Many fewer bugs.
  56. X+ 
  57. X+    We would also like to thank each and every one of the people who took
  58. X+    the time and effort to report bugs to us.  THANK YOU!
  59. X+ 
  60. X  I. Introduction
  61. X  
  62. X  I.A. Overview
  63. X***************
  64. X*** 53,58 ****
  65. X--- 64,71 ----
  66. X  
  67. X  
  68. X  II. Using Amiga NetHack 3.1
  69. X+     The short version: from the WorkBench click on HackWB and from the
  70. X+     CLI invoke HackCli.
  71. X  
  72. X  II.A. Sources of Information
  73. X      Where to go depends on what you want to find out.  If you want to find
  74. X***************
  75. X*** 59,70 ****
  76. X      out about distributing NetHack, read the license (in NetHack:license or
  77. X      type ?i during the game).  For an introduction to NetHack, read the
  78. X      GuideBook file.  Finally, for information during the game on all kinds
  79. X!     of things, type ? and select from the menu.
  80. X  
  81. X  II.B. The Amiga NetHack WorkBench Front End
  82. X!     The Amiga NetHack Front End looks more or less like a WorkBench
  83. X!     Drawer - and acts the same way.  Games start with double clicks and
  84. X!     menus provide more detailed control of games and defaults.  On-line
  85. X      help is available - just press the help key.
  86. X  
  87. X      Just as with WorkBench itself, options for games are set using the Info
  88. X--- 72,85 ----
  89. X      out about distributing NetHack, read the license (in NetHack:license or
  90. X      type ?i during the game).  For an introduction to NetHack, read the
  91. X      GuideBook file.  Finally, for information during the game on all kinds
  92. X!     of things, type ? and select from the menu.  Further information on
  93. X!     HackWB is below and available from HackWB - press the Help key; more
  94. X!     information on HackCli is in the NetHack ManPage.
  95. X  
  96. X  II.B. The Amiga NetHack WorkBench Front End
  97. X!     The Amiga NetHack WorkBench Front End, HackWB, looks more or less like a
  98. X!     WorkBench Drawer - and acts the same way.  Games start with double clicks
  99. X!     and menus provide more detailed control of games and defaults.  On-line
  100. X      help is available - just press the help key.
  101. X  
  102. X      Just as with WorkBench itself, options for games are set using the Info
  103. X***************
  104. X*** 71,77 ****
  105. X      menu item to modify Tooltypes.  Most common options can be set more 
  106. X      easily using buttons available via Info also.
  107. X  
  108. X!     You can adjust the following using the ToolTypes from the Info command:
  109. X  
  110. X      * OPTIONS=<options> - Options as available in the NetHack.cnf file.
  111. X  
  112. X--- 86,93 ----
  113. X      menu item to modify Tooltypes.  Most common options can be set more 
  114. X      easily using buttons available via Info also.
  115. X  
  116. X!     If necessary, you can adjust the following using the ToolTypes from the
  117. X!     Info command:
  118. X  
  119. X      * OPTIONS=<options> - Options as available in the NetHack.cnf file.
  120. X  
  121. X***************
  122. X*** 96,116 ****
  123. X      values for OPTIONS, which will generally be overridden by ToolTypes
  124. X      entries.
  125. X  
  126. X!     Also, there is one additional option that may be specified in the
  127. X!     NetHack.cnf file or on an OPTIONS line: flush.  When enabled, flush
  128. X!     discards all characters in the queue except the first, which limits
  129. X!     typeahead accidents.  The default setting is noflush.
  130. X  
  131. X      Usually, most of the confusing options will be set in the NetHack.cnf
  132. X      file once when the game is installed and can be ignored after that.
  133. X  
  134. X  II.C. The Amiga NetHack CLI Front End
  135. X!     The CLI Front End provides the standard Unix-like command line interface
  136. X!     to NetHack.  Unlike the Unix front end however, the CLI front end will
  137. X!     ask if you want to play again before exiting.  See the ManPage file for
  138. X!     the standard Unix flags for NetHack.  In addition to those flags, Amiga
  139. X!     NetHack accepts flags -l to force non-interlaced mode and -L to force
  140. X!     interlaced mode.
  141. X  
  142. X  
  143. X  III. Installing Amiga NetHack 3.1
  144. X--- 112,133 ----
  145. X      values for OPTIONS, which will generally be overridden by ToolTypes
  146. X      entries.
  147. X  
  148. X!     Also, there are two additional options that may be specified in the
  149. X!     NetHack.cnf file or on an OPTIONS line: flush and silent.  When enabled,
  150. X!     flush discards all characters in the queue except the first, which limits
  151. X!     typeahead accidents.  The default setting is noflush.  Silent turns off
  152. X!     the (new for 3.1.1) audio output.
  153. X  
  154. X      Usually, most of the confusing options will be set in the NetHack.cnf
  155. X      file once when the game is installed and can be ignored after that.
  156. X  
  157. X  II.C. The Amiga NetHack CLI Front End
  158. X!     The CLI Front End, HackCli, provides the standard Unix-like command line
  159. X!     interface to NetHack.  Unlike the Unix front end however, the CLI front
  160. X!     end will ask if you want to play again (and optionally change the
  161. X!     arguments) before exiting.  See the ManPage file for the standard Unix
  162. X!     flags for NetHack.  In addition to those flags, Amiga NetHack accepts
  163. X!     flags -l to force non-interlaced mode and -L to force interlaced mode.
  164. X  
  165. X  
  166. X  III. Installing Amiga NetHack 3.1
  167. X***************
  168. X*** 125,131 ****
  169. X      work will be done by the time the build is finished.
  170. X  
  171. X      IF YOU ALREADY HAVE A PREVIOUS VERSION INSTALLED YOU MUST DELETE THE
  172. X!     OLD SAVE AND BONES FILES - THEY WILL NOT WORK!
  173. X  
  174. X  Will NetHack fit on your machine?
  175. X      NetHack 3.1 is large.  NetHack 3.1 is very large.  You will need:
  176. X--- 142,149 ----
  177. X      work will be done by the time the build is finished.
  178. X  
  179. X      IF YOU ALREADY HAVE A PREVIOUS VERSION INSTALLED YOU MUST DELETE THE
  180. X!     OLD SAVE AND BONES FILES - THEY WILL NOT WORK!  This includes save
  181. X!     and bones files from NetHack 3.1.0.
  182. X  
  183. X  Will NetHack fit on your machine?
  184. X      NetHack 3.1 is large.  NetHack 3.1 is very large.  You will need:
  185. X***************
  186. X*** 148,170 ****
  187. X          NHlevels
  188. X      Hard Disk installation:
  189. X          cd to wherever you want to install NetHack
  190. X!     makedir NetHack
  191. X!     makedir NetHack/save
  192. X!     makedir NetHack/levels
  193. X      In s:User-Sequence (under 2.0 or later) or s:Startup (under 1.3),
  194. X      assign NetHack: to the NetHack directory you created above.
  195. X      assign HackExe: to the same directory.
  196. X  Install the files
  197. X      Unpack the archives in the directories or onto the disks (you can
  198. X!     tell what to unpack where by the file names).  Use the table in the
  199. X!     next section to see where things should end up.  Be sure that the
  200. X!     file 8 ends up in NetHack:hack/8.
  201. X  
  202. X  Configuration
  203. X      Using your favorite text editor, edit NetHack:NetHack.cnf to match
  204. X      your system.  Check HackExe:NetHack.dir and be sure that the paths
  205. X!     are correct.  The HackWB program uses several standard Amiga programs
  206. X!     that must be installed in their standard places: c:copy, c:rename.
  207. X  
  208. X  III.B. File Location Table
  209. X      NetHack:
  210. X--- 166,194 ----
  211. X          NHlevels
  212. X      Hard Disk installation:
  213. X          cd to wherever you want to install NetHack
  214. X!     make a new directory to be the main NetHack directory:
  215. X!       makedir NetHack
  216. X!     and the subdirectories:
  217. X!       makedir NetHack/save
  218. X!       makedir NetHack/levels
  219. X      In s:User-Sequence (under 2.0 or later) or s:Startup (under 1.3),
  220. X      assign NetHack: to the NetHack directory you created above.
  221. X      assign HackExe: to the same directory.
  222. X  Install the files
  223. X      Unpack the archives in the directories or onto the disks (you can
  224. X!     tell what to unpack where by the file names) by cd'ing to HackExe:
  225. X!     and unpacking archive 1 and then to NetHack: and unpacking archive 2.
  226. X!     Use the table in the next section to see where things should end up.
  227. X!     Be sure that the file 8 ends up in NetHack:hack/8 and that the sounds
  228. X!     files end up in the NetHack:sounds directory.
  229. X  
  230. X  Configuration
  231. X      Using your favorite text editor, edit NetHack:NetHack.cnf to match
  232. X      your system.  Check HackExe:NetHack.dir and be sure that the paths
  233. X!     are correct (note that the C or D beginning the line is required and
  234. X!     is not part of the file path).  The HackWB program uses two standard
  235. X!     Amiga programs that must be installed in their standard places: c:copy,
  236. X!     c:rename.
  237. X  
  238. X  III.B. File Location Table
  239. X      NetHack:
  240. X***************
  241. X*** 171,204 ****
  242. X      A-filla.lev    A-fillb.lev    A-goal.lev    A-locate.lev
  243. X      A-start.lev    air.lev        asmodeus.lev    astral.lev
  244. X      B-filla.lev    B-fillb.lev    B-goal.lev    B-locate.lev
  245. X!     B-start.lev    baalz.lev    bigroom.lev    C-filla.lev
  246. X!     C-fillb.lev    C-goal.lev    C-locate.lev    C-start.lev
  247. X!     castle.lev    cmdhelp        data        default.icon
  248. X      dungeon        E-filla.lev    E-fillb.lev    E-goal.lev
  249. X      E-locate.lev    E-start.lev    earth.lev    fakewiz1.lev
  250. X!     fakewiz2.lev    fire.lev    Guidebook    Guidebook.info
  251. X!     H-filla.lev    H-fillb.lev    H-goal.lev    H-locate.lev
  252. X!     H-start.lev    hack/8        hack.font    HackWB
  253. X!     HackWB.info    HackCli        help        hh
  254. X!     history        juiblex.lev    K-filla.lev    K-fillb.lev
  255. X!     K-goal.lev    K-locate.lev    K-start.lev    knox.lev
  256. X!     license        logfile        ManPage        ManPage.info
  257. X!     medusa-1.lev    medusa-2.lev    minefill.lev    minetown.lev
  258. X!     mine_end.lev    NetHack.cnf    NetHack.c01    NetHack.d00
  259. X!     news        NewGame.info    opthelp        options
  260. X!     oracle.lev    oracles        orcus.lev    P-filla.lev
  261. X!     P-fillb.lev    P-goal.lev    P-locate.lev    P-start.lev
  262. X!     perm        quest.dat    R-filla.lev    R-fillb.lev
  263. X!     R-goal.lev    R-locate.lev    R-start.lev    ReadMe
  264. X!     ReadMe.info    record        recover        rumors
  265. X!     S-filla.lev    S-fillb.lev    S-goal.lev    S-locate.lev
  266. X!     S-start.lev    sanctum.lev    T-filla.lev    T-fillb.lev
  267. X!     T-goal.lev    T-locate.lev    T-start.lev    tower1.lev
  268. X!     tower2.lev    tower3.lev    V-filla.lev    V-fillb.lev
  269. X!     V-goal.lev    V-locate.lev    V-start.lev    valley.lev
  270. X!     W-filla.lev    W-fillb.lev    W-goal.lev    W-locate.lev
  271. X!     W-start.lev    water.lev    wizard1.lev    wizard2.lev
  272. X!     wizard3.lev    wizhelp
  273. X  
  274. X      HackExe:
  275. X      NetHack.dir
  276. X--- 195,231 ----
  277. X      A-filla.lev    A-fillb.lev    A-goal.lev    A-locate.lev
  278. X      A-start.lev    air.lev        asmodeus.lev    astral.lev
  279. X      B-filla.lev    B-fillb.lev    B-goal.lev    B-locate.lev
  280. X!     B-start.lev    baalz.lev    Bell        bigroom.lev
  281. X!     Bugle        C-filla.lev    C-fillb.lev    C-goal.lev
  282. X!     C-locate.lev    C-start.lev    castle.lev    cmdhelp
  283. X!     data        default.icon    Drum_Of_Earthquake
  284. X      dungeon        E-filla.lev    E-fillb.lev    E-goal.lev
  285. X      E-locate.lev    E-start.lev    earth.lev    fakewiz1.lev
  286. X!     fakewiz2.lev    Fire_Horn    fire.lev    Frost_Horn
  287. X!     Guidebook    Guidebook.info    H-filla.lev    H-fillb.lev
  288. X!     H-goal.lev    H-locate.lev    H-start.lev    hack/8
  289. X!     hack.font    HackWB        HackWB.info    HackCli
  290. X!     help        hh        history        juiblex.lev
  291. X!     K-filla.lev    K-fillb.lev    K-goal.lev    K-locate.lev
  292. X!     K-start.lev    knox.lev    Leather_Drum    license
  293. X!     logfile        Magic_Flute    Magic_Harp    ManPage
  294. X!     ManPage.info    medusa-1.lev    medusa-2.lev    minefill.lev
  295. X!     minetown.lev    mine_end.lev    NetHack.cnf    NetHack.c01
  296. X!     NetHack.d00    news        NewGame.info    opthelp
  297. X!     options        oracle.lev    oracles        orcus.lev
  298. X!     P-filla.lev    P-fillb.lev    P-goal.lev    P-locate.lev
  299. X!     P-start.lev    perm        quest.dat    R-filla.lev
  300. X!     R-fillb.lev    R-goal.lev    R-locate.lev    R-start.lev
  301. X!     ReadMe        ReadMe.info    record        recover
  302. X!     rumors        S-filla.lev    S-fillb.lev    S-goal.lev
  303. X!     S-locate.lev    S-start.lev    sanctum.lev    T-filla.lev
  304. X!     T-fillb.lev    T-goal.lev    T-locate.lev    T-start.lev
  305. X!     Tooled_Horn    tower1.lev    tower2.lev    tower3.lev
  306. X!     V-filla.lev    V-fillb.lev    V-goal.lev    V-locate.lev
  307. X!     V-start.lev    valley.lev    W-filla.lev    W-fillb.lev
  308. X!     W-goal.lev    W-locate.lev    W-start.lev    water.lev
  309. X!     wizard1.lev    wizard2.lev    wizard3.lev    wizhelp
  310. X!     Wooden_Flute    Wooden_Harp
  311. X  
  312. X      HackExe:
  313. X      NetHack.dir
  314. X***************
  315. X*** 215,226 ****
  316. X      good bit of memory.
  317. X  
  318. X  IV.B. Basic Compilation
  319. X!     NetHack can be built with SAS/C version 5.10b, Manx/Aztec version 5,
  320. X      or the registered version of DICE.  The "official" compiler for NetHack 3.1
  321. X!     patchlevel 0 is SAS/C 5.10b - we expect to be moving to SAS/C version 6.2
  322. X!     after it is released (6.0 was not available soon enough to gain our
  323. X!     confidence for releasing binaries based on it).  The game will compile
  324. X!     under SAS/C 6.x with small changes.
  325. X  
  326. X  IV.B.1. Introduction to Compiling NetHack
  327. X      Before doing any compilation, read the README files distributed
  328. X--- 242,250 ----
  329. X      good bit of memory.
  330. X  
  331. X  IV.B. Basic Compilation
  332. X!     NetHack can be built with SAS/C version 6.2, Manx/Aztec version 5,
  333. X      or the registered version of DICE.  The "official" compiler for NetHack 3.1
  334. X!     patchlevel 1 is SAS/C 6.2 - we have dropped support for SAS/C 5.x.
  335. X  
  336. X  IV.B.1. Introduction to Compiling NetHack
  337. X      Before doing any compilation, read the README files distributed
  338. X***************
  339. X*** 236,249 ****
  340. X      need to be checked:
  341. X  
  342. X      UNIX - undef
  343. X!     MACROCPATH - undef
  344. X      HACKDIR - define as "NetHack:"
  345. X  
  346. X-     For SAS/C 6.x, in config.h, make sure that '#define NEARDATA' is used
  347. X-     and not '#define NEARDATA __near'.  The v5 compiler recognizes a
  348. X-     different syntax than the v6 compiler for this construct. You will
  349. X-     need to build without __near for now to get around this problem.
  350. X- 
  351. X      At this point, you're almost ready to begin a compile.  Read VERY
  352. X      CAREFULLY through the Makefile to familiarize yourself with which
  353. X      assignments are assumed.  Otherwise, you're going to get something
  354. X--- 260,268 ----
  355. X      need to be checked:
  356. X  
  357. X      UNIX - undef
  358. X!     MACRO_CPATH - undef
  359. X      HACKDIR - define as "NetHack:"
  360. X  
  361. X      At this point, you're almost ready to begin a compile.  Read VERY
  362. X      CAREFULLY through the Makefile to familiarize yourself with which
  363. X      assignments are assumed.  Otherwise, you're going to get something
  364. X***************
  365. X*** 264,272 ****
  366. X      make install should be done in NetHack:; for both runs, the makefile
  367. X      is Amiga:Makefile.ami.
  368. X  
  369. X-     For SAS/C 6.x: in Makefile.ami, comment out the SAS5 macros and
  370. X-     uncomment the SAS6 macros.
  371. X- 
  372. X      Note that not all the source is simple C code.  If you are modifying
  373. X      lev_comp or dgn_comp you may need bison and/or flex (depending on what
  374. X      modifications you are making).  If you wish to modify the Intuition
  375. X--- 283,288 ----
  376. X***************
  377. X*** 282,297 ****
  378. X      fails due to prototype errors for malloc and realloc, try deleting
  379. X      the first line of lev_comp.c and dgn_comp.c.
  380. X  
  381. X! IV.B.2. Compiling NetHack with SAS/C version 5
  382. X  
  383. X!     NOTE WELL - Amiga NetHack will be dropping support for SAS/C version 5
  384. X!     and moving to SAS/C version 6 almost immediately.  Upgrade now!  You
  385. X!     have been warned.
  386. X  
  387. X-     This version of NetHack was developed with SAS/C 5.10b and SAS/C 6.1.
  388. X-     Earlier versions of the compiler are known to cause problems - don't
  389. X-     use them.
  390. X- 
  391. X      A couple of notes and warnings from the SAS/C users on the team:
  392. X  
  393. X      * Included in the SAS/C port is code for generating a SnapShot.tb
  394. X--- 298,309 ----
  395. X      fails due to prototype errors for malloc and realloc, try deleting
  396. X      the first line of lev_comp.c and dgn_comp.c.
  397. X  
  398. X! IV.B.2. Compiling NetHack with SAS/C version 6.2
  399. X  
  400. X!     NOTE WELL - Amiga NetHack has dropped support for SAS/C version 5.
  401. X!     This version of NetHack was developed with SAS/C 6.2.  Earlier versions
  402. X!     of the compiler are known to cause problems - don't use them.
  403. X  
  404. X      A couple of notes and warnings from the SAS/C users on the team:
  405. X  
  406. X      * Included in the SAS/C port is code for generating a SnapShot.tb
  407. X***************
  408. X*** 300,328 ****
  409. X        image, but it does not increase the run time memory requirements.
  410. X            (But note that this is not useful for split binaries - see below.)
  411. X  
  412. X!     * The 5.10b optimizer does not produce correct code for NetHack.
  413. X  
  414. X      * There are a large number of warnings under SAS/C, which are
  415. X        harmless.
  416. X  
  417. X!     * Some versions of flex produce #line statements with the file name
  418. X!       in quotes: version 5.10b doesn't like this.  For some reason lc tries
  419. X!       to access this file, which results in a bogus requestor for "Util:
  420. X!       (yes, there is one quote mark in front of Util:) - select cancel
  421. X!       and ignore the problem or add -L to the FLEX definition in
  422. X!       Makefile.ami.  SAS says that this will be fixed in 6.0.
  423. X! 
  424. X! IV.B.3. Compiling NetHack with SAS/C version 6
  425. X!     Very simliar to compiling under version 5 except all the command lines
  426. X!     are different - see the Makefile.  Also, see the note above about
  427. X!     NEARDATA.
  428. X! 
  429. X! IV.B.4. Compiling NetHack with Manx/Aztec version 5
  430. X      The Manx port has not been tested recently and is probably broken.  We
  431. X      expect to have it back in shape soon but we welcome context diffs.  As
  432. X      of the last check, NetHack required version 5.0B of the compiler.  
  433. X  
  434. X! IV.B.5    Compiling NetHack with the registered version of DICE
  435. X      The DICE port was complete at one point but has not been tested in
  436. X      several months - it probably will not work as is.  We welcome context
  437. X      diffs (or volunteers) to fix it.
  438. X--- 312,329 ----
  439. X        image, but it does not increase the run time memory requirements.
  440. X            (But note that this is not useful for split binaries - see below.)
  441. X  
  442. X!     * The 5.10b optimizer did not produce correct code for NetHack.  The
  443. X!       current optimizer has not been tested.
  444. X  
  445. X      * There are a large number of warnings under SAS/C, which are
  446. X        harmless.
  447. X  
  448. X! IV.B.3. Compiling NetHack with Manx/Aztec version 5
  449. X      The Manx port has not been tested recently and is probably broken.  We
  450. X      expect to have it back in shape soon but we welcome context diffs.  As
  451. X      of the last check, NetHack required version 5.0B of the compiler.  
  452. X  
  453. X! IV.B.4    Compiling NetHack with the registered version of DICE
  454. X      The DICE port was complete at one point but has not been tested in
  455. X      several months - it probably will not work as is.  We welcome context
  456. X      diffs (or volunteers) to fix it.
  457. X***************
  458. X*** 347,350 ****
  459. X      decision is based on the presence (or absence) of HackExe:NetHack.dir.
  460. X      Note that the contents of NetHack.dir after a build will generally not
  461. X      be the correct contents for a floppy based system.
  462. X-    
  463. X--- 348,350 ----
  464. X*** /tmp/da08870    Thu Feb 25 19:26:12 1993
  465. X--- sys/amiga/Makefile.ami    Thu Feb 25 19:26:52 1993
  466. X***************
  467. X*** 1,12 ****
  468. X  #    NetHack Makefile.
  469. X! #    SCCS Id: @(#)Makefile.ami    3.3    93/01/08
  470. X  # Copyright (c) Kenneth Lorber, Bethesda, Maryland, 1991, 1992, 1993.
  471. X  # NetHack may be freely redistributed.  See license for details.
  472. X  
  473. X! # This makefile is arranged for compiling for the Amiga with SAS/C 5.10b but
  474. X! # can be configured for compiling with Manx C 5, SAS/C 6.1, or registered DICE
  475. X  # with simple changes.  The appropriate changes are identified by #[compiler]
  476. X! # where compiler is one of: SAS5, SAS6, MANX, or DICE; the options in
  477. X  # this makefile as should be set according to the compiler being used.
  478. X  
  479. X  # Note: When using the Manx compiler, an alternate make utility is
  480. X--- 1,12 ----
  481. X  #    NetHack Makefile.
  482. X! #    SCCS Id: @(#)Makefile.ami    3.3    93/02/02
  483. X  # Copyright (c) Kenneth Lorber, Bethesda, Maryland, 1991, 1992, 1993.
  484. X  # NetHack may be freely redistributed.  See license for details.
  485. X  
  486. X! # This makefile is arranged for compiling for the Amiga with SAS/C 6.2 but
  487. X! # can be configured for compiling with Manx C 5, or registered DICE
  488. X  # with simple changes.  The appropriate changes are identified by #[compiler]
  489. X! # where compiler is one of: SAS6, MANX, or DICE; the options in
  490. X  # this makefile as should be set according to the compiler being used.
  491. X  
  492. X  # Note: When using the Manx compiler, an alternate make utility is
  493. X***************
  494. X*** 35,46 ****
  495. X  #    cd NetHack:
  496. X  #    smake -f Amiga:Makefile.ami install
  497. X  #
  498. X- #[SAS5]
  499. X- #    cd OBJ:
  500. X- #    lmk -f Amiga:Makefile.ami
  501. X- #    cd NetHack:
  502. X- #    lmk -f Amiga:Makefile.ami install
  503. X- #
  504. X  #[MANX]
  505. X  #    cd OBJ:
  506. X  #    make -f Amiga:Makefile.ami
  507. X--- 35,40 ----
  508. X***************
  509. X*** 82,93 ****
  510. X  #    setdate Ram:hack.sym {date & time of Incl:hack.h}
  511. X  #    smake -f Amiga:Makefile.ami
  512. X  #
  513. X- #[SAS5]
  514. X- #    cd NetHack:
  515. X- #    lmk -f Amiga:Makefile.ami Ram:hack.sym
  516. X- #    setdate Ram:hack.sym {date & time of Incl:hack.h}
  517. X- #    lmk -f Amiga:Makefile.ami
  518. X- #
  519. X  #[MANX]
  520. X  #    cd NetHack:
  521. X  #    make -f Amiga:Makefile.ami Ram:hack.sym
  522. X--- 76,81 ----
  523. X***************
  524. X*** 95,109 ****
  525. X  #    make -f Amiga:Makefile.ami
  526. X  
  527. X  #[SAS5]
  528. X- #   If we were to use the precompiled header file feature, we would uncomment
  529. X- #   these following two lines.  However, there are still problems in the
  530. X- #   behavior of this feature in version 5.04, so these lines are commented
  531. X- #   out for now.
  532. X- 
  533. X- #HDEP    = Ram:hack.sym
  534. X- #CSYM    = -HRam:hack.sym
  535. X- 
  536. X- #[SAS5]
  537. X  #   If we were to use the precompiled header file feature in a newer version
  538. X  #   of SAS/C, we would comment out these following two lines.
  539. X  #   If we don't use precompiled header files, we uncomment it as well.
  540. X--- 83,88 ----
  541. X***************
  542. X*** 138,144 ****
  543. X  # FBFIL and FBLIB may be used, if required by your version of flex or bison,
  544. X  # to specify additional files or libraries to be linked with
  545. X  FBFIL    =
  546. X! FBLIB    = lib:compat.lib
  547. X  
  548. X  # If you're compiling this on a 1.3 system, you'll have to uncomment the
  549. X  # following (for use with the ifchange script below).  Also useful instead of
  550. X--- 117,123 ----
  551. X  # FBFIL and FBLIB may be used, if required by your version of flex or bison,
  552. X  # to specify additional files or libraries to be linked with
  553. X  FBFIL    =
  554. X! FBLIB    = #lib lib:compat.lib
  555. X  
  556. X  # If you're compiling this on a 1.3 system, you'll have to uncomment the
  557. X  # following (for use with the ifchange script below).  Also useful instead of
  558. X***************
  559. X*** 148,158 ****
  560. X  # Pathname for the C compiler being used.
  561. X  
  562. X  #[SAS6]
  563. X! #CC    = sc
  564. X  
  565. X- #[SAS5]
  566. X- CC    = lc
  567. X- 
  568. X  #[MANX]
  569. X  #CC    = cc
  570. X  
  571. X--- 127,134 ----
  572. X  # Pathname for the C compiler being used.
  573. X  
  574. X  #[SAS6]
  575. X! CC    = sc
  576. X  
  577. X  #[MANX]
  578. X  #CC    = cc
  579. X  
  580. X***************
  581. X*** 183,220 ****
  582. X  # undefine this to not compile with GSTs
  583. X  #GST=gst=$(GSTFILE)
  584. X  #
  585. X! #DEBUG=l
  586. X! #CFLAGS    = data=far nminc debug=$(DEBUG) idir=incl: cpu=any nostkchk ign=104 \
  587. X! #        ignore=85,62 strmerge optsize ppbuf=8000 afp $(ERRREXX) $(GST)
  588. X  # for files that are too large for the standard flags:
  589. X! #CFLAGS2 = code=far nostrmerge
  590. X! #WBCFLAGS = ignore=217,62 data=far ansi nminc code=far debug=sf $(ERRREXX) $(GST)
  591. X! #WBC2FLAGS = define=CLI
  592. X! #WBLFLAGS =
  593. X! #CCFLAGS = define=
  594. X! #SPLFLAGS = ignore=77 define=SPLIT
  595. X  
  596. X- #[SAS5]
  597. X- #   Note: make sure your CLI stack size is large (at least 50K) or lev_comp
  598. X- #   and makedefs may fail terribly - stack checking is disabled.
  599. X- CFLAGS    = -b0 -cfi -d1 -iIncl: -ma -v -cs -ms -z8000 -r0 #-O
  600. X- # for files that are too large for the standard flags: 
  601. X- CFLAGS2 = -r0
  602. X- CCDEF = -d
  603. X- WBCFLAGS = -r0 -b0 -cafis -d1 #-O
  604. X- WBC2FLAGS = -dCLI
  605. X- WBLFLAGS =
  606. X- SPLFLAGS = -cd -dSPLIT
  607. X- 
  608. X  #[MANX]
  609. X  #CFLAGS = -iincl: -mc -md -ms -pa -ps -bs -wo -qq
  610. X  #WBCFLAGS = -mc -md -ms -pa -ps -bs -wo -qq -pp
  611. X- #WBLFLAGS = +cd
  612. X  
  613. X  #[DICE]
  614. X  #CFLAGS = -c -Iincl: -mD -mC -ms
  615. X  #WBCFLAGS = -c -ms
  616. X- #WBLFLAGS =
  617. X  
  618. X  # Components of varous link command lines:
  619. X  #   $(LINK) should be the pathname of the linker being used (with any options
  620. X--- 159,182 ----
  621. X  # undefine this to not compile with GSTs
  622. X  #GST=gst=$(GSTFILE)
  623. X  #
  624. X! DEBUG=l
  625. X! CFLAGS    = data=far nminc debug=$(DEBUG) idir=incl: cpu=any nostkchk ign=104 \
  626. X!     codename=none ignore=85,62 strmerge optsize ppbuf=8000 \
  627. X!     afp $(ERRREXX) $(GST)
  628. X  # for files that are too large for the standard flags:
  629. X! CFLAGS2 = code=far nostrmerge
  630. X! WBCFLAGS = ignore=217,62 data=far ansi nminc code=far \
  631. X!     debug=sf $(ERRREXX) $(GST)
  632. X! WBC2FLAGS = define=CLI
  633. X! SPLFLAGS = ignore=77 define=SPLIT dollarok
  634. X  
  635. X  #[MANX]
  636. X  #CFLAGS = -iincl: -mc -md -ms -pa -ps -bs -wo -qq
  637. X  #WBCFLAGS = -mc -md -ms -pa -ps -bs -wo -qq -pp
  638. X  
  639. X  #[DICE]
  640. X  #CFLAGS = -c -Iincl: -mD -mC -ms
  641. X  #WBCFLAGS = -c -ms
  642. X  
  643. X  # Components of varous link command lines:
  644. X  #   $(LINK) should be the pathname of the linker being used (with any options
  645. X***************
  646. X*** 230,259 ****
  647. X  
  648. X  #[SAS6]
  649. X  
  650. X! #LINK    = sc link
  651. X! #LIN    = startup=catch
  652. X! #LLINK    = with Amiga:ami.lnk
  653. X! #LLIB    = lib=Lib:sc.lib lib=lib:amiga.lib BATCH #scnb.lib or sc.lib
  654. X! #FLLIB    = lib=$(FBLIB) Lib:sc.lib BATCH
  655. X! #OBJSPEC = objname=
  656. X! #PNSPEC = pname=
  657. X! #INCLSPEC = idir=
  658. X! #DEFSPEC = define=
  659. X! #IGNSPEC = ignore=
  660. X! #COMPACT_HEADERS=$(GSTFILE) $(COPYNGST)
  661. X! 
  662. X! #[SAS5]
  663. X! 
  664. X! LINK    = Blink to
  665. X! LIN    = from Lib:catch.o
  666. X  LLINK    = with Amiga:ami.lnk
  667. X! LLIB    = lib Lib:lc.lib lib:amiga.lib BATCH #lcnb.lib or lc.lib
  668. X! FLLIB    = lib $(FBLIB) Lib:lc.lib BATCH
  669. X! OBJSPEC = -o
  670. X  PNSPEC =
  671. X! INCLSPEC = -i
  672. X! DEFSPEC = -d
  673. X! IGNSPEC = -j
  674. X  
  675. X  #[MANX]
  676. X  
  677. X--- 192,208 ----
  678. X  
  679. X  #[SAS6]
  680. X  
  681. X! LINK    = slink noicons maxhunk 10000 to
  682. X! LIN    = from lib:catch.o
  683. X  LLINK    = with Amiga:ami.lnk
  684. X! LLIB    = lib Lib:sc.lib lib lib:amiga.lib BATCH #scnb.lib or sc.lib
  685. X! FLLIB    = $(FBLIB) lib Lib:sc.lib BATCH
  686. X! OBJSPEC = objname=
  687. X  PNSPEC =
  688. X! INCLSPEC = idir=
  689. X! DEFSPEC = define=
  690. X! IGNSPEC = ignore=
  691. X! COMPACT_HEADERS=$(GSTFILE) $(COPYNGST)
  692. X  
  693. X  #[MANX]
  694. X  
  695. X***************
  696. X*** 348,354 ****
  697. X  
  698. X  AMIGAOBJ = \
  699. X      OBJ:amidos.o    OBJ:amirip.o     OBJ:amiwbench.o OBJ:amiwind.o    \
  700. X!     OBJ:winami.o
  701. X  
  702. X  SHAREOBJ = \
  703. X      OBJ:pcmain.o    $(RANDOBJ)
  704. X--- 297,303 ----
  705. X  
  706. X  AMIGAOBJ = \
  707. X      OBJ:amidos.o    OBJ:amirip.o     OBJ:amiwbench.o OBJ:amiwind.o    \
  708. X!     OBJ:winami.o    OBJ:amisnd.o
  709. X  
  710. X  SHAREOBJ = \
  711. X      OBJ:pcmain.o    $(RANDOBJ)
  712. X***************
  713. X*** 363,369 ****
  714. X  all:  $(COMPACT_HEADERS) NetHack:lev_comp NetHack:dgn_comp $(GAME) \
  715. X      NetHack:HackWB NetHack:recover NetHack:HackCli NetHack:splitter
  716. X  
  717. X! install: inst-data inst-dungeon inst-icons inst-fonts HackExe:NetHack.dir
  718. X  
  719. X  Amiga:compacted:
  720. X      lmk -f compact.lmk DST=$(COMPACT_DEST) SRC=$(COMPACT_SRC)
  721. X--- 312,318 ----
  722. X  all:  $(COMPACT_HEADERS) NetHack:lev_comp NetHack:dgn_comp $(GAME) \
  723. X      NetHack:HackWB NetHack:recover NetHack:HackCli NetHack:splitter
  724. X  
  725. X! install: inst-data inst-dungeon inst-icons inst-fonts inst-sounds HackExe:NetHack.dir
  726. X  
  727. X  Amiga:compacted:
  728. X      lmk -f compact.lmk DST=$(COMPACT_DEST) SRC=$(COMPACT_SRC)
  729. X***************
  730. X*** 396,402 ****
  731. X  # The default method for creating object files:
  732. X  
  733. X  #[SAS6]
  734. X- #[SAS5]
  735. X  
  736. X  .c.o:
  737. X      $(CC) $(CFLAGS) $(CSYM) $(OBJSPEC)$@ $<
  738. X--- 345,350 ----
  739. X***************
  740. X*** 611,616 ****
  741. X--- 559,567 ----
  742. X  
  743. X  OBJ:amiwind.o:  Amiga:amiwind.c Amiga:amimenu.c $(HDEP)
  744. X  
  745. X+ OBJ:amisnd.o:    Amiga:amisnd.c $(HDEP)
  746. X+     $(CC) $(CFLAGS) debug=ff $(OBJSPEC)OBJ:amisnd.o Amiga:amisnd.c
  747. X+ 
  748. X  OBJ:winami.o:    Amiga:winami.c $(HDEP) Amiga:char.c Amiga:colorwin.c Amiga:randwin.c
  749. X  
  750. X  OBJ:amiwbench.o:  Amiga:amiwbench.c $(HDEP)
  751. X***************
  752. X*** 674,679 ****
  753. X--- 625,704 ----
  754. X          $(KDFILES) $(PDFILES) $(RDFILES) $(SDFILES) $(TDFILES) \
  755. X          $(VDFILES) $(WDFILES)
  756. X  
  757. X+ SOUNDFILES= \
  758. X+     NetHack:cvtsnd \
  759. X+     NetHack:sounds \
  760. X+     NetHack:sounds/Bell NetHack:sounds/Bugle NetHack:sounds/Drum_Of_Earthquake \
  761. X+     NetHack:sounds/Fire_Horn NetHack:sounds/Frost_Horn \
  762. X+     NetHack:sounds/Leather_Drum NetHack:sounds/Magic_Flute \
  763. X+     NetHack:sounds/Magic_Harp NetHack:sounds/Tooled_Horn \
  764. X+     NetHack:sounds/Wooden_Flute NetHack:sounds/Wooden_Harp
  765. X+ 
  766. X+ inst-sounds: ${SOUNDFILES}
  767. X+ 
  768. X+ NetHack:sounds:
  769. X+     -makedir NetHack:sounds
  770. X+ 
  771. X+ NetHack:cvtsnd: OBJO:cvtsnd.o
  772. X+     ${LINK} ${PNSPEC}$@ $(LIN) OBJO:cvtsnd.o $(FLLIB)
  773. X+ 
  774. X+ OBJO:cvtsnd.o: Amiga:cvtsnd.c
  775. X+ 
  776. X+ NetHack:sounds/Bell: share:sounds/bell.uu
  777. X+     uudecode share:sounds/bell.uu
  778. X+     NetHack:cvtsnd Bell NetHack:sounds/Bell
  779. X+     -delete Bell
  780. X+ 
  781. X+ NetHack:sounds/Bugle: share:sounds/bugle.uu
  782. X+     uudecode share:sounds/Bugle.uu
  783. X+     NetHack:cvtsnd Bugle NetHack:sounds/Bugle
  784. X+     -delete Bugle
  785. X+ 
  786. X+ NetHack:sounds/Drum_Of_Earthquake: share:sounds/erthdrum.uu
  787. X+     uudecode share:sounds/erthdrum.uu
  788. X+     NetHack:cvtsnd Drum_Of_Earthquake NetHack:sounds/Drum_Of_Earthquake
  789. X+     -delete Drum_Of_Earthquake
  790. X+ 
  791. X+ NetHack:sounds/Fire_Horn: share:sounds/firehorn.uu
  792. X+     uudecode share:sounds/firehorn.uu
  793. X+     NetHack:cvtsnd Fire_Horn NetHack:sounds/Fire_Horn
  794. X+     -delete Fire_Horn
  795. X+ 
  796. X+ NetHack:sounds/Frost_Horn: share:sounds/frsthorn.uu
  797. X+     uudecode share:sounds/frsthorn.uu
  798. X+     NetHack:cvtsnd Frost_Horn NetHack:sounds/Frost_Horn
  799. X+     -delete Frost_Horn
  800. X+ 
  801. X+ NetHack:sounds/Leather_Drum: share:sounds/lethdrum.uu
  802. X+     uudecode share:sounds/lethdrum.uu
  803. X+     NetHack:cvtsnd Leather_Drum NetHack:sounds/Leather_Drum
  804. X+     -delete Leather_Drum
  805. X+ 
  806. X+ NetHack:sounds/Magic_Flute: share:sounds/mgcflute.uu
  807. X+     uudecode share:sounds/mgcflute.uu
  808. X+     NetHack:cvtsnd Magic_Flute NetHack:sounds/Magic_Flute
  809. X+     -delete Magic_Flute
  810. X+ 
  811. X+ NetHack:sounds/Magic_Harp: share:sounds/mgcharp.uu
  812. X+     uudecode share:sounds/mgcharp.uu
  813. X+     NetHack:cvtsnd Magic_Harp NetHack:sounds/Magic_Harp
  814. X+     -delete Magic_Harp
  815. X+ 
  816. X+ NetHack:sounds/Tooled_Horn: share:sounds/toolhorn.uu
  817. X+     uudecode share:sounds/toolhorn.uu
  818. X+     NetHack:cvtsnd Tooled_Horn NetHack:sounds/Tooled_Horn
  819. X+     -delete Tooled_Horn
  820. X+ 
  821. X+ NetHack:sounds/Wooden_Flute: share:sounds/wdnflute.uu
  822. X+     uudecode share:sounds/wdnflute.uu
  823. X+     NetHack:cvtsnd Wooden_Flute NetHack:sounds/Wooden_Flute
  824. X+     -delete Wooden_Flute
  825. X+ 
  826. X+ NetHack:sounds/Wooden_Harp: share:sounds/wdnharp.uu
  827. X+     uudecode share:sounds/wdnharp.uu
  828. X+     NetHack:cvtsnd Wooden_Harp NetHack:sounds/Wooden_Harp
  829. X+     -delete Wooden_Harp
  830. X+ 
  831. X  INSTDUNGEONFILES= \
  832. X      NetHack:NetHack.cnf NetHack:air.lev NetHack:asmodeus.lev \
  833. X      NetHack:astral.lev NetHack:baalz.lev NetHack:bigroom.lev \
  834. X***************
  835. X*** 702,767 ****
  836. X  NetHack:castle.lev:  Dat:castle.des NetHack:lev_comp
  837. X      NetHack:lev_comp Dat:castle.des
  838. X  
  839. X! NetHack:air.lev NetHack:earth.lev NetHack:fire.lev NetHack:water.lev NetHack:astral.lev:    Dat:endgame.des NetHack:lev_comp
  840. X      NetHack:lev_comp Dat:endgame.des
  841. X  
  842. X! NetHack:asmodeus.lev NetHack:baalz.lev NetHack:juiblex.lev NetHack:orcus.lev NetHack:sanctum.lev NetHack:valley.lev:    Dat:gehennom.des NetHack:lev_comp
  843. X      NetHack:lev_comp Dat:gehennom.des
  844. X  
  845. X  NetHack:knox.lev: Dat:knox.des NetHack:lev_comp
  846. X      NetHack:lev_comp Dat:knox.des
  847. X  
  848. X! NetHack:mine_end.lev NetHack:minetown.lev NetHack:minefill.lev: Dat:mines.des NetHack:lev_comp
  849. X      NetHack:lev_comp Dat:mines.des
  850. X  
  851. X  NetHack:oracle.lev: Dat:oracle.des NetHack:lev_comp
  852. X      NetHack:lev_comp Dat:oracle.des
  853. X  
  854. X! NetHack:tower1.lev NetHack:tower2.lev NetHack:tower3.lev:  Dat:tower.des NetHack:lev_comp
  855. X      NetHack:lev_comp Dat:tower.des
  856. X  
  857. X! NetHack:wizard1.lev NetHack:wizard2.lev NetHack:wizard3.lev NetHack:fakewiz1.lev NetHack:fakewiz2.lev:   Dat:yendor.des NetHack:lev_comp
  858. X      NetHack:lev_comp Dat:yendor.des
  859. X  
  860. X! NetHack:medusa-1.lev NetHack:medusa-2.lev: Dat:medusa.des NetHack:lev_comp
  861. X      NetHack:lev_comp Dat:medusa.des
  862. X  
  863. X! $(ADFILES):    Dat:Arch.des NetHack:lev_comp
  864. X      NetHack:lev_comp Dat:Arch.des
  865. X  
  866. X! $(BDFILES):    Dat:Barb.des NetHack:lev_comp
  867. X      NetHack:lev_comp Dat:Barb.des
  868. X  
  869. X! $(CDFILES):    Dat:Caveman.des NetHack:lev_comp
  870. X      NetHack:lev_comp Dat:Caveman.des
  871. X  
  872. X! $(EDFILES):    Dat:Elf.des NetHack:lev_comp
  873. X      NetHack:lev_comp Dat:Elf.des
  874. X  
  875. X! $(HDFILES):    Dat:Healer.des NetHack:lev_comp
  876. X      NetHack:lev_comp Dat:Healer.des
  877. X  
  878. X! $(KDFILES):    Dat:Knight.des NetHack:lev_comp
  879. X      NetHack:lev_comp Dat:Knight.des
  880. X  
  881. X! $(PDFILES):    Dat:Priest.des NetHack:lev_comp
  882. X      NetHack:lev_comp Dat:Priest.des
  883. X  
  884. X! $(RDFILES):    Dat:Rogue.des NetHack:lev_comp
  885. X      NetHack:lev_comp Dat:Rogue.des
  886. X  
  887. X! $(SDFILES):    Dat:Samurai.des NetHack:lev_comp
  888. X      NetHack:lev_comp Dat:Samurai.des
  889. X  
  890. X! $(TDFILES):    Dat:Tourist.des NetHack:lev_comp
  891. X      NetHack:lev_comp Dat:Tourist.des
  892. X  
  893. X! $(VDFILES):    Dat:Valkyrie.des NetHack:lev_comp
  894. X      NetHack:lev_comp Dat:Valkyrie.des
  895. X  
  896. X! $(WDFILES):    Dat:Wizard.des NetHack:lev_comp
  897. X      NetHack:lev_comp Dat:Wizard.des
  898. X- 
  899. X  
  900. X  NetHack:dungeon:  Dat:dungeon.def NetHack:makedefs NetHack:dgn_comp
  901. X      NetHack:makedefs -e
  902. X--- 727,809 ----
  903. X  NetHack:castle.lev:  Dat:castle.des NetHack:lev_comp
  904. X      NetHack:lev_comp Dat:castle.des
  905. X  
  906. X! NetHack:air.lev NetHack:earth.lev NetHack:fire.lev NetHack:water.lev NetHack:astral.lev:    do_endgame
  907. X! do_endgame:    Dat:endgame.des NetHack:lev_comp
  908. X      NetHack:lev_comp Dat:endgame.des
  909. X  
  910. X! NetHack:asmodeus.lev NetHack:baalz.lev NetHack:juiblex.lev NetHack:orcus.lev NetHack:sanctum.lev NetHack:valley.lev:    do_gehennom
  911. X! do_gehennom:    Dat:gehennom.des NetHack:lev_comp
  912. X      NetHack:lev_comp Dat:gehennom.des
  913. X  
  914. X  NetHack:knox.lev: Dat:knox.des NetHack:lev_comp
  915. X      NetHack:lev_comp Dat:knox.des
  916. X  
  917. X! NetHack:mine_end.lev NetHack:minetown.lev NetHack:minefill.lev:    do_mines
  918. X! do_mines:    Dat:mines.des NetHack:lev_comp
  919. X      NetHack:lev_comp Dat:mines.des
  920. X  
  921. X  NetHack:oracle.lev: Dat:oracle.des NetHack:lev_comp
  922. X      NetHack:lev_comp Dat:oracle.des
  923. X  
  924. X! NetHack:tower1.lev NetHack:tower2.lev NetHack:tower3.lev:    do_tower
  925. X! do_tower:    Dat:tower.des NetHack:lev_comp
  926. X      NetHack:lev_comp Dat:tower.des
  927. X  
  928. X! NetHack:wizard1.lev NetHack:wizard2.lev NetHack:wizard3.lev NetHack:fakewiz1.lev NetHack:fakewiz2.lev:  do_yendor
  929. X! do_yendor:    Dat:yendor.des NetHack:lev_comp
  930. X      NetHack:lev_comp Dat:yendor.des
  931. X  
  932. X! NetHack:medusa-1.lev NetHack:medusa-2.lev:    do_medusa
  933. X! do_medusa:    Dat:medusa.des NetHack:lev_comp
  934. X      NetHack:lev_comp Dat:medusa.des
  935. X  
  936. X! $(ADFILES):    do_adfiles
  937. X! do_adfiles:    Dat:Arch.des NetHack:lev_comp
  938. X      NetHack:lev_comp Dat:Arch.des
  939. X  
  940. X! $(BDFILES):    do_bdfiles
  941. X! do_bdfiles:    Dat:Barb.des NetHack:lev_comp
  942. X      NetHack:lev_comp Dat:Barb.des
  943. X  
  944. X! $(CDFILES):    do_cdfiles
  945. X! do_cdfiles:    Dat:Caveman.des NetHack:lev_comp
  946. X      NetHack:lev_comp Dat:Caveman.des
  947. X  
  948. X! $(EDFILES):    do_edfiles
  949. X! do_edfiles:    Dat:Elf.des NetHack:lev_comp
  950. X      NetHack:lev_comp Dat:Elf.des
  951. X  
  952. X! $(HDFILES):    do_hdfiles
  953. X! do_hdfiles:    Dat:Healer.des NetHack:lev_comp
  954. X      NetHack:lev_comp Dat:Healer.des
  955. X  
  956. X! $(KDFILES):    do_kdfiles
  957. X! do_kdfiles:    Dat:Knight.des NetHack:lev_comp
  958. X      NetHack:lev_comp Dat:Knight.des
  959. X  
  960. X! $(PDFILES):    do_pdfiles
  961. X! do_pdfiles:    Dat:Priest.des NetHack:lev_comp
  962. X      NetHack:lev_comp Dat:Priest.des
  963. X  
  964. X! $(RDFILES):    do_rdfiles
  965. X! do_rdfiles:    Dat:Rogue.des NetHack:lev_comp
  966. X      NetHack:lev_comp Dat:Rogue.des
  967. X  
  968. X! $(SDFILES):    do_sdfiles
  969. X! do_sdfiles:    Dat:Samurai.des NetHack:lev_comp
  970. X      NetHack:lev_comp Dat:Samurai.des
  971. X  
  972. X! $(TDFILES):    do_tdfiles
  973. X! do_tdfiles:    Dat:Tourist.des NetHack:lev_comp
  974. X      NetHack:lev_comp Dat:Tourist.des
  975. X  
  976. X! $(VDFILES):    do_vdfiles
  977. X! do_vdfiles:    Dat:Valkyrie.des NetHack:lev_comp
  978. X      NetHack:lev_comp Dat:Valkyrie.des
  979. X  
  980. X! $(WDFILES):    do_wdfiles
  981. X! do_wdfiles:    Dat:Wizard.des NetHack:lev_comp
  982. X      NetHack:lev_comp Dat:Wizard.des
  983. X  
  984. X  NetHack:dungeon:  Dat:dungeon.def NetHack:makedefs NetHack:dgn_comp
  985. X      NetHack:makedefs -e
  986. X*** /tmp/da08902    Thu Feb 25 10:26:51 1993
  987. X--- sys/amiga/amidos.c    Mon Feb 22 11:49:51 1993
  988. X***************
  989. X*** 18,24 ****
  990. X  #include <intuition/intuition.h>
  991. X  
  992. X  #undef COUNT
  993. X! #ifdef LATTICE
  994. X  # include <proto/exec.h>
  995. X  # include <proto/dos.h>
  996. X  #endif
  997. X--- 18,24 ----
  998. X  #include <intuition/intuition.h>
  999. X  
  1000. X  #undef COUNT
  1001. X! #ifdef __SASC_60
  1002. X  # include <proto/exec.h>
  1003. X  # include <proto/dos.h>
  1004. X  #endif
  1005. X***************
  1006. X*** 35,41 ****
  1007. X  
  1008. X  extern char Initialized;
  1009. X  
  1010. X! #ifndef __SASC
  1011. X  int Enable_Abort = 0;   /* for stdio package */
  1012. X  #endif
  1013. X  
  1014. X--- 35,41 ----
  1015. X  
  1016. X  extern char Initialized;
  1017. X  
  1018. X! #ifndef __SASC_60
  1019. X  int Enable_Abort = 0;   /* for stdio package */
  1020. X  #endif
  1021. X  
  1022. X*** /tmp/da08942    Thu Feb 25 10:26:59 1993
  1023. X--- sys/amiga/amii.hlp    Wed Feb 24 18:01:06 1993
  1024. X***************
  1025. X*** 1,4 ****
  1026. X!             Amiga specific help file for NetHack 3.1
  1027. X  
  1028. X  The Amiga port of NetHack supports a number of additional commands
  1029. X  and facilities specific to the Amiga.  Listed below are the things
  1030. X--- 1,4 ----
  1031. X!             Amiga specific help file for NetHack 3.1.1
  1032. X  
  1033. X  The Amiga port of NetHack supports a number of additional commands
  1034. X  and facilities specific to the Amiga.  Listed below are the things
  1035. X*** /tmp/da08958    Thu Feb 25 10:27:03 1993
  1036. X--- sys/amiga/amirip.c    Tue Feb 23 09:37:53 1993
  1037. X***************
  1038. X*** 42,48 ****
  1039. X  static void grass ( int x , int y );
  1040. X  static void strand ( int x , int y , int dir );
  1041. X  static void tomb_text ( char *p );
  1042. X- static void getret( void );
  1043. X  void draw_moon(int phase);
  1044. X  
  1045. X  extern char *killed_by_prefix[];
  1046. X--- 42,47 ----
  1047. X***************
  1048. X*** 159,165 ****
  1049. X  
  1050. X  extern struct DisplayDesc *amiIDisplay;
  1051. X  extern struct Screen *HackScreen;
  1052. X- extern unsigned short amii_curmap[];
  1053. X  extern int havelace;
  1054. X  
  1055. X  #undef  BLACK
  1056. X--- 158,163 ----
  1057. X***************
  1058. X*** 181,187 ****
  1059. X      0x0000, 0x0EEF, 0x0730, 0x0778, 0x0082, 0x0573, 0x0000, 0x0000,
  1060. X  };
  1061. X  
  1062. X! #define AREA_SIZE   500
  1063. X  static WORD areabuffer[ AREA_SIZE ];
  1064. X  
  1065. X  static struct NewWindow newwin =
  1066. X--- 179,185 ----
  1067. X      0x0000, 0x0EEF, 0x0730, 0x0778, 0x0082, 0x0573, 0x0000, 0x0000,
  1068. X  };
  1069. X  
  1070. X! #define AREA_SIZE   200
  1071. X  static WORD areabuffer[ AREA_SIZE ];
  1072. X  
  1073. X  static struct NewWindow newwin =
  1074. X***************
  1075. X*** 194,200 ****
  1076. X  
  1077. X  int wh; /* was local in outrip, but needed for SCALE macro */
  1078. X  
  1079. X! #define DEPTH ripwin->RPort->BitMap->Depth
  1080. X  /*TODO: should use real algorithm to get circles */
  1081. X  #define SCALE(x) ((wh<300)?(x):((x)*2))
  1082. X  #define MOONSX  MOONSIZE
  1083. X--- 192,198 ----
  1084. X  
  1085. X  int wh; /* was local in outrip, but needed for SCALE macro */
  1086. X  
  1087. X! #define WIN_DEPTH ripwin->RPort->BitMap->Depth
  1088. X  /*TODO: should use real algorithm to get circles */
  1089. X  #define SCALE(x) ((wh<300)?(x):((x)*2))
  1090. X  #define MOONSX  MOONSIZE
  1091. X***************
  1092. X*** 215,233 ****
  1093. X      struct BitMap sbm;
  1094. X      struct RastPort srp;
  1095. X      struct AreaInfo ainfo;
  1096. X!     short abuf[5];
  1097. X      struct TmpRas atr;
  1098. X!     PLANEPTR ap;
  1099. X  
  1100. X      /*TODO: sizes here are bigger than needed */
  1101. X!     InitBitMap(&sbm,DEPTH,MOONSIZE*4,MOONSIZE*2);
  1102. X!     for(x=0;x<DEPTH;x++){
  1103. X!     sbm.Planes[x]=(PLANEPTR)AllocRaster(MOONSIZE*2,MOONSIZE*4);
  1104. X      if(!sbm.Planes[x])goto free;
  1105. X      }
  1106. X      InitRastPort(&srp);
  1107. X      srp.BitMap=&sbm;
  1108. X!     InitArea(&ainfo,abuf,2);
  1109. X      srp.AreaInfo= &ainfo;
  1110. X      ap=AllocRaster(320,200);
  1111. X      if(!ap)goto free;
  1112. X--- 213,235 ----
  1113. X      struct BitMap sbm;
  1114. X      struct RastPort srp;
  1115. X      struct AreaInfo ainfo;
  1116. X!     WORD abuf[100];
  1117. X      struct TmpRas atr;
  1118. X!     PLANEPTR ap = NULL;
  1119. X  
  1120. X+ #define    XSZ        8
  1121. X+ #define    YSZ        8
  1122. X+ 
  1123. X      /*TODO: sizes here are bigger than needed */
  1124. X!     InitBitMap(&sbm,WIN_DEPTH,MOONSIZE*XSZ,MOONSIZE*YSZ);
  1125. X!     for(x=0;x<WIN_DEPTH;x++){
  1126. X!     sbm.Planes[x]=(PLANEPTR)AllocRaster(MOONSIZE*XSZ,MOONSIZE*YSZ);
  1127. X      if(!sbm.Planes[x])goto free;
  1128. X      }
  1129. X      InitRastPort(&srp);
  1130. X      srp.BitMap=&sbm;
  1131. X!     memset( abuf, 0, sizeof( abuf ) );        /* Must be zeroed */
  1132. X!     InitArea(&ainfo,abuf,sizeof(abuf)/5);    /* 5 bytes per vertex */
  1133. X      srp.AreaInfo= &ainfo;
  1134. X      ap=AllocRaster(320,200);
  1135. X      if(!ap)goto free;
  1136. X***************
  1137. X*** 318,329 ****
  1138. X      }
  1139. X  
  1140. X  free:
  1141. X!     for(x=0;x<DEPTH;x++)
  1142. X      if(sbm.Planes[x])
  1143. X!         FreeRaster(sbm.Planes[x],MOONSIZE*2,MOONSIZE*4);
  1144. X      if(ap)FreeRaster(ap,320,200);
  1145. X  }
  1146. X! #undef DEPTH
  1147. X  
  1148. X  void
  1149. X  outrip( how, tmpwin )
  1150. X--- 320,333 ----
  1151. X      }
  1152. X  
  1153. X  free:
  1154. X!     for(x=0;x<WIN_DEPTH;x++)
  1155. X!     {
  1156. X      if(sbm.Planes[x])
  1157. X!         FreeRaster(sbm.Planes[x],MOONSIZE*XSZ,MOONSIZE*YSZ);
  1158. X!     }
  1159. X      if(ap)FreeRaster(ap,320,200);
  1160. X  }
  1161. X! #undef WIN_DEPTH
  1162. X  
  1163. X  void
  1164. X  outrip( how, tmpwin )
  1165. X***************
  1166. X*** 389,395 ****
  1167. X      /* stars */
  1168. X      SetAPen(rp,WHITE);
  1169. X      for(c=d(30,40);c;c--)
  1170. X!     WritePixel(rp,rn2(ripwin->Width),rn2(horizon));
  1171. X  
  1172. X      /* moon (NB destroys area fill pattern) */
  1173. X      phase = phase_of_the_moon() % 8;
  1174. X--- 393,399 ----
  1175. X      /* stars */
  1176. X      SetAPen(rp,WHITE);
  1177. X      for(c=d(30,40);c;c--)
  1178. X!     WritePixel(rp,rn2(ripwin->Width-1),rn2(horizon));
  1179. X  
  1180. X      /* moon (NB destroys area fill pattern) */
  1181. X      phase = phase_of_the_moon() % 8;
  1182. X***************
  1183. X*** 396,405 ****
  1184. X      draw_moon(phase);
  1185. X  
  1186. X      /* grass */
  1187. X-     offset=(phase<4)?-1:1;
  1188. X      SetAPen(rp,GREEN);
  1189. X!     for( x = 0; x < ripwin->Width; x+=10+rn2(10))
  1190. X      grass(x, horizon+5 );
  1191. X  
  1192. X      /* fence - horizontal, then vertical, each with a moonlit side */
  1193. X      SetAPen(rp,GREY);
  1194. X--- 400,414 ----
  1195. X      draw_moon(phase);
  1196. X  
  1197. X      /* grass */
  1198. X      SetAPen(rp,GREEN);
  1199. X!     for( x = 5; x < ripwin->Width-5; x+=5+rn2(8))
  1200. X      grass(x, horizon+5 );
  1201. X+     for( x = 5; x < ripwin->Width-5; x+=5+rn2(10))
  1202. X+     grass(x, horizon+10 );
  1203. X+     for( x = 5; x < ripwin->Width-5; x+=5+rn2(15))
  1204. X+     grass(x, horizon+10 );
  1205. X+     for( x = 5; x < ripwin->Width-5; x+=5+rn2(20))
  1206. X+     grass(x, horizon+10 );
  1207. X  
  1208. X      /* fence - horizontal, then vertical, each with a moonlit side */
  1209. X      SetAPen(rp,GREY);
  1210. X***************
  1211. X*** 408,413 ****
  1212. X--- 417,423 ----
  1213. X      Move(rp,0,horizon+30);
  1214. X      Draw(rp,ripwin->Width,horizon+30);
  1215. X  
  1216. X+     offset=(phase<4)?-1:1;
  1217. X      for(x=30;x<ripwin->Width;x+=50)
  1218. X      {
  1219. X      Move(rp,x,horizon-SCALE(25));
  1220. X***************
  1221. X*** 459,468 ****
  1222. X  
  1223. X      {
  1224. X      char *p=buf;
  1225. X!     int x;
  1226. X      for(x=STONE_LINE_LEN;x;x--)*p++='W';
  1227. X      *p='\0';
  1228. X!     tw = max( tw, TextLength(rp,buf,STONE_LINE_LEN) + 40 );
  1229. X      }
  1230. X  
  1231. X      SetAPen( rp, phase ? BLACK : GREY );
  1232. X--- 469,479 ----
  1233. X  
  1234. X      {
  1235. X      char *p=buf;
  1236. X!     int x, tmp;
  1237. X      for(x=STONE_LINE_LEN;x;x--)*p++='W';
  1238. X      *p='\0';
  1239. X!     tmp = TextLength(rp,buf,STONE_LINE_LEN) + 40;
  1240. X!     tw = max( tw, tmp);
  1241. X      }
  1242. X  
  1243. X      SetAPen( rp, phase ? BLACK : GREY );
  1244. X***************
  1245. X*** 631,637 ****
  1246. X      CloseWindow( ripwin );
  1247. X      ripwin = NULL;
  1248. X      Permit();
  1249. X!     LoadRGB4( &HackScreen->ViewPort, amii_curmap, 8L );
  1250. X  }
  1251. X  
  1252. X  static void grass(x,y)
  1253. X--- 642,648 ----
  1254. X      CloseWindow( ripwin );
  1255. X      ripwin = NULL;
  1256. X      Permit();
  1257. X!     LoadRGB4( &HackScreen->ViewPort, flags.amii_curmap, 8L );
  1258. X  }
  1259. X  
  1260. X  static void grass(x,y)
  1261. X*** /tmp/da08974    Thu Feb 25 10:27:08 1993
  1262. X--- sys/amiga/amiwbench.c    Sun Feb 21 16:41:28 1993
  1263. X***************
  1264. X*** 344,349 ****
  1265. X--- 344,350 ----
  1266. X      }
  1267. X      KillIcon=FALSE;
  1268. X  
  1269. X+ #if 0
  1270. X      dobj=GetDiskObject(base);
  1271. X  
  1272. X      /* Save the current pointer */
  1273. X***************
  1274. X*** 376,384 ****
  1275. X      /* Put in the pen colors... */
  1276. X      for( j = 0; j < (1L << DEPTH); ++j )
  1277. X      {
  1278. X-     extern unsigned short amii_curmap[];
  1279. X      sprintf( types[ PENS ] + strlen( types[ PENS ] ),
  1280. X!       "%03x,", amii_curmap[ j ] );
  1281. X      }
  1282. X  
  1283. X      /* Remove trailing comma */
  1284. X--- 377,384 ----
  1285. X      /* Put in the pen colors... */
  1286. X      for( j = 0; j < (1L << DEPTH); ++j )
  1287. X      {
  1288. X      sprintf( types[ PENS ] + strlen( types[ PENS ] ),
  1289. X!       "%03x,", flags.amii_curmap[ j ] );
  1290. X      }
  1291. X  
  1292. X      /* Remove trailing comma */
  1293. X***************
  1294. X*** 395,400 ****
  1295. X--- 395,401 ----
  1296. X  
  1297. X      dobj->do_ToolTypes = (void *)savtp;
  1298. X      FreeDiskObject(dobj);
  1299. X+ #endif
  1300. X  }
  1301. X  
  1302. X  /* How much disk space will we need for the icon? */
  1303. X*** /tmp/da08982    Thu Feb 25 10:27:10 1993
  1304. X--- sys/amiga/amiwind.c    Mon Feb 22 12:09:55 1993
  1305. X***************
  1306. X*** 322,328 ****
  1307. X   *  It would certainly look nicer if this could be done using a
  1308. X   *  PA_SOFTINT message port, but we cannot call RawKeyConvert()
  1309. X   *  during a software interrupt.
  1310. X!  *  Anyway, kbhit() is called often enough, and usually gets
  1311. X   *  ahead of input demands, when the user types ahead.
  1312. X   */
  1313. X  
  1314. X--- 322,328 ----
  1315. X   *  It would certainly look nicer if this could be done using a
  1316. X   *  PA_SOFTINT message port, but we cannot call RawKeyConvert()
  1317. X   *  during a software interrupt.
  1318. X!  *  Anyway, amikbhit()/kbhit() is called often enough, and usually gets
  1319. X   *  ahead of input demands, when the user types ahead.
  1320. X   */
  1321. X  
  1322. X***************
  1323. X*** 388,395 ****
  1324. X   *  between characters and incoming messages.
  1325. X   */
  1326. X  
  1327. X! int kbhit()
  1328. X  {
  1329. X      register struct IntuiMessage *message;
  1330. X      while( KbdBuffered < KBDBUFFER / 2 )
  1331. X      {
  1332. X--- 388,406 ----
  1333. X   *  between characters and incoming messages.
  1334. X   */
  1335. X  
  1336. X! int
  1337. X! kbhit()
  1338. X  {
  1339. X+     int c;
  1340. X+     c = amikbhit();
  1341. X+     if( c <= 0 )
  1342. X+         return( 0 );
  1343. X+     return( c );
  1344. X+ }
  1345. X+ 
  1346. X+ int
  1347. X+ amikbhit()
  1348. X+ {
  1349. X      register struct IntuiMessage *message;
  1350. X      while( KbdBuffered < KBDBUFFER / 2 )
  1351. X      {
  1352. X***************
  1353. X*** 417,423 ****
  1354. X  
  1355. X  int WindowGetchar( )
  1356. X  {
  1357. X!     while ((lastevent.type = WEUNK), kbhit() <= 0) {
  1358. X      WaitPort(HackPort);
  1359. X      }
  1360. X      return BufferGetchar();
  1361. X--- 428,434 ----
  1362. X  
  1363. X  int WindowGetchar( )
  1364. X  {
  1365. X!     while ((lastevent.type = WEUNK), amikbhit() <= 0) {
  1366. X      WaitPort(HackPort);
  1367. X      }
  1368. X      return BufferGetchar();
  1369. X***************
  1370. X*** 426,432 ****
  1371. X  WETYPE WindowGetevent()
  1372. X  {
  1373. X      lastevent.type = WEUNK;
  1374. X!     while (kbhit() == 0)
  1375. X      {
  1376. X      WaitPort(HackPort);
  1377. X      }
  1378. X--- 437,443 ----
  1379. X  WETYPE WindowGetevent()
  1380. X  {
  1381. X      lastevent.type = WEUNK;
  1382. X!     while (amikbhit() == 0)
  1383. X      {
  1384. X      WaitPort(HackPort);
  1385. X      }
  1386. X***************
  1387. X*** 456,462 ****
  1388. X--- 467,478 ----
  1389. X      ((struct Process *) FindTask(NULL))->pr_WindowPtr = (APTR) pr_WindowPtr;
  1390. X      if (ConsoleIO.io_Device)
  1391. X      CloseDevice( (struct IORequest *)&ConsoleIO );
  1392. X+     ConsoleIO.io_Device = 0;
  1393. X  
  1394. X+     if( ConsoleIO.io_Message.mn_ReplyPort )
  1395. X+     DeletePort( ConsoleIO.io_Message.mn_ReplyPort );
  1396. X+     ConsoleIO.io_Message.mn_ReplyPort = 0;
  1397. X+ 
  1398. X      if (HackPort) {
  1399. X      Forbid();
  1400. X      while (msg = (struct IntuiMessage *) GetMsg(HackPort))
  1401. X***************
  1402. X*** 478,484 ****
  1403. X              sizeof( struct EasyStruct ),
  1404. X              0,
  1405. X              "Nethack Problem",
  1406. X!             "Can't Close Screen, Close Remaining Windows",
  1407. X              "Okay",
  1408. X          };
  1409. X          EasyRequest( NULL, &easy, NULL, NULL );
  1410. X--- 494,500 ----
  1411. X              sizeof( struct EasyStruct ),
  1412. X              0,
  1413. X              "Nethack Problem",
  1414. X!             "Can't Close Screen, Close Visiting Windows",
  1415. X              "Okay",
  1416. X          };
  1417. X          EasyRequest( NULL, &easy, NULL, NULL );
  1418. X*** /tmp/da08990    Thu Feb 25 10:27:12 1993
  1419. X--- sys/amiga/amiwind.p    Mon Feb 22 12:09:59 1993
  1420. X***************
  1421. X*** 1,35 ****
  1422. X  /*   SCCS Id: @(#)amiwind.p    3.1    93/01/08          */
  1423. X  /*   Copyright (c) Gregg Wonderly, Naperville, IL, 1992, 1993      */
  1424. X  /* NetHack may be freely redistributed.  See license for details. */
  1425. X  /* amiwind.c */
  1426. X  #ifdef    INTUI_NEW_LOOK
  1427. X! struct Window *FDECL(OpenShWindow, (struct ExtNewWindow *));
  1428. X  #else
  1429. X! struct Window *FDECL(OpenShWindow, (struct NewWindow *));
  1430. X  #endif
  1431. X! void FDECL(CloseShWindow, (struct Window *));
  1432. X! int NDECL(kbhit );
  1433. X! int NDECL(WindowGetchar );
  1434. X! WETYPE NDECL(WindowGetevent );
  1435. X! void NDECL(WindowFlush );
  1436. X! void FDECL(WindowPutchar, (char ));
  1437. X! void FDECL(WindowFPuts, (const char *));
  1438. X! void FDECL(WindowPuts, (const char *));
  1439. X  void FDECL( WindowPrintf, ( char *,... ));
  1440. X! void NDECL(CleanUp );
  1441. X! int FDECL(ConvertKey, ( struct IntuiMessage * ));
  1442. X! void FDECL(Abort, (long ));
  1443. X! void FDECL(flush_glyph_buffer, (struct Window *));
  1444. X! void FDECL(amiga_print_glyph, (winid , int , int ));
  1445. X! void FDECL(start_glyphout, (winid ));
  1446. X! void FDECL(end_glyphout, (winid ));
  1447. X  #ifdef    INTUI_NEW_LOOK
  1448. X! struct ExtNewWindow *FDECL(DupNewWindow, (struct ExtNewWindow *));
  1449. X! void FDECL(FreeNewWindow, (struct ExtNewWindow *));
  1450. X  #else
  1451. X! struct NewWindow *FDECL(DupNewWindow, (struct NewWindow *));
  1452. X! void FDECL(FreeNewWindow, (struct NewWindow *));
  1453. X  #endif
  1454. X! void NDECL(bell );
  1455. X! void NDECL(amii_delay_output );
  1456. X! void FDECL(amii_number_pad, (int ));
  1457. X--- 1,37 ----
  1458. X  /*   SCCS Id: @(#)amiwind.p    3.1    93/01/08          */
  1459. X  /*   Copyright (c) Gregg Wonderly, Naperville, IL, 1992, 1993      */
  1460. X  /* NetHack may be freely redistributed.  See license for details. */
  1461. X+ 
  1462. X  /* amiwind.c */
  1463. X  #ifdef    INTUI_NEW_LOOK
  1464. X! struct Window *FDECL( OpenShWindow, (struct ExtNewWindow *) );
  1465. X  #else
  1466. X! struct Window *FDECL( OpenShWindow, (struct NewWindow *) );
  1467. X  #endif
  1468. X! void FDECL( CloseShWindow, (struct Window *));
  1469. X! int NDECL( kbhit );
  1470. X! int NDECL( amikbhit );
  1471. X! int NDECL( WindowGetchar );
  1472. X! WETYPE NDECL( WindowGetevent );
  1473. X! void NDECL( WindowFlush );
  1474. X! void FDECL( WindowPutchar, (char ));
  1475. X! void FDECL( WindowFPuts, (const char *));
  1476. X! void FDECL( WindowPuts, (const char *));
  1477. X  void FDECL( WindowPrintf, ( char *,... ));
  1478. X! void NDECL( CleanUp );
  1479. X! int FDECL( ConvertKey, ( struct IntuiMessage * ));
  1480. X! void FDECL( Abort, (long ));
  1481. X! void FDECL( flush_glyph_buffer, (struct Window *));
  1482. X! void FDECL( amiga_print_glyph, (winid , int , int ));
  1483. X! void FDECL( start_glyphout, (winid ));
  1484. X! void FDECL( end_glyphout, (winid ));
  1485. X  #ifdef    INTUI_NEW_LOOK
  1486. X! struct ExtNewWindow *FDECL( DupNewWindow, (struct ExtNewWindow *));
  1487. X! void FDECL( FreeNewWindow, (struct ExtNewWindow *));
  1488. X  #else
  1489. X! struct NewWindow *FDECL( DupNewWindow, (struct NewWindow *));
  1490. X! void FDECL( FreeNewWindow, (struct NewWindow *));
  1491. X  #endif
  1492. X! void NDECL( bell );
  1493. X! void NDECL( amii_delay_output );
  1494. X! void FDECL( amii_number_pad, (int ));
  1495. X*** /tmp/da09030    Thu Feb 25 10:27:21 1993
  1496. X--- sys/amiga/colorwin.c    Mon Feb  1 11:37:47 1993
  1497. X***************
  1498. X*** 18,30 ****
  1499. X      3,0,JAM2,    /* front and back text pens, drawmode and fill byte */
  1500. X      13,1,    /* XY origin relative to container TopLeft */
  1501. X      NULL,    /* font pointer or NULL for default */
  1502. X!     "Okay",    /* pointer to text */
  1503. X      NULL    /* next IntuiText structure */
  1504. X  };
  1505. X  
  1506. X! struct Gadget Col_Okay = {
  1507. X      NULL,    /* next gadget */
  1508. X!     8,65,    /* origin XY of hit box relative to window TopLeft */
  1509. X      58,11,    /* hit box width and height */
  1510. X      NULL,    /* gadget flags */
  1511. X      RELVERIFY,    /* activation flags */
  1512. X--- 18,30 ----
  1513. X      3,0,JAM2,    /* front and back text pens, drawmode and fill byte */
  1514. X      13,1,    /* XY origin relative to container TopLeft */
  1515. X      NULL,    /* font pointer or NULL for default */
  1516. X!     "Save",    /* pointer to text */
  1517. X      NULL    /* next IntuiText structure */
  1518. X  };
  1519. X  
  1520. X! struct Gadget Col_Save = {
  1521. X      NULL,    /* next gadget */
  1522. X!     9,77,    /* origin XY of hit box relative to window TopLeft */
  1523. X      58,11,    /* hit box width and height */
  1524. X      NULL,    /* gadget flags */
  1525. X      RELVERIFY,    /* activation flags */
  1526. X***************
  1527. X*** 34,40 ****
  1528. X      &Col_IText1,    /* first IntuiText structure */
  1529. X      NULL,    /* gadget mutual-exclude long word */
  1530. X      NULL,    /* SpecialInfo structure */
  1531. X!     GADCOLOKAY,    /* user-definable data */
  1532. X      NULL    /* pointer to user-definable data */
  1533. X  };
  1534. X  
  1535. X--- 34,40 ----
  1536. X      &Col_IText1,    /* first IntuiText structure */
  1537. X      NULL,    /* gadget mutual-exclude long word */
  1538. X      NULL,    /* SpecialInfo structure */
  1539. X!     GADCOLSAVE,    /* user-definable data */
  1540. X      NULL    /* pointer to user-definable data */
  1541. X  };
  1542. X  
  1543. X***************
  1544. X*** 55,60 ****
  1545. X--- 55,99 ----
  1546. X  
  1547. X  struct IntuiText Col_IText2 = {
  1548. X      3,0,JAM2,    /* front and back text pens, drawmode and fill byte */
  1549. X+     17,1,    /* XY origin relative to container TopLeft */
  1550. X+     NULL,    /* font pointer or NULL for default */
  1551. X+     "Use",    /* pointer to text */
  1552. X+     NULL    /* next IntuiText structure */
  1553. X+ };
  1554. X+ 
  1555. X+ struct Gadget Col_Okay = {
  1556. X+     &Col_Save,    /* next gadget */
  1557. X+     117,77,    /* origin XY of hit box relative to window TopLeft */
  1558. X+     58,11,    /* hit box width and height */
  1559. X+     NULL,    /* gadget flags */
  1560. X+     RELVERIFY,    /* activation flags */
  1561. X+     BOOLGADGET,    /* gadget type flags */
  1562. X+     (APTR)&Col_Border2,    /* gadget border or image to be rendered */
  1563. X+     NULL,    /* alternate imagery for selection */
  1564. X+     &Col_IText2,    /* first IntuiText structure */
  1565. X+     NULL,    /* gadget mutual-exclude long word */
  1566. X+     NULL,    /* SpecialInfo structure */
  1567. X+     GADCOLOKAY,    /* user-definable data */
  1568. X+     NULL    /* pointer to user-definable data */
  1569. X+ };
  1570. X+ 
  1571. X+ SHORT Col_BorderVectors3[] = {
  1572. X+     0,0,
  1573. X+     59,0,
  1574. X+     59,12,
  1575. X+     0,12,
  1576. X+     0,0
  1577. X+ };
  1578. X+ struct Border Col_Border3 = {
  1579. X+     -1,-1,    /* XY origin relative to container TopLeft */
  1580. X+     3,0,JAM1,    /* front pen, back pen and drawmode */
  1581. X+     5,    /* number of XY vectors */
  1582. X+     Col_BorderVectors3,    /* pointer to XY vectors */
  1583. X+     NULL    /* next border in list */
  1584. X+ };
  1585. X+ 
  1586. X+ struct IntuiText Col_IText3 = {
  1587. X+     3,0,JAM2,    /* front and back text pens, drawmode and fill byte */
  1588. X      6,1,    /* XY origin relative to container TopLeft */
  1589. X      NULL,    /* font pointer or NULL for default */
  1590. X      "Cancel",    /* pointer to text */
  1591. X***************
  1592. X*** 63,76 ****
  1593. X  
  1594. X  struct Gadget Col_Cancel = {
  1595. X      &Col_Okay,    /* next gadget */
  1596. X!     218,65,    /* origin XY of hit box relative to window TopLeft */
  1597. X      58,11,    /* hit box width and height */
  1598. X      NULL,    /* gadget flags */
  1599. X      RELVERIFY,    /* activation flags */
  1600. X      BOOLGADGET,    /* gadget type flags */
  1601. X!     (APTR)&Col_Border2,    /* gadget border or image to be rendered */
  1602. X      NULL,    /* alternate imagery for selection */
  1603. X!     &Col_IText2,    /* first IntuiText structure */
  1604. X      NULL,    /* gadget mutual-exclude long word */
  1605. X      NULL,    /* SpecialInfo structure */
  1606. X      GADCOLCANCEL,    /* user-definable data */
  1607. X--- 102,115 ----
  1608. X  
  1609. X  struct Gadget Col_Cancel = {
  1610. X      &Col_Okay,    /* next gadget */
  1611. X!     218,77,    /* origin XY of hit box relative to window TopLeft */
  1612. X      58,11,    /* hit box width and height */
  1613. X      NULL,    /* gadget flags */
  1614. X      RELVERIFY,    /* activation flags */
  1615. X      BOOLGADGET,    /* gadget type flags */
  1616. X!     (APTR)&Col_Border3,    /* gadget border or image to be rendered */
  1617. X      NULL,    /* alternate imagery for selection */
  1618. X!     &Col_IText3,    /* first IntuiText structure */
  1619. X      NULL,    /* gadget mutual-exclude long word */
  1620. X      NULL,    /* SpecialInfo structure */
  1621. X      GADCOLCANCEL,    /* user-definable data */
  1622. X***************
  1623. X*** 174,180 ****
  1624. X  
  1625. X  struct NewWindow Col_NewWindowStructure1 = {
  1626. X      175,45,    /* window XY origin relative to TopLeft of screen */
  1627. X!     285,80,    /* window width and height */
  1628. X      0,1,    /* detail and block pens */
  1629. X      MOUSEBUTTONS+MOUSEMOVE+GADGETDOWN+GADGETUP+CLOSEWINDOW+VANILLAKEY+INTUITICKS,    /* IDCMP flags */
  1630. X      WINDOWDRAG+WINDOWDEPTH+WINDOWCLOSE+ACTIVATE+NOCAREREFRESH,    /* other window flags */
  1631. X--- 213,219 ----
  1632. X  
  1633. X  struct NewWindow Col_NewWindowStructure1 = {
  1634. X      175,45,    /* window XY origin relative to TopLeft of screen */
  1635. X!     284,93,    /* window width and height */
  1636. X      0,1,    /* detail and block pens */
  1637. X      MOUSEBUTTONS+MOUSEMOVE+GADGETDOWN+GADGETUP+CLOSEWINDOW+VANILLAKEY+INTUITICKS,    /* IDCMP flags */
  1638. X      WINDOWDRAG+WINDOWDEPTH+WINDOWCLOSE+ACTIVATE+NOCAREREFRESH,    /* other window flags */
  1639. X
  1640. END_OF_FILE
  1641. if test 53277 -ne `wc -c <'patches01p'`; then
  1642.     echo shar: \"'patches01p'\" unpacked with wrong size!
  1643. fi
  1644. # end of 'patches01p'
  1645. if test -f 'sys/amiga/colors.uu' -a "${1}" != "-c" ; then 
  1646.   echo shar: Renaming existing file \"'sys/amiga/colors.uu'\" to \"'sys/amiga/colors.uu.orig'\"
  1647.   mv -f 'sys/amiga/colors.uu' 'sys/amiga/colors.uu.orig'
  1648. fi
  1649. echo shar: Extracting \"'sys/amiga/colors.uu'\" \(2016 characters\)
  1650. sed "s/^X//" >'sys/amiga/colors.uu' <<'END_OF_FILE'
  1651. Xbegin 664 colors.pw
  1652. XM4&]W97)7:6YD;W=S('8R+C5C(*DQ.3@W+"`Q.3@X(&)Y($E.3U9!5%)/3DE#
  1653. XM4RP@24Y#+B`@("`@("`@("`@("`@("`@("`@("`@```"[`````E```#\````
  1654. XM`0`````!`````!%A;6EG83IC;VQO<G=I;BYC``?,TI@``````H``R``"``&`
  1655. XM```/``````?"_?@```````````````(````!``````$``````0`````,H*"@
  1656. XM````\/#PP&"0`````0`"$`X`8`)X``4`!?____\`````````````````````
  1657. XM````````````!@?$'T````````5#;VQ?```!`*\`+0$<`%T`!0`%_____P``
  1658. XM`!-%9&ET(%-C<F5E;B!#;VQO<G,`!\SJ(``'`"0!#P`+`````P`#!\0_H```
  1659. XM``````````````?$0%````?,Z?C_____`P``!0?,Z=P```````````$0```!
  1660. XM$``,````#````````````0<`!P`````````````````````!`P````#_____
  1661. XM````"@````L'Q$$`!\1!$`?$0;`'Q+'@!\2I``?$LH@````(0FQU95!E;@``
  1662. XM```!``````$`````"T=!1$),545014X``````0`````!``?,ZJ``!P`8`0\`
  1663. XM"P````,``P?'.N@````````````````'S-TP```'S.IX_____P,```4'S.I<
  1664. XM```````````!$````1``#`````P```````````$'``<`````````````````
  1665. XM``````,`````_____P````H````+!\4'4`?$_,`'Q0M`!\5X,`?%^]@'Q@8(
  1666. XM````"4=R965N4&5N``````$``````0`````,1T%$1U)%14Y014X``````0``
  1667. XM```!``?,ZV``!P`,`0\`"P````,``P?,ZO@````````````````'S.L8```'
  1668. XMS.LX_____P,```4'S.K<```````````!$````1``#`````P```````````$'
  1669. XM``<```````````````````````,`````_____P````H````+!\8<0`?&7H`'
  1670. XMQS+X!\N`H`?+XI@'R^4@````!U)E9%!E;@`````!``````$`````"D=!1%)%
  1671. XM1%!%3@`````!``````$`!\SL(`#:`$T`.@`+`````P`!!\SKC``````'S.NX
  1672. XM````````````!@?,Z]C_____`P``!0?,ZYP````````````[````.P`,````
  1673. XM#````````````P`!```&``$`````!\OE^``````````'0V%N8V5L``````H`
  1674. XM```!!\OP4`?,`\@'S`L8!\RBR`?,[``'S.P0````!T-A;F-E;``````!````
  1675. XM``$`````#4=!1$-/3$-!3D-%3``````!``````$`!\S6P`!U`$T`.@`+````
  1676. XM`P`!!\SL3``````'S.QX````````````"0?,[*C_____`P``!0?,[%P`````
  1677. XM```````[````.P`,````#````````````P`!```1``$`````!\N#T```````
  1678. XM```$57-E``````H````!!\S7D`?,VK@'S.SP!\SM``?,[-`'S.S@````!4]K
  1679. XM87D``````0`````!``````M'041#3TQ/2T%9``````$``````0````````D`
  1680. XM30`Z``L````#``$'S-;L``````?#FX`````````````*!\<YL/____\#```%
  1681. XM!\S6_````````````#L````[``P````,```````````#``$```T``0`````'
  1682. XMPM>@``````````53879E``````H````!!\0:V`?'-,@'S-<8!\S7*`?,UT`'
  1683. XMS-=0````!5-A=F4``````0`````!``````M'041#3TQ3059%``````$`````
  1684. X"`0!0
  1685. X`
  1686. Xend
  1687. END_OF_FILE
  1688. if test 2016 -ne `wc -c <'sys/amiga/colors.uu'`; then
  1689.     echo shar: \"'sys/amiga/colors.uu'\" unpacked with wrong size!
  1690. fi
  1691. # end of 'sys/amiga/colors.uu'
  1692. echo shar: End of archive 12 \(of 31\).
  1693. cp /dev/null ark12isdone
  1694. MISSING=""
  1695. for I in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 ; do
  1696.     if test ! -f ark${I}isdone ; then
  1697.     MISSING="${MISSING} ${I}"
  1698.     fi
  1699. done
  1700. if test "${MISSING}" = "" ; then
  1701.     echo You have unpacked all 31 archives.
  1702.     echo "Now execute 'patchit.sh'"
  1703.     rm -f ark[1-9]isdone ark[1-9][0-9]isdone
  1704. else
  1705.     echo You still need to unpack the following archives:
  1706.     echo "        " ${MISSING}
  1707. fi
  1708. ##  End of shell archive.
  1709. exit 0
  1710.