Merge branch 'NetHack-3.6.2'
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* NetHack 3.6 unixtty.c $NHDT-Date: 1450916700 2015/12/24 00:25:00 $ $NHDT-Branch: NetHack-3.6.0 $:$NHDT-Revision: 1.21 $ */
|
||||
/* NetHack 3.6 unixtty.c $NHDT-Date: 1548372343 2019/01/24 23:25:43 $ $NHDT-Branch: NetHack-3.6.2-beta01 $:$NHDT-Revision: 1.25 $ */
|
||||
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
|
||||
/*-Copyright (c) Michael Allison, 2006. */
|
||||
/* NetHack may be freely redistributed. See license for details. */
|
||||
@@ -122,6 +122,18 @@ struct tchars inittyb2, curttyb2;
|
||||
|
||||
#endif /* V7 */
|
||||
|
||||
/*
|
||||
* Old curses.h relied on implicit declaration of has_colors().
|
||||
* Modern compilers tend to warn about implicit declarations and
|
||||
* modern curses.h declares has_colors() explicitly. However, the
|
||||
* declaration it uses is not one we can simply clone (requires
|
||||
* <stdbool.h>). This simpler declaration suffices but can't be
|
||||
* used unconditionally because it conflicts with the 'bool' one.
|
||||
*/
|
||||
#ifdef NEED_HAS_COLORS_DECL
|
||||
int has_colors();
|
||||
#endif
|
||||
|
||||
#if defined(TTY_GRAPHICS) && ((!defined(SYSV) && !defined(HPUX)) \
|
||||
|| defined(UNIXPC) || defined(SVR4))
|
||||
#ifndef LINT
|
||||
|
||||
@@ -95,8 +95,8 @@ the file NewInstall.unx.
|
||||
call Joan at +1 312 555-1234.
|
||||
email support@example.com
|
||||
visit http://www.example.com/game-support
|
||||
RECOVER= instructions for running recover. If RECOVER is not available,
|
||||
do not use this line. Some sample values:
|
||||
RECOVER= instructions for running recover. If RECOVER is not
|
||||
available, do not use this line. Some sample values:
|
||||
To get your game recovered, contact support.
|
||||
Run /usr/local/bin/nh-recover to recover your game.
|
||||
|
||||
@@ -291,6 +291,13 @@ Notes:
|
||||
|
||||
For recover, you just want the target binary to install on the target.
|
||||
|
||||
# NetHack 3.6 Install.unx $NHDT-Date: 1524689449 2018/04/25 20:50:49 $ $NHDT-Branch: NetHack-3.6.0 $:$NHDT-Revision: 1.11 $
|
||||
16. If you get a compiler warning about 'get_colors()' being implicitly
|
||||
declared, try uncommenting NEED_GET_COLORS_DECL in unixconf.h.
|
||||
If you get a compiler complaint about tparmdecl() having conflicting
|
||||
declarations, add '#define NOTPARMDECL' to unixconf.h or '-DNOTPARMDECL'
|
||||
to CFLAGS in src/Makefile. (The hints files for Mac OSX already do the
|
||||
latter.)
|
||||
|
||||
# NetHack 3.6 Install.unx $NHDT-Date: 1548372344 2019/01/24 23:25:44 $ $NHDT-Branch: NetHack-3.6.2-beta01 $:$NHDT-Revision: 1.12 $
|
||||
# Copyright (c) 2012 by Kenneth Lorber, Kensington, Maryland
|
||||
# NetHack may be freely redistributed. See license for details.
|
||||
|
||||
Reference in New Issue
Block a user