Source:NetHack 3.6.1/include/hack.h

From NetHackWiki
(Redirected from Hack.h)
Jump to: navigation, search

Below is the full text to hack.h from the source code of NetHack 3.6.1. To link to a particular line, write [[Source:NetHack 3.6.1/include/hack.h#line123]], for example.

The NetHack General Public License applies to screenshots, source code and other content from NetHack.

This content was modified from the original NetHack source code distribution (by splitting up NetHack content between wiki pages, and possibly further editing). See the page history for a list of who changed it, and on what dates.

  1.  /* NetHack 3.6	hack.h	$NHDT-Date: 1490908464 2017/03/30 21:14:24 $  $NHDT-Branch: NetHack-3.6.0 $:$NHDT-Revision: 1.76 $ */
  2.  /* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
  3.  /*-Copyright (c) Pasi Kallinen, 2017. */
  4.  /* NetHack may be freely redistributed.  See license for details. */
  5.  
  6.  #ifndef HACK_H
  7.  #define HACK_H
  8.  
  9.  #ifndef CONFIG_H
  10.  #include "config.h"
  11.  #endif
  12.  #include "lint.h"
  13.  
  14.  #define TELL 1
  15.  #define NOTELL 0
  16.  #define ON 1
  17.  #define OFF 0
  18.  #define BOLT_LIM 8        /* from this distance ranged attacks will be made */
  19.  #define MAX_CARR_CAP 1000 /* so that boulders can be heavier */
  20.  #define DUMMY \
  21.      {         \
  22.          0     \
  23.      }
  24.  
  25.  /* symbolic names for capacity levels */
  26.  enum encumbrance_types {
  27.      UNENCUMBERED = 0,
  28.      SLT_ENCUMBER, /* Burdened */
  29.      MOD_ENCUMBER, /* Stressed */
  30.      HVY_ENCUMBER, /* Strained */
  31.      EXT_ENCUMBER, /* Overtaxed */
  32.      OVERLOADED    /* Overloaded */
  33.  };
  34.  
  35.  /* weight increment of heavy iron ball */
  36.  #define IRON_BALL_W_INCR 160
  37.  
  38.  /* number of turns it takes for vault guard to show up */
  39.  #define VAULT_GUARD_TIME 30
  40.  
  41.  #define SHOP_DOOR_COST 400L /* cost of a destroyed shop door */
  42.  #define SHOP_BARS_COST 300L /* cost of iron bars */
  43.  #define SHOP_HOLE_COST 200L /* cost of making hole/trapdoor */
  44.  #define SHOP_WALL_COST 200L /* cost of destroying a wall */
  45.  #define SHOP_WALL_DMG  (10L * ACURRSTR) /* damaging a wall */
  46.  
  47.  /* hunger states - see hu_stat in eat.c */
  48.  enum hunger_state_types {
  49.      SATIATED = 0,
  50.      NOT_HUNGRY,
  51.      HUNGRY,
  52.      WEAK,
  53.      FAINTING,
  54.      FAINTED,
  55.      STARVED
  56.  };
  57.  
  58.  /* Macros for how a rumor was delivered in outrumor() */
  59.  #define BY_ORACLE 0
  60.  #define BY_COOKIE 1
  61.  #define BY_PAPER 2
  62.  #define BY_OTHER 9
  63.  
  64.  /* Macros for why you are no longer riding */
  65.  enum dismount_types {
  66.      DISMOUNT_GENERIC = 0,
  67.      DISMOUNT_FELL,
  68.      DISMOUNT_THROWN,
  69.      DISMOUNT_POLY,
  70.      DISMOUNT_ENGULFED,
  71.      DISMOUNT_BONES,
  72.      DISMOUNT_BYCHOICE
  73.  };
  74.  
  75.  /* Special returns from mapglyph() */
  76.  #define MG_CORPSE  0x01
  77.  #define MG_INVIS   0x02
  78.  #define MG_DETECT  0x04
  79.  #define MG_PET     0x08
  80.  #define MG_RIDDEN  0x10
  81.  #define MG_STATUE  0x20
  82.  #define MG_OBJPILE 0x40  /* more than one stack of objects */
  83.  #define MG_BW_LAVA 0x80  /* 'black & white lava': highlight lava if it
  84.                              can't be distringuished from water by color */
  85.  
  86.  /* sellobj_state() states */
  87.  #define SELL_NORMAL (0)
  88.  #define SELL_DELIBERATE (1)
  89.  #define SELL_DONTSELL (2)
  90.  
  91.  /* alteration types--keep in synch with costly_alteration(mkobj.c) */
  92.  enum cost_alteration_types {
  93.      COST_CANCEL = 0,   /* standard cancellation */
  94.      COST_DRAIN,    /* drain life upon an object */
  95.      COST_UNCHRG,   /* cursed charging */
  96.      COST_UNBLSS,   /* unbless (devalues holy water) */
  97.      COST_UNCURS,   /* uncurse (devalues unholy water) */
  98.      COST_DECHNT,   /* disenchant weapons or armor */
  99.      COST_DEGRD,    /* removal of rustproofing, dulling via engraving */
  100.      COST_DILUTE,   /* potion dilution */
  101.      COST_ERASE,    /* scroll or spellbook blanking */
  102.      COST_BURN,     /* dipped into flaming oil */
  103.      COST_NUTRLZ,   /* neutralized via unicorn horn */
  104.      COST_DSTROY,   /* wand breaking (bill first, useup later) */
  105.      COST_SPLAT,    /* cream pie to own face (ditto) */
  106.      COST_BITE,     /* start eating food */
  107.      COST_OPEN,     /* open tin */
  108.      COST_BRKLCK,   /* break box/chest's lock */
  109.      COST_RUST,     /* rust damage */
  110.      COST_ROT,      /* rotting attack */
  111.      COST_CORRODE   /* acid damage */
  112.  };
  113.  
  114.  /* bitmask flags for corpse_xname();
  115.     PFX_THE takes precedence over ARTICLE, NO_PFX takes precedence over both */
  116.  #define CXN_NORMAL 0    /* no special handling */
  117.  #define CXN_SINGULAR 1  /* override quantity if greather than 1 */
  118.  #define CXN_NO_PFX 2    /* suppress "the" from "the Unique Monst */
  119.  #define CXN_PFX_THE 4   /* prefix with "the " (unless pname) */
  120.  #define CXN_ARTICLE 8   /* include a/an/the prefix */
  121.  #define CXN_NOCORPSE 16 /* suppress " corpse" suffix */
  122.  
  123.  /* getpos() return values */
  124.  enum getpos_retval {
  125.      LOOK_TRADITIONAL = 0, /* '.' -- ask about "more info?" */
  126.      LOOK_QUICK,           /* ',' -- skip "more info?" */
  127.      LOOK_ONCE,            /* ';' -- skip and stop looping */
  128.      LOOK_VERBOSE          /* ':' -- show more info w/o asking */
  129.  };
  130.  
  131.  /*
  132.   * This is the way the game ends.  If these are rearranged, the arrays
  133.   * in end.c and topten.c will need to be changed.  Some parts of the
  134.   * code assume that PANIC separates the deaths from the non-deaths.
  135.   */
  136.  enum game_end_types {
  137.      DIED = 0,
  138.      CHOKING,
  139.      POISONING,
  140.      STARVING,
  141.      DROWNING,
  142.      BURNING,
  143.      DISSOLVED,
  144.      CRUSHING,
  145.      STONING,
  146.      TURNED_SLIME,
  147.      GENOCIDED,
  148.      PANICKED,
  149.      TRICKED,
  150.      QUIT,
  151.      ESCAPED,
  152.      ASCENDED
  153.  };
  154.  
  155.  typedef struct strbuf {
  156.      int    len;
  157.      char * str;
  158.      char   buf[256];
  159.  } strbuf_t;
  160.  
  161.  #include "align.h"
  162.  #include "dungeon.h"
  163.  #include "monsym.h"
  164.  #include "mkroom.h"
  165.  #include "objclass.h"
  166.  #include "youprop.h"
  167.  #include "wintype.h"
  168.  #include "context.h"
  169.  #include "decl.h"
  170.  #include "timeout.h"
  171.  
  172.  NEARDATA extern coord bhitpos; /* place where throw or zap hits or stops */
  173.  
  174.  /* types of calls to bhit() */
  175.  enum bhit_call_types {
  176.      ZAPPED_WAND = 0,
  177.      THROWN_WEAPON,
  178.      KICKED_WEAPON,
  179.      FLASHED_LIGHT,
  180.      INVIS_BEAM
  181.  };
  182.  
  183.  /* attack mode for hmon() */
  184.  enum hmon_atkmode_types {
  185.      HMON_MELEE = 0, /* hand-to-hand */
  186.      HMON_THROWN,    /* normal ranged (or spitting while poly'd) */
  187.      HMON_KICKED,    /* alternate ranged */
  188.      HMON_APPLIED,   /* polearm, treated as ranged */
  189.      HMON_DRAGGED    /* attached iron ball, pulled into mon */
  190.  };
  191.  
  192.  #define MATCH_WARN_OF_MON(mon)                                               \
  193.      (Warn_of_mon && ((context.warntype.obj                                   \
  194.                        && (context.warntype.obj & (mon)->data->mflags2))      \
  195.                       || (context.warntype.polyd                              \
  196.                           && (context.warntype.polyd & (mon)->data->mflags2)) \
  197.                       || (context.warntype.species                            \
  198.                           && (context.warntype.species == (mon)->data))))
  199.  
  200.  #include "trap.h"
  201.  #include "flag.h"
  202.  #include "rm.h"
  203.  #include "vision.h"
  204.  #include "display.h"
  205.  #include "engrave.h"
  206.  #include "rect.h"
  207.  #include "region.h"
  208.  
  209.  /* Symbol offsets */
  210.  #define SYM_OFF_P (0)
  211.  #define SYM_OFF_O (SYM_OFF_P + MAXPCHARS)
  212.  #define SYM_OFF_M (SYM_OFF_O + MAXOCLASSES)
  213.  #define SYM_OFF_W (SYM_OFF_M + MAXMCLASSES)
  214.  #define SYM_OFF_X (SYM_OFF_W + WARNCOUNT)
  215.  #define SYM_MAX (SYM_OFF_X + MAXOTHER)
  216.  
  217.  #ifdef USE_TRAMPOLI /* This doesn't belong here, but we have little choice \
  218.                         */
  219.  #undef NDECL
  220.  #define NDECL(f) f()
  221.  #endif
  222.  
  223.  #include "extern.h"
  224.  #include "winprocs.h"
  225.  #include "sys.h"
  226.  
  227.  #ifdef USE_TRAMPOLI
  228.  #include "wintty.h"
  229.  #undef WINTTY_H
  230.  #include "trampoli.h"
  231.  #undef EXTERN_H
  232.  #include "extern.h"
  233.  #endif /* USE_TRAMPOLI */
  234.  
  235.  /* flags to control makemon() */
  236.  #define NO_MM_FLAGS 0x00000 /* use this rather than plain 0 */
  237.  #define NO_MINVENT 0x00001  /* suppress minvent when creating mon */
  238.  #define MM_NOWAIT 0x00002   /* don't set STRAT_WAITMASK flags */
  239.  #define MM_NOCOUNTBIRTH \
  240.      0x00004 /* don't increment born counter (for revival) */
  241.  #define MM_IGNOREWATER 0x00008 /* ignore water when positioning */
  242.  #define MM_ADJACENTOK \
  243.      0x00010               /* it is acceptable to use adjacent coordinates */
  244.  #define MM_ANGRY 0x00020  /* monster is created angry */
  245.  #define MM_NONAME 0x00040 /* monster is not christened */
  246.  #define MM_EGD 0x00100    /* add egd structure */
  247.  #define MM_EPRI 0x00200   /* add epri structure */
  248.  #define MM_ESHK 0x00400   /* add eshk structure */
  249.  #define MM_EMIN 0x00800   /* add emin structure */
  250.  #define MM_EDOG 0x01000   /* add edog structure */
  251.  
  252.  /* flags for make_corpse() and mkcorpstat() */
  253.  #define CORPSTAT_NONE 0x00
  254.  #define CORPSTAT_INIT 0x01   /* pass init flag to mkcorpstat */
  255.  #define CORPSTAT_BURIED 0x02 /* bury the corpse or statue */
  256.  
  257.  /* flags for decide_to_shift() */
  258.  #define SHIFT_SEENMSG 0x01 /* put out a message if in sight */
  259.  #define SHIFT_MSG 0x02     /* always put out a message */
  260.  
  261.  /* special mhpmax value when loading bones monster to flag as extinct or
  262.   * genocided */
  263.  #define DEFUNCT_MONSTER (-100)
  264.  
  265.  /* macro form of adjustments of physical damage based on Half_physical_damage.
  266.   * Can be used on-the-fly with the 1st parameter to losehp() if you don't
  267.   * need to retain the dmg value beyond that call scope.
  268.   * Take care to ensure it doesn't get used more than once in other instances.
  269.   */
  270.  #define Maybe_Half_Phys(dmg) \
  271.      ((Half_physical_damage) ? (((dmg) + 1) / 2) : (dmg))
  272.  
  273.  /* flags for special ggetobj status returns */
  274.  #define ALL_FINISHED 0x01 /* called routine already finished the job */
  275.  
  276.  /* flags to control query_objlist() */
  277.  #define BY_NEXTHERE 0x1       /* follow objlist by nexthere field */
  278.  #define AUTOSELECT_SINGLE 0x2 /* if only 1 object, don't ask */
  279.  #define USE_INVLET 0x4        /* use object's invlet */
  280.  #define INVORDER_SORT 0x8     /* sort objects by packorder */
  281.  #define SIGNAL_NOMENU 0x10    /* return -1 rather than 0 if none allowed */
  282.  #define SIGNAL_ESCAPE 0x20    /* return -2 rather than 0 for ESC */
  283.  #define FEEL_COCKATRICE 0x40  /* engage cockatrice checks and react */
  284.  #define INCLUDE_HERO 0x80     /* show hero among engulfer's inventory */
  285.  
  286.  /* Flags to control query_category() */
  287.  /* BY_NEXTHERE used by query_category() too, so skip 0x01 */
  288.  #define UNPAID_TYPES 0x02
  289.  #define GOLD_TYPES 0x04
  290.  #define WORN_TYPES 0x08
  291.  #define ALL_TYPES 0x10
  292.  #define BILLED_TYPES 0x20
  293.  #define CHOOSE_ALL 0x40
  294.  #define BUC_BLESSED 0x80
  295.  #define BUC_CURSED 0x100
  296.  #define BUC_UNCURSED 0x200
  297.  #define BUC_UNKNOWN 0x400
  298.  #define BUC_ALLBKNOWN (BUC_BLESSED | BUC_CURSED | BUC_UNCURSED)
  299.  #define BUCX_TYPES (BUC_ALLBKNOWN | BUC_UNKNOWN)
  300.  #define ALL_TYPES_SELECTED -2
  301.  
  302.  /* Flags to control find_mid() */
  303.  #define FM_FMON 0x01    /* search the fmon chain */
  304.  #define FM_MIGRATE 0x02 /* search the migrating monster chain */
  305.  #define FM_MYDOGS 0x04  /* search mydogs */
  306.  #define FM_EVERYWHERE (FM_FMON | FM_MIGRATE | FM_MYDOGS)
  307.  
  308.  /* Flags to control pick_[race,role,gend,align] routines in role.c */
  309.  #define PICK_RANDOM 0
  310.  #define PICK_RIGID 1
  311.  
  312.  /* Flags to control dotrap() in trap.c */
  313.  #define FORCETRAP 0x01     /* triggering not left to chance */
  314.  #define NOWEBMSG 0x02      /* suppress stumble into web message */
  315.  #define FORCEBUNGLE 0x04   /* adjustments appropriate for bungling */
  316.  #define RECURSIVETRAP 0x08 /* trap changed into another type this same turn */
  317.  #define TOOKPLUNGE 0x10    /* used '>' to enter pit below you */
  318.  #define VIASITTING 0x20    /* #sit while at trap location (affects message) */
  319.  
  320.  /* Flags to control test_move in hack.c */
  321.  #define DO_MOVE 0   /* really doing the move */
  322.  #define TEST_MOVE 1 /* test a normal move (move there next) */
  323.  #define TEST_TRAV 2 /* test a future travel location */
  324.  #define TEST_TRAP 3 /* check if a future travel loc is a trap */
  325.  
  326.  /*** some utility macros ***/
  327.  #define yn(query) yn_function(query, ynchars, 'n')
  328.  #define ynq(query) yn_function(query, ynqchars, 'q')
  329.  #define ynaq(query) yn_function(query, ynaqchars, 'y')
  330.  #define nyaq(query) yn_function(query, ynaqchars, 'n')
  331.  #define nyNaq(query) yn_function(query, ynNaqchars, 'n')
  332.  #define ynNaq(query) yn_function(query, ynNaqchars, 'y')
  333.  
  334.  /* Macros for scatter */
  335.  #define VIS_EFFECTS 0x01 /* display visual effects */
  336.  #define MAY_HITMON 0x02  /* objects may hit monsters */
  337.  #define MAY_HITYOU 0x04  /* objects may hit you */
  338.  #define MAY_HIT (MAY_HITMON | MAY_HITYOU)
  339.  #define MAY_DESTROY 0x08  /* objects may be destroyed at random */
  340.  #define MAY_FRACTURE 0x10 /* boulders & statues may fracture */
  341.  
  342.  /* Macros for launching objects */
  343.  #define ROLL 0x01          /* the object is rolling */
  344.  #define FLING 0x02         /* the object is flying thru the air */
  345.  #define LAUNCH_UNSEEN 0x40 /* hero neither caused nor saw it */
  346.  #define LAUNCH_KNOWN 0x80  /* the hero caused this by explicit action */
  347.  
  348.  /* Macros for explosion types */
  349.  enum explosion_types {
  350.      EXPL_DARK = 0,
  351.      EXPL_NOXIOUS,
  352.      EXPL_MUDDY,
  353.      EXPL_WET,
  354.      EXPL_MAGICAL,
  355.      EXPL_FIERY,
  356.      EXPL_FROSTY,
  357.      EXPL_MAX
  358.  };
  359.  
  360.  /* enlightenment control flags */
  361.  #define BASICENLIGHTENMENT 1 /* show mundane stuff */
  362.  #define MAGICENLIGHTENMENT 2 /* show intrinsics and such */
  363.  #define ENL_GAMEINPROGRESS 0
  364.  #define ENL_GAMEOVERALIVE  1 /* ascension, escape, quit, trickery */
  365.  #define ENL_GAMEOVERDEAD   2
  366.  
  367.  /* control flags for sortloot() */
  368.  #define SORTLOOT_PACK   0x01
  369.  #define SORTLOOT_INVLET 0x02
  370.  #define SORTLOOT_LOOT   0x04
  371.  
  372.  /* flags for xkilled() [note: meaning of first bit used to be reversed,
  373.     1 to give message and 0 to suppress] */
  374.  #define XKILL_GIVEMSG   0
  375.  #define XKILL_NOMSG     1
  376.  #define XKILL_NOCORPSE  2
  377.  #define XKILL_NOCONDUCT 4
  378.  
  379.  /* pline_flags; mask values for custompline()'s first argument */
  380.  /* #define PLINE_ORDINARY 0 */
  381.  #define PLINE_NOREPEAT   1
  382.  #define OVERRIDE_MSGTYPE 2
  383.  #define SUPPRESS_HISTORY 4
  384.  
  385.  /* Macros for messages referring to hands, eyes, feet, etc... */
  386.  enum bodypart_types {
  387.      ARM = 0,
  388.      EYE,
  389.      FACE,
  390.      FINGER,
  391.      FINGERTIP,
  392.      FOOT,
  393.      HAND,
  394.      HANDED,
  395.      HEAD,
  396.      LEG,
  397.      LIGHT_HEADED,
  398.      NECK,
  399.      SPINE,
  400.      TOE,
  401.      HAIR,
  402.      BLOOD,
  403.      LUNG,
  404.      NOSE,
  405.      STOMACH
  406.  };
  407.  
  408.  /* indices for some special tin types */
  409.  #define ROTTEN_TIN 0
  410.  #define HOMEMADE_TIN 1
  411.  #define SPINACH_TIN (-1)
  412.  #define RANDOM_TIN (-2)
  413.  #define HEALTHY_TIN (-3)
  414.  
  415.  /* Some misc definitions */
  416.  #define POTION_OCCUPANT_CHANCE(n) (13 + 2 * (n))
  417.  #define WAND_BACKFIRE_CHANCE 100
  418.  #define BALL_IN_MON (u.uswallow && uball && uball->where == OBJ_FREE)
  419.  #define NODIAG(monnum) ((monnum) == PM_GRID_BUG)
  420.  
  421.  /* Flags to control menus */
  422.  #define MENUTYPELEN sizeof("traditional ")
  423.  #define MENU_TRADITIONAL 0
  424.  #define MENU_COMBINATION 1
  425.  #define MENU_FULL 2
  426.  #define MENU_PARTIAL 3
  427.  
  428.  #define MENU_SELECTED TRUE
  429.  #define MENU_UNSELECTED FALSE
  430.  
  431.  /*
  432.   * Option flags
  433.   * Each higher number includes the characteristics of the numbers
  434.   * below it.
  435.   */
  436.  /* XXX This should be replaced with a bitmap. */
  437.  #define SET_IN_SYS 0   /* system config file option only */
  438.  #define SET_IN_FILE 1  /* config file option only */
  439.  #define SET_VIA_PROG 2 /* may be set via extern program, not seen in game */
  440.  #define DISP_IN_GAME 3 /* may be set via extern program, displayed in game \
  441.                            */
  442.  #define SET_IN_GAME 4  /* may be set via extern program or set in the game */
  443.  #define SET_IN_WIZGAME 5  /* may be set set in the game if wizmode */
  444.  #define SET__IS_VALUE_VALID(s) ((s < SET_IN_SYS) || (s > SET_IN_WIZGAME))
  445.  
  446.  #define FEATURE_NOTICE_VER(major, minor, patch)                    \
  447.      (((unsigned long) major << 24) | ((unsigned long) minor << 16) \
  448.       | ((unsigned long) patch << 8) | ((unsigned long) 0))
  449.  
  450.  #define FEATURE_NOTICE_VER_MAJ (flags.suppress_alert >> 24)
  451.  #define FEATURE_NOTICE_VER_MIN \
  452.      (((unsigned long) (0x0000000000FF0000L & flags.suppress_alert)) >> 16)
  453.  #define FEATURE_NOTICE_VER_PATCH \
  454.      (((unsigned long) (0x000000000000FF00L & flags.suppress_alert)) >> 8)
  455.  
  456.  #ifndef max
  457.  #define max(a, b) ((a) > (b) ? (a) : (b))
  458.  #endif
  459.  #ifndef min
  460.  #define min(x, y) ((x) < (y) ? (x) : (y))
  461.  #endif
  462.  #define plur(x) (((x) == 1) ? "" : "s")
  463.  
  464.  #define ARM_BONUS(obj)                      \
  465.      (objects[(obj)->otyp].a_ac + (obj)->spe \
  466.       - min((int) greatest_erosion(obj), objects[(obj)->otyp].a_ac))
  467.  
  468.  #define makeknown(x) discover_object((x), TRUE, TRUE)
  469.  #define distu(xx, yy) dist2((int)(xx), (int)(yy), (int) u.ux, (int) u.uy)
  470.  #define onlineu(xx, yy) online2((int)(xx), (int)(yy), (int) u.ux, (int) u.uy)
  471.  
  472.  #define rn1(x, y) (rn2(x) + (y))
  473.  
  474.  /* negative armor class is randomly weakened to prevent invulnerability */
  475.  #define AC_VALUE(AC) ((AC) >= 0 ? (AC) : -rnd(-(AC)))
  476.  
  477.  #if defined(MICRO) && !defined(__DJGPP__)
  478.  #define getuid() 1
  479.  #define getlogin() ((char *) 0)
  480.  #endif /* MICRO */
  481.  
  482.  #if defined(OVERLAY)
  483.  #define USE_OVLx
  484.  #define STATIC_DCL extern
  485.  #define STATIC_OVL
  486.  #define STATIC_VAR
  487.  
  488.  #else /* !OVERLAY */
  489.  
  490.  #define STATIC_DCL static
  491.  #define STATIC_OVL static
  492.  #define STATIC_VAR static
  493.  
  494.  #endif /* OVERLAY */
  495.  
  496.  /* Macro for a few items that are only static if we're not overlaid.... */
  497.  #if defined(USE_TRAMPOLI) || defined(USE_OVLx)
  498.  #define STATIC_PTR
  499.  #else
  500.  #define STATIC_PTR static
  501.  #endif
  502.  
  503.  /* The function argument to qsort() requires a particular
  504.   * calling convention under WINCE which is not the default
  505.   * in that environment.
  506.   */
  507.  #if defined(WIN_CE)
  508.  #define CFDECLSPEC __cdecl
  509.  #else
  510.  #define CFDECLSPEC
  511.  #endif
  512.  
  513.  #define DEVTEAM_EMAIL "devteam@nethack.org"
  514.  #define DEVTEAM_URL "http://www.nethack.org"
  515.  
  516.  #endif /* HACK_H */