pull in the recent unconditionals merge from master

This commit is contained in:
Derek S. Ray
2015-02-27 21:25:00 -05:00
parent 7f0ff8f011
commit b1a7bbbbdb
538 changed files with 1715 additions and 5685 deletions

View File

@@ -1,4 +1,5 @@
/* NetHack 3.5 display.h $Date$ $Revision$ */
/* NetHack 3.5 display.h $NHDT-Date$ $NHDT-Branch$:$NHDT-Revision$ */
/* NetHack 3.5 display.h $Date: 2009/05/06 10:44:38 $ $Revision: 1.14 $ */
/* SCCS Id: @(#)display.h 3.5 2005/06/21 */
/* Copyright (c) Dean Luick, with acknowledgements to Kevin Darcy */
/* and Dave Cohrs, 1990. */
@@ -15,9 +16,13 @@
#include "mondata.h" /* for mindless() */
#endif
#ifndef INVISIBLE_OBJECTS
/*
* vobj_at()
*
* Returns the head of the list of objects that the player can see
* at location (x,y).
*/
#define vobj_at(x,y) (level.objects[x][y])
#endif
/*
* sensemon()
@@ -197,12 +202,8 @@
* Display the hero. It is assumed that all checks necessary to determine
* _if_ the hero can be seen have already been done.
*/
#ifdef STEED
#define maybe_display_usteed (u.usteed && mon_visible(u.usteed)) ? \
ridden_mon_to_glyph(u.usteed) :
#else
#define maybe_display_usteed /* empty */
#endif
#define display_self() \
show_glyph(u.ux, u.uy, \