integrate aklys feature introduced in 3.6.1 into display
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* NetHack 3.6 display.h $NHDT-Date: 1447729027 2015/11/17 02:57:07 $ $NHDT-Branch: master $:$NHDT-Revision: 1.26 $ */
|
||||
/* NetHack 3.6 display.h $NHDT-Date: 1525012585 2018/04/29 14:36:25 $ $NHDT-Branch: master $:$NHDT-Revision: 1.28 $ */
|
||||
/* Copyright (c) Dean Luick, with acknowledgements to Kevin Darcy */
|
||||
/* and Dave Cohrs, 1990. */
|
||||
/* NetHack may be freely redistributed. See license for details. */
|
||||
@@ -179,14 +179,16 @@
|
||||
*/
|
||||
#define DISP_BEAM (-1) /* Keep all glyphs showing & clean up at end. */
|
||||
#define DISP_ALL (-2) /* Like beam, but still displayed if not visible. */
|
||||
#define DISP_FLASH (-3) /* Clean up each glyph before displaying new one. */
|
||||
#define DISP_ALWAYS (-4) /* Like flash, but still displayed if not visible. */
|
||||
#define DISP_CHANGE (-5) /* Change glyph. */
|
||||
#define DISP_END (-6) /* Clean up. */
|
||||
#define DISP_FREEMEM (-7) /* Free all memory during exit only. */
|
||||
#define DISP_TETHER (-3) /* Like beam, but tether glyph differs from final */
|
||||
#define DISP_FLASH (-4) /* Clean up each glyph before displaying new one. */
|
||||
#define DISP_ALWAYS (-5) /* Like flash, but still displayed if not visible. */
|
||||
#define DISP_CHANGE (-6) /* Change glyph. */
|
||||
#define DISP_END (-7) /* Clean up. */
|
||||
#define DISP_FREEMEM (-8) /* Free all memory during exit only. */
|
||||
|
||||
/* Total number of cmap indices in the shield_static[] array. */
|
||||
#define SHIELD_COUNT 21
|
||||
#define BACKTRACK (-1) /* flag for DISP_END to display each prior location */
|
||||
|
||||
/*
|
||||
* display_self()
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* NetHack 3.6 extern.h $NHDT-Date: 1518053385 2018/02/08 01:29:45 $ $NHDT-Branch: NetHack-3.6.0 $:$NHDT-Revision: 1.625 $ */
|
||||
/* NetHack 3.6 extern.h $NHDT-Date: 1525012590 2018/04/29 14:36:30 $ $NHDT-Branch: master $:$NHDT-Revision: 1.629 $ */
|
||||
/* Copyright (c) Steve Creps, 1988. */
|
||||
/* NetHack may be freely redistributed. See license for details. */
|
||||
|
||||
@@ -2879,7 +2879,8 @@ E int FDECL(spell_damage_bonus, (int));
|
||||
E const char *FDECL(exclam, (int force));
|
||||
E void FDECL(hit, (const char *, struct monst *, const char *));
|
||||
E void FDECL(miss, (const char *, struct monst *));
|
||||
E struct monst *FDECL(bhit, (int, int, int, int, int (*)(MONST_P, OBJ_P),
|
||||
E struct monst *FDECL(bhit, (int, int, int, enum bhit_call_types,
|
||||
int (*)(MONST_P, OBJ_P),
|
||||
int (*)(OBJ_P, OBJ_P), struct obj **));
|
||||
E struct monst *FDECL(boomhit, (struct obj *, int, int));
|
||||
E int FDECL(zhitm, (struct monst *, int, int, struct obj **));
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* NetHack 3.6 hack.h $NHDT-Date: 1490908464 2017/03/30 21:14:24 $ $NHDT-Branch: NetHack-3.6.0 $:$NHDT-Revision: 1.76 $ */
|
||||
/* NetHack 3.6 hack.h $NHDT-Date: 1525012595 2018/04/29 14:36:35 $ $NHDT-Branch: master $:$NHDT-Revision: 1.82 $ */
|
||||
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
|
||||
/*-Copyright (c) Pasi Kallinen, 2017. */
|
||||
/* NetHack may be freely redistributed. See license for details. */
|
||||
@@ -175,6 +175,7 @@ NEARDATA extern coord bhitpos; /* place where throw or zap hits or stops */
|
||||
enum bhit_call_types {
|
||||
ZAPPED_WAND = 0,
|
||||
THROWN_WEAPON,
|
||||
THROWN_TETHERED_WEAPON,
|
||||
KICKED_WEAPON,
|
||||
FLASHED_LIGHT,
|
||||
INVIS_BEAM
|
||||
|
||||
Reference in New Issue
Block a user