OSDN Git Service

fix #37913
[jnethack/source.git] / include / patchlevel.h
1 /* NetHack 3.6  patchlevel.h    $NHDT-Date: 1447755971 2015/11/17 10:26:11 $  $NHDT-Branch: master $:$NHDT-Revision: 1.112 $ */
2 /* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
3 /* NetHack may be freely redistributed.  See license for details. */
4
5 /* NetHack 3.6.0 */
6 #define VERSION_MAJOR 3
7 #define VERSION_MINOR 6
8 /*
9  * PATCHLEVEL is updated for each release.
10  */
11 #define PATCHLEVEL 0
12 /*
13  * Incrementing EDITLEVEL can be used to force invalidation of old bones
14  * and save files.
15  */
16 #define EDITLEVEL 2
17
18 #define COPYRIGHT_BANNER_A "NetHack, Copyright 1985-2015"
19 #define COPYRIGHT_BANNER_B \
20     "         By Stichting Mathematisch Centrum and M. Stephenson."
21 /* COPYRIGHT_BANNER_C is generated by makedefs into date.h */
22 #define COPYRIGHT_BANNER_D "         See license for details."
23
24 /*
25  * If two or more successive releases have compatible data files, define
26  * this with the version number of the oldest such release so that the
27  * new release will accept old save and bones files.  The format is
28  *      0xMMmmPPeeL
29  * 0x = literal prefix "0x", MM = major version, mm = minor version,
30  * PP = patch level, ee = edit level, L = literal suffix "L",
31  * with all four numbers specified as two hexadecimal digits.
32  */
33 /* #define VERSION_COMPATIBILITY 0x03050000L */
34
35 /****************************************************************************/
36 /* Version 3.6.x */
37
38 /*
39  *  NetHack 3.6.0, December 7, 2015
40  *
41  *  Hundreds of bug fixes.
42  *  Some code reorganization.
43  *  Some new features.
44  *  Variations of some community patches rolled in.
45  */
46
47 /****************************************************************************/
48 /* Version 3.5.x */
49
50 /*  Version 3.5 was never officially released.
51  */
52
53 /****************************************************************************/
54 /* Version 3.4.x */
55
56 /*  Patch 3, December 7, 2003
57  *  Several dozen general bug fixes including at least one fatal bug
58  *  Correct several inconsistencies
59  *  Handle level completely filled with monsters better
60  *  Performance enhancements for win32tty port on Windows 98 and Me
61  *  win32gui player selection fixes
62  *  X11 player selection fixes, one of which could be fatal
63  *  Eliminated a gold-in-shop-container cheat
64  *  Include bones file version compatibility info in options file
65  */
66
67 /*  Patch 2, August 30, 2003
68  *  Fix a fatal bug that caused a crash when applying figurine, candle, or
69  *      bell that gets used up
70  *  Fix a fatal bug that triggered a panic when your secondary weapon was
71  *      cursed during bones file creation
72  *  Several dozen general bug fixes
73  *  Fixed some Gnome compilation problems on Redhat 7.2 and 8.0
74  *  Fixed a problem in the util Makefile
75  *  Use random() by default under linux instead of lrand48()
76  *  win32 tty adjustments and support for loading alternative key handlers
77  */
78
79 /*  Patch 1, February 22, 2003
80  *  Fix a few fatal errors including one for reentering shops, one
81  *     involving land mines and boulders/statues, one for delayed
82  *     polymorph, and one from a chest trap exploding ball and chain
83  *  Fix a buffer overflow that could lead to security problems
84  *  Hundreds of general bug fixes
85  *  Several message and other glitches corrected
86  *  Travel command adjustments and ability to disable travel command
87  *  message recall window extensions (by Christian Cooper)
88  *  win32: some interface improvements
89  *  unix: improved tile support
90  *  gnome: some fixes, and some enhancements by Dylan Alex Simon
91  *  winCE: Windows CE port included (by Alex Kompel)
92  */
93
94 /*
95  *  NetHack 3.4.0, March 20, 2002
96  *
97  *  Hundreds of general bug fixes including some for sliming, zapping,
98  *conduct,
99  *      and several more for riding
100  *  Eliminated a few potentially fatal bugs including one for stone-to-flesh,
101  *      trouble-fixing during prayer, riding down stairs while punished,
102  *      polyd player demon summoning, throwing digging tools into shops, and
103  *      a couple from having the vision system enabled at inappropriate times
104  *  Corrected some incorrect calculations in final scoring
105  *  Enhanced config file processing and alert to duplication of entries
106  *  Player selection prompt enhancements for TTY and X11
107  *  Objects merge in containers
108  *  Wish for "nothing", and genocide "none" to preserve your conduct
109  *  Changes to Wizard quest
110  *  Added the travel command which works by mouse click or '_' command
111  *  Config file BOULDER option to specify the symbol for displaying boulders
112  *  Incorporate modified versions of several 3.3.1 patches that have been
113  *      in circulation in the NetHack community
114  *  New Gnomish Mines levels (courtesy Kelly Bailey)
115  *  Mac: command-key shortcuts in the player selection dialog
116  *  Amiga: screenmode requester, and several amiga specific bug fixes
117  *  Win32 graphical port contributed by Alex Kompel is now included
118  */
119
120 /* Version 3.4 */
121
122 /****************************************************************************/
123 /* Version 3.3.x */
124
125 /*  Patch 1, August 9, 2000
126  *  Many, many general fixes, including a number for riding, twoweapon,
127  *      and invisible monsters
128  *  A security fix for a couple of potentially exploitable buffer overflows
129  *      in previous versions
130  *  Redo Ranger quest
131  *  Introduction of differentiation between different causes of blindness
132  *  Overhaul of warning
133  *  Functionality restored to Amiga (courtesy Janne Salmijarvi) and Atari
134  *      (courtesy Christian "Marvin" Bressler) ports
135  *  Mac: multiple interface fixes
136  *  win32: fixed bug that caused messages to stop displaying after escape
137  *  tty: use ANSI color (AF) over standard color (Sf) when given the choice
138  *  several ports: offer for player selection only choices consistent with
139  *      those already made by config file/command line (e.g., only offer roles
140  *      that are compatible with specified race)
141  */
142
143 /*
144  *  NetHack 3.3.0, December 10, 1999
145  *
146  *  Implement the differentiation of character class or role from the
147  *  character race.
148  *  Removal of the Elf class, in preference to the Elf as a race.
149  *  Introduction of Dwarves, Elves, Gnomes and Orcs as distinct races in
150  *  addition to the Human "norm".
151  *  Addition of the Monk and Ranger classes.
152  *  Integrate some of the features of several branch versions of the game,
153  *  notably NetHack--, NHplus, SLASH, and Slash'em.
154  *  Adopt "the wizard patch" spellcasting system.
155  *  Support for the Qt widget set.
156  *  Y2K fix: use 4 digit year values for the dates in the score file
157  *  updated COPYRIGHT_BANNER_A to reflect year of release.
158  *  Dozens of other bug fixes, and minor improvements.
159  */
160
161 /* Version 3.3 */
162
163 /****************************************************************************/
164 /* Version 3.2.x */
165
166 /*  Patch 3, December 10, 1999
167  *  Released simultaneously with 3.3.0 for the benefit of
168  *  ports and platforms that were unable to get working
169  *  versions of 3.3.0 ready prior to the year 2000. It
170  *  consisted of just a few bug fixes and offered no new
171  *  functionality changes over 3.2.2.
172  *
173  *  Y2K fix: use 4 digit year values for the dates in the score file
174  *  updated COPYRIGHT_BANNER_A to reflect year of release
175  *  Fatal Mac bug removed
176  *  DOS Makefile problem removed
177  *  several bugs that could potentially trigger crashes removed
178  */
179
180 /*  Patch 2, December 10, 1996
181  *  fix the `recover' utility
182  *  fix priest/minion name overflow which could cause Astral Plane crashes
183  *  avoid crash when hit by own thrown boomerang
184  *    "     "    "   worn blindfold pushed off by applying cursed towel
185  *  handle returning live Wizard correctly in deep dungeon levels
186  *  don't occasionally display unseen areas of new levels during level change
187  *  other minor display fixes
188  *  fix several minor reason for death inconsistencies and shop bugs
189  *  high dexterity doesn't guarantee that thrown eggs & potions will hit
190  *
191  *  Selected platform- or configuration-specific changes:
192  *  Mac: update `mrecover'
193  *  MSDOS: don't switch into tiles mode when resuming play on rogue level
194  *  tty: support object class characters for 'I' command in menu mode
195  *  Unix: work around several <curses.h> compilation problems
196  *  X11: as tty above, plus implement tty-style count handling in menus;
197  *      better window placement support for old window managers
198  */
199
200 /*  Patch 1, May 28, 1996
201  *  eliminate `#qualifications'; fix weapon proficiency handling for missiles
202  *  keep Medusa from continuing to move after she's been killed by reflection
203  *      of her own gaze (fixes relmon panic)
204  *  make monsters a little smarter; assorted eating and chatting changes
205  *  fix object amnesia for spellbooks; fix Nazgul's sleep gas attack
206  *  fix bullwhip usage for case of having recently been in a trap
207  *  egg hatching fixes, oil potion fixes, magic marker fixes
208  *  support object class chars as selection accelerators for some menus
209  *  stricter parsing of run-time options at startup time
210  *  interactive setting of options via menu (courtesy Per Liboriussen)
211  *
212  *  Selected platform- or configuration-specific changes:
213  *  Amiga: fix panic for tiles display in Gnomish mines
214  *  BeOS: preliminary support for new BeBox platform; initially tty only
215  *  DLB: avoid excessive fseek calls (major performance hit for MSDOS)
216  *  HPUX: workaround for gcc-2.6.3 bug adversely affecting monster generation
217  *  Mac: avoid MW 68K struct copy optimization bug which caused crashes;
218  *      fix dragging of scrollbar; boost partitions to 2MB minimum
219  *  MSDOS: wasn't safe to enter endgame for MFLOPPY configuration;
220  *      fix re-entry into game after "!" (shell escape) + chdir + EXIT;
221  *      F3/F4/F5 display interface swapping improvements;
222  *      add support for preloading all tiles in protected mode environment
223  *  TERMINFO: colors were wrong for some systems, such as Linux
224  *  X11: display help files properly
225  */
226
227 /*
228  *  NetHack 3.2.0, April 11, 1996
229  *  enhancements to the windowing systems including "tiles" or icons to
230  *      visually represent monsters and objects (courtesy Warwick Allison)
231  *  window based menu system introduced for inventory and selection
232  *  moving light sources besides the player
233  *  improved #untrap (courtesy Helge Hafting)
234  *  spellcasting logic changes to balance spellcasting towards magic-using
235  *      classes (courtesy Stephen White)
236  *  many, many bug fixes and abuse eliminations
237  */
238
239 /* Version 3.2 */
240
241 /****************************************************************************/
242 /* Version 3.1.x */
243
244 /*
245  *  Patch 3, July 12, 1993
246  *  further revise Mac windowing and extend to Think C (courtesy
247  *      Barton House)
248  *  fix confusing black/gray/white display on some MSDOS hardware
249  *  remove fatal bugs dealing with horns of plenty and VMS bones levels,
250  *      as well as more minor ones
251  */
252
253 /*
254  *  Patch 2, June 1, 1993
255  *  add tty windowing to Mac and Amiga ports and revise native windowing
256  *  allow direct screen I/O for MS-DOS versions instead of going through
257  *      termcap routines (courtesy Michael Allison and Kevin Smolkowski)
258  *  changes for NEC PC-9800 and various termcap.zip fixes by Yamamoto Keizo
259  *  SYSV 386 music driver ported to 386BSD (courtesy Andrew Chernov) and
260  *      SCO UNIX (courtesy Andreas Arens)
261  *  enhanced pickup and disclosure options
262  *  removed fatal bugs dealing with cursed bags of holding, renaming
263  *      shopkeepers, objects falling through trapdoors on deep levels,
264  *      and kicking embedded objects loose, and many more minor ones
265  */
266
267 /*
268  *  Patch 1, February 25, 1993
269  *  add Windows NT console port (courtesy Michael Allison)
270  *  polishing of Amiga, Mac, and X11 windowing
271  *  fixing many small bugs, including the infamous 3.0 nurse relmon bug
272  */
273
274 /*
275  *  NetHack 3.1.0, January 25, 1993
276  *  many, many changes and bugfixes -- some of the highlights include:
277  *  display rewrite using line-of-sight vision
278  *  general window interface, with the ability to use multiple interfaces
279  *      in the same executable
280  *  intelligent monsters
281  *  enhanced dungeon mythology
282  *  branching dungeons with more special levels, quest dungeons, and
283  *      multi-level endgame
284  *  more artifacts and more uses for artifacts
285  *  generalization to multiple shops with damage repair
286  *  X11 interface
287  *  ability to recover crashed games
288  *  full rewrite of Macintosh port
289  *  Amiga splitter
290  *  directory rearrangement (dat, doc, sys, win, util)
291  */
292
293 /* Version 3.1 */
294
295 /****************************************************************************/
296 /* Version 3.0 */
297
298 /*
299  *  Patch 10, February 5, 1991
300  *  extend overlay manager to multiple files for easier binary distribution
301  *  allow for more system and compiler variance
302  *  remove more small insects
303  */
304
305 /*
306  *  Patch 9, June 26, 1990
307  *  clear up some confusing documentation
308  *  smooth some more rough edges in various ports
309  *  and fix a couple more bugs
310  */
311
312 /*
313  *  Patch 8, June 3, 1990
314  *  further debug and refine Macintosh port
315  *  refine the overlay manager, rearrange the OVLx breakdown for better
316  *      efficiency, rename the overlay macros, and split off the overlay
317  *      instructions to Install.ovl
318  *  introduce NEARDATA for better Amiga efficiency
319  *  support for more VMS versions (courtesy Joshua Delahunty and Pat Rankin)
320  *  more const fixes
321  *  better support for common graphics (DEC VT and IBM)
322  *  and a number of simple fixes and consistency extensions
323  */
324
325 /*
326  *  Patch 7, February 19, 1990
327  *  refine overlay support to handle portions of .c files through OVLx
328  *      (courtesy above plus Kevin Smolkowski)
329  *  update and extend Amiga port and documentation (courtesy Richard Addison,
330  *      Jochen Erwied, Mark Gooderum, Ken Lorber, Greg Olson, Mike Passaretti,
331  *      and Gregg Wonderly)
332  *  refine and extend Macintosh port and documentation (courtesy Johnny Lee,
333  *      Kevin Sitze, Michael Sokolov, Andy Swanson, Jon Watte, and Tom West)
334  *  refine VMS documentation
335  *  continuing ANSIfication, this time of const usage
336  *  teach '/' about differences within monster classes
337  *  smarter eating code (yet again), death messages, and treatment of
338  *      non-animal monsters, monster unconsciousness, and naming
339  *  extended version command to give compilation options
340  *  and the usual bug fixes and hole plugs
341  */
342
343 /*
344  *  Patch 6, November 19, 1989
345  *  add overlay support for MS-DOS (courtesy Pierre Martineau, Stephen
346  *      Spackman, and Norm Meluch)
347  *  refine Macintosh port
348  *  different door states show as different symbols (courtesy Ari Huttunen)
349  *  smarter drawbridges (courtesy Kevin Darcy)
350  *  add CLIPPING and split INFERNO off HARD
351  *  further refine eating code wrt picking up and resumption
352  *  make first few levels easier, by adding :x monsters and increasing initial
353  *      attribute points and hitting probability
354  *  teach '/' about configurable symbols
355  */
356
357 /*
358  *  Patch 5, October 15, 1989
359  *  add support for Macintosh OS (courtesy Johnny Lee)
360  *  fix annoying dependency loop via new color.h file
361  *  allow interruption while eating -- general handling of partially eaten
362  * food
363  *  smarter treatment of iron balls (courtesy Kevin Darcy)
364  *  a handful of other bug fixes
365  */
366
367 /*
368  *  Patch 4, September 27, 1989
369  *  add support for VMS (courtesy David Gentzel)
370  *  move monster-on-floor references into functions and implement the new
371  *      lookup structure for both objects and monsters
372  *  extend the definitions of objects and monsters to provide "living color"
373  *      in the dungeon, instead of a single monster color
374  *  ifdef varargs usage to satisfy ANSI compilers
375  *  standardize on the color 'gray'
376  *  assorted bug fixes
377  */
378
379 /*
380  *  Patch 3, September 6, 1989
381  *  add war hammers and revise object prices
382  *  extend prototypes to ANSI compilers in addition to the previous MSDOS ones
383  *  move object-on-floor references into functions in preparation for planned
384  *      data structures to allow faster access and better colors
385  *  fix some more bugs, and extend the portability of things added in earlier
386  *      patches
387  */
388
389 /*
390  *  Patch 2, August 16, 1989
391  *  add support for OS/2 (courtesy Timo Hakulinen)
392  *  add a better makefile for MicroSoft C (courtesy Paul Gyugyi)
393  *  more accommodation of compilers and preprocessors
394  *  add better screen-size sensing
395  *  expand color use for PCs and introduce it for SVR3 UNIX machines
396  *  extend '/' to multiple identifications
397  *  allow meta key to be used to invoke extended commands
398  *  fix various minor bugs, and do further code cleaning
399  */
400
401 /*
402  *  Patch 1, July 31, 1989
403  *  add support for Atari TOS (courtesy Eric Smith) and Andrew File System
404  *      (courtesy Ralf Brown)
405  *  include the uuencoded version of termcap.arc for the MSDOS versions that
406  *      was included with 2.2 and 2.3
407  *  make a number of simple changes to accommodate various compilers
408  *  fix a handful of bugs, and do some code cleaning elsewhere
409  *  add more instructions for new environments and things commonly done wrong
410  */
411
412 /*
413  *  NetHack 3.0 baseline release, July, 1989
414  */
415
416 /* Version 3.0 */
417
418 /****************************************************************************/
419
420 /*patchlevel.h*/