Merge remote-tracking branch 'origin/NetHack-3.6.0'
This commit is contained in:
@@ -983,7 +983,9 @@ E void NDECL(reassign);
|
||||
E int NDECL(doorganize);
|
||||
E void NDECL(free_pickinv_cache);
|
||||
E int FDECL(count_unpaid, (struct obj *));
|
||||
E int FDECL(count_buc, (struct obj *, int));
|
||||
E int FDECL(count_buc, (struct obj *, int, boolean (*)(OBJ_P)));
|
||||
E void FDECL(tally_BUCX, (struct obj *, BOOLEAN_P,
|
||||
int *, int *, int *, int *, int *));
|
||||
E long FDECL(count_contents, (struct obj *, BOOLEAN_P, BOOLEAN_P, BOOLEAN_P));
|
||||
E void FDECL(carry_obj_effects, (struct obj *));
|
||||
E const char *FDECL(currency, (long));
|
||||
@@ -1783,6 +1785,7 @@ E void NDECL(getlock);
|
||||
E int FDECL(collect_obj_classes, (char *, struct obj *, BOOLEAN_P,
|
||||
boolean FDECL((*), (OBJ_P)), int *));
|
||||
E boolean FDECL(rider_corpse_revival, (struct obj *, BOOLEAN_P));
|
||||
E boolean FDECL(menu_class_present, (int));
|
||||
E void FDECL(add_valid_menu_class, (int));
|
||||
E boolean FDECL(allow_all, (struct obj *));
|
||||
E boolean FDECL(allow_category, (struct obj *));
|
||||
@@ -2127,6 +2130,7 @@ E void FDECL(store_savefileinfo, (int));
|
||||
|
||||
/* ### shk.c ### */
|
||||
|
||||
E void FDECL(setpaid, (struct monst *));
|
||||
E long FDECL(money2mon, (struct monst *, long));
|
||||
E void FDECL(money2u, (struct monst *, long));
|
||||
E void FDECL(shkgone, (struct monst *));
|
||||
@@ -2764,6 +2768,7 @@ E void FDECL(detect_wsegs, (struct monst *, BOOLEAN_P));
|
||||
E void FDECL(save_worm, (int, int));
|
||||
E void FDECL(rest_worm, (int));
|
||||
E void FDECL(place_wsegs, (struct monst *));
|
||||
E void FDECL(sanity_check_worm, (struct monst *));
|
||||
E void FDECL(remove_worm, (struct monst *));
|
||||
E void FDECL(place_worm_tail_randomly, (struct monst *, XCHAR_P, XCHAR_P));
|
||||
E int FDECL(size_wseg, (struct monst *));
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* NetHack 3.6 flag.h $NHDT-Date: 1461102045 2016/04/19 21:40:45 $ $NHDT-Branch: NetHack-3.6.0 $:$NHDT-Revision: 1.103 $ */
|
||||
/* NetHack 3.6 flag.h $NHDT-Date: 1498078871 2017/06/21 21:01:11 $ $NHDT-Branch: NetHack-3.6.0 $:$NHDT-Revision: 1.119 $ */
|
||||
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
|
||||
/* NetHack may be freely redistributed. See license for details. */
|
||||
|
||||
@@ -211,33 +211,39 @@ struct instance_flags {
|
||||
int *opt_booldup; /* for duplication of boolean opts in config file */
|
||||
int *opt_compdup; /* for duplication of compound opts in conf file */
|
||||
#ifdef ALTMETA
|
||||
boolean altmeta; /* Alt-c sends ESC c rather than M-c */
|
||||
boolean altmeta; /* Alt-c sends ESC c rather than M-c */
|
||||
#endif
|
||||
boolean autodescribe; /* autodescribe mode in getpos() */
|
||||
boolean cbreak; /* in cbreak mode, rogue format */
|
||||
boolean deferred_X; /* deferred entry into explore mode */
|
||||
boolean num_pad; /* use numbers for movement commands */
|
||||
boolean news; /* print news */
|
||||
boolean echo; /* 1 to echo characters */
|
||||
/* FIXME: goldX belongs in flags, but putting it in iflags avoids
|
||||
breaking 3.6.[01] save files */
|
||||
boolean goldX; /* for BUCX filtering, whether gold is X or U */
|
||||
boolean hilite_pile; /* mark piles of objects with a hilite */
|
||||
boolean implicit_uncursed; /* maybe omit "uncursed" status in inventory */
|
||||
boolean mention_walls; /* give feedback when bumping walls */
|
||||
boolean menu_tab_sep; /* Use tabs to separate option menu fields */
|
||||
boolean menu_head_objsym; /* Show obj symbol in menu headings */
|
||||
boolean menu_overlay; /* Draw menus over the map */
|
||||
boolean menu_requested; /* Flag for overloaded use of 'm' prefix
|
||||
* on some non-move commands */
|
||||
boolean menu_tab_sep; /* Use tabs to separate option menu fields */
|
||||
boolean news; /* print news */
|
||||
boolean num_pad; /* use numbers for movement commands */
|
||||
boolean renameallowed; /* can change hero name during role selection */
|
||||
boolean renameinprogress; /* we are changing hero name */
|
||||
boolean status_updates; /* allow updates to bottom status lines;
|
||||
* disable to avoid excessive noise when using
|
||||
* a screen reader (use ^X to review status) */
|
||||
boolean toptenwin; /* ending list in window instead of stdout */
|
||||
boolean zerocomp; /* write zero-compressed save files */
|
||||
boolean rlecomp; /* run-length comp of levels when writing savefile */
|
||||
uchar num_pad_mode;
|
||||
boolean echo; /* 1 to echo characters */
|
||||
boolean use_menu_color; /* use color in menus; only if wc_color */
|
||||
boolean use_status_hilites; /* use color in status line */
|
||||
boolean status_updates; /* allow updates to bottom status lines */
|
||||
boolean use_background_glyph; /* use background glyph when appropriate */
|
||||
boolean hilite_pile; /* mark piles of objects with a hilite */
|
||||
boolean autodescribe; /* autodescribe mode in getpos() */
|
||||
#if 0
|
||||
boolean use_menu_color; /* use color in menus; only if wc_color */
|
||||
boolean use_status_hilites; /* use color in status line */
|
||||
boolean zerocomp; /* write zero-compressed save files */
|
||||
boolean rlecomp; /* alternative to zerocomp; run-length encoding
|
||||
* compression of levels when writing savefile */
|
||||
uchar num_pad_mode;
|
||||
#if 0 /* XXXgraphics superseded by symbol sets */
|
||||
boolean DECgraphics; /* use DEC VT-xxx extended character set */
|
||||
boolean IBMgraphics; /* use IBM extended character set */
|
||||
#ifdef MAC_GRAPHICS_ENV
|
||||
|
||||
@@ -280,6 +280,7 @@ enum hmon_atkmode_types {
|
||||
#define BUC_UNCURSED 0x200
|
||||
#define BUC_UNKNOWN 0x400
|
||||
#define BUC_ALLBKNOWN (BUC_BLESSED | BUC_CURSED | BUC_UNCURSED)
|
||||
#define BUCX_TYPES (BUC_ALLBKNOWN | BUC_UNKNOWN)
|
||||
#define ALL_TYPES_SELECTED -2
|
||||
|
||||
/* Flags to control find_mid() */
|
||||
|
||||
@@ -5,7 +5,11 @@
|
||||
#ifndef PROP_H
|
||||
#define PROP_H
|
||||
|
||||
/*** What the properties are ***/
|
||||
/*** What the properties are ***
|
||||
*
|
||||
* note: propertynames[] array in timeout.c must be kept in synch with these.
|
||||
* Property #0 is not used.
|
||||
*/
|
||||
/* Resistances to troubles */
|
||||
#define FIRE_RES 1
|
||||
#define COLD_RES 2
|
||||
|
||||
Reference in New Issue
Block a user