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.
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
\begin{document}
|
||||
%
|
||||
% input file: guidebook.mn
|
||||
% $Revision: 1.89 $ $Date: 2005/01/09 21:40:02 $
|
||||
% $Revision: 1.90 $ $Date: 2005/01/16 03:57:39 $
|
||||
%
|
||||
%.ds h0 "
|
||||
%.ds h1 %.ds h2 \%
|
||||
@@ -2554,6 +2554,11 @@ value is examined; `r' is an exception with ``{\tt Rogue}'', {\tt Ranger}'',
|
||||
and ``{\tt random}'' values. If you prefix `{\tt !}' or ``{\tt no}'' to the
|
||||
value, you can exclude that role from being picked randomly.
|
||||
%.lp
|
||||
\item[\ib{rlecomp}]
|
||||
When writing out a save file, perform run length compression of level
|
||||
structures. Not all ports support run length compression. It has no
|
||||
effect on reading an existing save file.
|
||||
%.lp
|
||||
\item[\ib{runmode}]
|
||||
Controls the amount of screen updating for the map window when engaged
|
||||
in multi-turn movement (running via {\tt shift}+direction
|
||||
@@ -2658,6 +2663,11 @@ Provide more commentary during the game (default on).
|
||||
Select which windowing system to use, such as ``{\tt tty}'' or ``{\tt X11}''
|
||||
(default depends on version).
|
||||
Cannot be set with the `{\tt O}' command.
|
||||
%.lp
|
||||
\item[\ib{zerocomp}]
|
||||
When writing out a save file, perform zero-comp compression of the
|
||||
contents. Not all ports support zero-comp compression. It has no effect
|
||||
on reading an existing save file.
|
||||
\elist
|
||||
|
||||
%.hn 2
|
||||
|
||||
Reference in New Issue
Block a user