]> granicus.if.org Git - nethack/commit
zlib support; also internal compression changes
authornethack.allison <nethack.allison>
Sat, 22 Jan 2005 15:28:15 +0000 (15:28 +0000)
committernethack.allison <nethack.allison>
Sat, 22 Jan 2005 15:28:15 +0000 (15:28 +0000)
commitab1872b928b696c7123fa16a0a5c99b9a7a0b71b
tree6f2dc3ab4bfc610a1c2709fff00a9ca84ceb4939
parentc40d876c3be22adaa5d22c0cb670bbaf7b9b81a3
zlib support; also internal compression changes

o Add support for zlib compression via ZLIB_COMP in config.h (ZLIB_COMP
  and COMPRESS are mutually exclusive).
o rlecomp and zerocomp are run time options available if RLECOMP and
  ZEROCOMP are defined, but not turned on by default if either COMPRESS
  or ZLIB_COMP are defined.
o Add information to the save file about internal compression options
  used when writing the save file, particularly rlecomp and zerocomp
  support.
o Automatically adjust rlecomp and zerocomp (if support compiled in)
  when reading in an existing savefile that was saved with those options
  turned on.  Still allows writing out of savefile in preferred format.
o In order to support zlib and not conflict with compress and uncompress
  routines there, the NetHack internal functions were changed to
  nh_uncompress and nh_compress as done in the zlib contribution received
  in 1999 from <Someone>.

I tagged the sources NETHACK_3_5_0_PREZLIB prior to applying these
changes.
20 files changed:
doc/Guidebook.mn
doc/Guidebook.tex
include/config.h
include/decl.h
include/extern.h
include/flag.h
include/global.h
src/bones.c
src/decl.c
src/files.c
src/options.c
src/restore.c
src/save.c
sys/be/bemain.c
sys/mac/macmain.c
sys/share/pcmain.c
sys/unix/Makefile.src
sys/unix/unixmain.c
sys/winnt/Makefile.msc
util/makedefs.c