Source:NetHack 3.6.1/include/patchlevel.h

From NetHackWiki
(Redirected from Source:Patchlevel.h)
Jump to: navigation, search

Below is the full text to patchlevel.h from the source code of NetHack 3.6.1. To link to a particular line, write [[Source:NetHack 3.6.1/include/patchlevel.h#line123]], for example.

The NetHack General Public License applies to screenshots, source code and other content from NetHack.

This content was modified from the original NetHack source code distribution (by splitting up NetHack content between wiki pages, and possibly further editing). See the page history for a list of who changed it, and on what dates.

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