]> granicus.if.org Git - nethack/commitdiff
status display - new file (trunk only)
authornethack.allison <nethack.allison>
Sun, 23 Nov 2003 06:50:48 +0000 (06:50 +0000)
committernethack.allison <nethack.allison>
Sun, 23 Nov 2003 06:50:48 +0000 (06:50 +0000)
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.

Files
include/botl.h [new file with mode: 0644]

diff --git a/Files b/Files
index 1f0f44951bf8312481b42c60dd062421a59aef80..0e6bf814f2fe49fd6b5d756b167d9d8878ba0325 100644 (file)
--- a/Files
+++ b/Files
@@ -31,20 +31,20 @@ nethack.txt     recover.6       recover.txt     tmac.n          window.doc
 include:
 (files for all versions)
 align.h         amiconf.h       artifact.h      artilist.h      attrib.h
-beconf.h        color.h         config.h        config1.h       context.h
-coord.h         decl.h          def_os2.h       dgn_file.h      display.h
-dlb.h           dungeon.h       edog.h          emin.h          engrave.h
-epri.h          eshk.h          extern.h        flag.h          func_tab.h
-global.h        hack.h          lev.h           mail.h          mfndpos.h
-micro.h         mkroom.h        monattk.h       mondata.h       monflag.h
-monst.h         monsym.h        nhlan.h         ntconf.h        obj.h
-objclass.h      os2conf.h       patchlevel.h    pcconf.h        permonst.h
-prop.h          qtext.h         quest.h         rect.h          region.h
-rm.h            skills.h        sp_lev.h        spell.h         system.h
-tcap.h          timeout.h       tosconf.h       tradstdc.h      trampoli.h
-trap.h          unixconf.h      vault.h         vision.h        vmsconf.h
-wceconf.h       winami.h        winprocs.h      wintype.h       you.h
-youprop.h
+beconf.h        botl.h          color.h         config.h        config1.h
+context.h       coord.h         decl.h          def_os2.h       dgn_file.h
+display.h       dlb.h           dungeon.h       edog.h          emin.h
+engrave.h       epri.h          eshk.h          extern.h        flag.h
+func_tab.h      global.h        hack.h          lev.h           mail.h
+mfndpos.h       micro.h         mkroom.h        monattk.h       mondata.h
+monflag.h       monst.h         monsym.h        nhlan.h         ntconf.h
+obj.h           objclass.h      os2conf.h       patchlevel.h    pcconf.h
+permonst.h      prop.h          qtext.h         quest.h         rect.h
+region.h        rm.h            skills.h        sp_lev.h        spell.h
+system.h        tcap.h          timeout.h       tosconf.h       tradstdc.h
+trampoli.h      trap.h          unixconf.h      vault.h         vision.h
+vmsconf.h       wceconf.h       winami.h        winprocs.h      wintype.h
+you.h           youprop.h
 (file for tty versions)
 wintty.h
 (files for X versions)
diff --git a/include/botl.h b/include/botl.h
new file mode 100644 (file)
index 0000000..fa152b9
--- /dev/null
@@ -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 */