Merge branch 'NetHack-3.7' into NetHack-3.7-Jan2020
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* NetHack 3.6 extern.h $NHDT-Date: 1578895332 2020/01/13 06:02:12 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.785 $ */
|
||||
/* NetHack 3.6 extern.h $NHDT-Date: 1580044333 2020/01/26 13:12:13 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.786 $ */
|
||||
/* Copyright (c) Steve Creps, 1988. */
|
||||
/* NetHack may be freely redistributed. See license for details. */
|
||||
|
||||
@@ -1437,7 +1437,7 @@ E int FDECL(mfndpos, (struct monst *, coord *, long *, long));
|
||||
E boolean FDECL(monnear, (struct monst *, int, int));
|
||||
E void NDECL(dmonsfree);
|
||||
E void FDECL(elemental_clog, (struct monst *));
|
||||
E int FDECL(mcalcmove, (struct monst *));
|
||||
E int FDECL(mcalcmove, (struct monst *, BOOLEAN_P));
|
||||
E void NDECL(mcalcdistress);
|
||||
E void FDECL(replmon, (struct monst *, struct monst *));
|
||||
E void FDECL(relmon, (struct monst *, struct monst **));
|
||||
|
||||
@@ -367,6 +367,10 @@ struct instance_flags {
|
||||
int wc_map_mode; /* specify map viewing options, mostly
|
||||
* for backward compatibility */
|
||||
int wc_player_selection; /* method of choosing character */
|
||||
#if defined(MSDOS)
|
||||
unsigned wc_video_width; /* X resolution of screen */
|
||||
unsigned wc_video_height; /* Y resolution of screen */
|
||||
#endif
|
||||
boolean wc_splash_screen; /* display an opening splash screen or not */
|
||||
boolean wc_popup_dialog; /* put queries in pop up dialogs instead of
|
||||
* in the message window */
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* NetHack 3.6 obj.h $NHDT-Date: 1508827590 2017/10/24 06:46:30 $ $NHDT-Branch: NetHack-3.6.0 $:$NHDT-Revision: 1.60 $ */
|
||||
/* NetHack 3.6 obj.h $NHDT-Date: 1580036271 2020/01/26 10:57:51 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.66 $ */
|
||||
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
|
||||
/*-Copyright (c) Michael Allison, 2006. */
|
||||
/* NetHack may be freely redistributed. See license for details. */
|
||||
@@ -114,7 +114,6 @@ struct obj {
|
||||
#define leashmon corpsenm /* gets m_id of attached pet */
|
||||
#define fromsink corpsenm /* a potion from a sink */
|
||||
#define novelidx corpsenm /* 3.6 tribute - the index of the novel title */
|
||||
#define record_achieve_special corpsenm
|
||||
int usecount; /* overloaded for various things that tally */
|
||||
#define spestudied usecount /* # of times a spellbook has been studied */
|
||||
unsigned oeaten; /* nutrition left in food, if partly eaten */
|
||||
|
||||
23
include/rm.h
23
include/rm.h
@@ -1,4 +1,4 @@
|
||||
/* NetHack 3.6 rm.h $NHDT-Date: 1578258722 2020/01/05 21:12:02 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.77 $ */
|
||||
/* NetHack 3.6 rm.h $NHDT-Date: 1580070206 2020/01/26 20:23:26 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.78 $ */
|
||||
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
|
||||
/*-Copyright (c) Pasi Kallinen, 2017. */
|
||||
/* NetHack may be freely redistributed. See license for details. */
|
||||
@@ -528,16 +528,19 @@ struct rm {
|
||||
#define SV7 0x80
|
||||
#define SVALL 0xFF
|
||||
|
||||
#define doormask flags
|
||||
#define altarmask flags
|
||||
#define wall_info flags
|
||||
#define ladder flags
|
||||
#define drawbridgemask flags
|
||||
#define looted flags
|
||||
#define icedpool flags
|
||||
|
||||
/* if these get changed or expanded, make sure wizard-mode wishing becomes
|
||||
aware of the new usage */
|
||||
#define doormask flags /* door, sdoor (note conflict with wall_info) */
|
||||
#define altarmask flags /* alignment and maybe temple */
|
||||
#define wall_info flags /* wall, sdoor (note conflict with doormask) */
|
||||
#define ladder flags /* up or down */
|
||||
#define drawbridgemask flags /* what's underneath when the span is open */
|
||||
#define looted flags /* used for throne, tree, fountain, sink, door */
|
||||
#define icedpool flags /* used for ice (in case it melts) */
|
||||
/* horizonal applies to walls, doors (including sdoor); also to iron bars
|
||||
even though they don't have separate symbols for horizontal and vertical */
|
||||
#define blessedftn horizontal /* a fountain that grants attribs */
|
||||
#define disturbed horizontal /* a grave that has been disturbed */
|
||||
#define disturbed horizontal /* a grave that has been disturbed */
|
||||
|
||||
struct damage {
|
||||
struct damage *next;
|
||||
|
||||
@@ -18,9 +18,15 @@ struct TileImage {
|
||||
|
||||
boolean FDECL(read_tiles, (const char *filename, BOOLEAN_P true_color));
|
||||
const struct Pixel *NDECL(get_palette);
|
||||
boolean FDECL(set_tile_type, (BOOLEAN_P true_color));
|
||||
void NDECL(free_tiles);
|
||||
const struct TileImage *FDECL(get_tile, (unsigned tile_index));
|
||||
|
||||
/* For resizing tiles */
|
||||
struct TileImage *FDECL(stretch_tile, (const struct TileImage *,
|
||||
unsigned, unsigned));
|
||||
void FDECL(free_tile, (struct TileImage *));
|
||||
|
||||
/* Used internally by the tile set code */
|
||||
struct TileSetImage {
|
||||
/* Image data */
|
||||
|
||||
Reference in New Issue
Block a user