status display - new file (trunk only)

Introduction of a new set of window port status display
routines.  The new routines are conditional on
	STATUS_VIA_WINDOWPORT
being defined in config.h. See the experimental section,
where the #define resides for the time being.
This commit is contained in:
nethack.allison
2003-11-23 06:50:48 +00:00
parent 586a805c8f
commit 21f3e1a3a6
2 changed files with 58 additions and 14 deletions
+14 -14
View File
@@ -31,20 +31,20 @@ nethack.txt recover.6 recover.txt tmac.n window.doc
include: include:
(files for all versions) (files for all versions)
align.h amiconf.h artifact.h artilist.h attrib.h align.h amiconf.h artifact.h artilist.h attrib.h
beconf.h color.h config.h config1.h context.h beconf.h botl.h color.h config.h config1.h
coord.h decl.h def_os2.h dgn_file.h display.h context.h coord.h decl.h def_os2.h dgn_file.h
dlb.h dungeon.h edog.h emin.h engrave.h display.h dlb.h dungeon.h edog.h emin.h
epri.h eshk.h extern.h flag.h func_tab.h engrave.h epri.h eshk.h extern.h flag.h
global.h hack.h lev.h mail.h mfndpos.h func_tab.h global.h hack.h lev.h mail.h
micro.h mkroom.h monattk.h mondata.h monflag.h mfndpos.h micro.h mkroom.h monattk.h mondata.h
monst.h monsym.h nhlan.h ntconf.h obj.h monflag.h monst.h monsym.h nhlan.h ntconf.h
objclass.h os2conf.h patchlevel.h pcconf.h permonst.h obj.h objclass.h os2conf.h patchlevel.h pcconf.h
prop.h qtext.h quest.h rect.h region.h permonst.h prop.h qtext.h quest.h rect.h
rm.h skills.h sp_lev.h spell.h system.h region.h rm.h skills.h sp_lev.h spell.h
tcap.h timeout.h tosconf.h tradstdc.h trampoli.h system.h tcap.h timeout.h tosconf.h tradstdc.h
trap.h unixconf.h vault.h vision.h vmsconf.h trampoli.h trap.h unixconf.h vault.h vision.h
wceconf.h winami.h winprocs.h wintype.h you.h vmsconf.h wceconf.h winami.h winprocs.h wintype.h
youprop.h you.h youprop.h
(file for tty versions) (file for tty versions)
wintty.h wintty.h
(files for X versions) (files for X versions)
+44
View File
@@ -0,0 +1,44 @@
/* SCCS Id: @(#)botl.h 3.4 $Date$ */
/* Copyright (c) Michael Allison, 2003 */
/* NetHack may be freely redistributed. See license for details. */
#ifndef BOTL_H
#define BOTL_H
#define BL_FLUSH -1
#define BL_TITLE 0
#define BL_STR 1
#define BL_DX 2
#define BL_CO 3
#define BL_IN 4
#define BL_WI 5
#define BL_CH 6
#define BL_ALIGN 7
#define BL_SCORE 8
#define BL_CAP 9
#define BL_GOLD 10
#define BL_ENE 11
#define BL_ENEMAX 12
#define BL_XP 13
#define BL_AC 14
#define BL_HD 15
#define BL_TIME 16
#define BL_HUNGER 17
#define BL_HP 18
#define BL_HPMAX 19
#define BL_LEVELDESC 20
#define BL_EXP 21
#define BL_CONDITION 22
#define MAXBLSTATS 23
/* Boolean condition bits for the condition mask */
#define BL_MASK_BLIND 0x00000001L
#define BL_MASK_CONF 0x00000002L
#define BL_MASK_FOODPOIS 0x00000004L
#define BL_MASK_ILL 0x00000008L
#define BL_MASK_HALLU 0x00000010L
#define BL_MASK_STUNNED 0x00000020L
#define BL_MASK_SLIMED 0x00000040L
#endif /* BOTL_H */