phantasmal_dgd_v1/
phantasmal_dgd_v1/bin/
phantasmal_dgd_v1/doc/
phantasmal_dgd_v1/mud/doc/
phantasmal_dgd_v1/mud/doc/api/
phantasmal_dgd_v1/mud/doc/kernel/
phantasmal_dgd_v1/mud/doc/kernel/hook/
phantasmal_dgd_v1/mud/doc/kernel/lfun/
phantasmal_dgd_v1/mud/include/
phantasmal_dgd_v1/mud/include/kernel/
phantasmal_dgd_v1/mud/kernel/lib/
phantasmal_dgd_v1/mud/kernel/lib/api/
phantasmal_dgd_v1/mud/kernel/obj/
phantasmal_dgd_v1/mud/kernel/sys/
phantasmal_dgd_v1/mud/tmp/
phantasmal_dgd_v1/mud/usr/System/
phantasmal_dgd_v1/mud/usr/System/keys/
phantasmal_dgd_v1/mud/usr/System/obj/
phantasmal_dgd_v1/mud/usr/System/open/lib/
phantasmal_dgd_v1/mud/usr/common/data/
phantasmal_dgd_v1/mud/usr/common/lib/parsed/
phantasmal_dgd_v1/mud/usr/common/obj/telopt/
phantasmal_dgd_v1/mud/usr/common/obj/ustate/
phantasmal_dgd_v1/mud/usr/game/
phantasmal_dgd_v1/mud/usr/game/include/
phantasmal_dgd_v1/mud/usr/game/obj/
phantasmal_dgd_v1/mud/usr/game/object/
phantasmal_dgd_v1/mud/usr/game/object/stuff/
phantasmal_dgd_v1/mud/usr/game/sys/
phantasmal_dgd_v1/mud/usr/game/text/
phantasmal_dgd_v1/mud/usr/game/users/
phantasmal_dgd_v1/src/host/
phantasmal_dgd_v1/src/host/beos/
phantasmal_dgd_v1/src/host/mac/
phantasmal_dgd_v1/src/host/unix/
phantasmal_dgd_v1/src/host/win32/res/
phantasmal_dgd_v1/src/kfun/
phantasmal_dgd_v1/src/lpc/
phantasmal_dgd_v1/src/parser/
                     Phantasmal MAPD

The exitd keeps track of exits between rooms.  It works with the MAPD
as necessary, and registers exits with the objnumd.

API

  get_name_for_dir - takes an integer direction and returns its
     name as a phrase structure.  "North", for instance, might be
     in the "English" slot of the phrase.

  get_short_for_dir - takes an integer direction and returns its
     name as a couple of letters.  "N", or "NW" might be appropriate
     letters for English directions.

  direction_by_string - returns an integer corresponding to an
     English name or short name for a direction passed in.  This
     is meant for use with configuration files, not player input,
     since it's not localized.

  opposite_direction - returns the direction opposite the one
     given.  Takes an integer, returns an integer.

  get_exit_by_num - takes a number corresponding to an exit and
     returns the exit object it indexes, or nil if the number
     indexes no exit.

  add_twoway_exit_between - takes two rooms, a direction from the
     first to the second and two optional tracking numbers for the
     exits.  The function adds a simple two-way exit between them.
     The two halves of the exit lead in opposite directions, so
     north might go from room1 to room2, and south from room2 to
     room1.

  add_oneway_exit_between - takes two rooms, a direction from the
     first to the second and an optional tracking number for the
     exit.  The function adds a simple one-way exit between them.
     The exit leads in a single direction from room1 to room2.

  fix_exit - takes an exit, an integer type (1 for oneway, 2 for
    twoway, others possible,) and an integer link (the object
    number for the return exit (-1 if oneway) and updates the
    data structure to the newest format.  Look, glance, nouns,
    etc. are all defaulted to the direction.  Sets open to true,
    openable, lockable, and locked to false.

  clear_all_exits - takes a room and removes all exits from it
     and their corresponding return exits.

  clear_exit - takes an exit.  Removes that exit and its
     corresponding return exit.

  get_exit_segments - returns a list of the segments that MAPD
     tracks exits with.

  exits_in_segment - Takes a segment number and returns a list
     of integers representing the exit numbers contained in the
     given segment.

  get_all_exits - Takes nothing and returns all registered exits.

  add_deferred_exits - Takes nothing, attempts to resolve all
     current deferred exits, if any.

  num_deferred_exits - Takes nothing, returns the number of pending
     deferred exits.