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/
/* Includable files */
/* Note the .h on the end -- it's intentional */
#define INHERIT_SCRIPT_AUTO "/include/phantasmal/inherit_script_auto.h"
#define INHERIT_COMMON_AUTO "/include/phantasmal/inherit_common_auto.h"


/* Checking to see if the caller is authorized */
# define COMMON() (sscanf(previous_program(), USR_DIR + "/common/%*s") != 0)
# define GAME()	  (sscanf(previous_program(), USR_DIR + "/game/%*s") != 0)

/* System managers and daemons */
#define TELNETD     "/usr/System/sys/telnetd"
#define SSHD        "/usr/System/sys/sshd"
#define MUDCLIENTD  "/usr/System/sys/mudclientd"
#define OBJECTD     "/usr/System/sys/objectd"
#define ERRORD      "/usr/System/sys/errord"
#define LOGD        "/usr/System/sys/logd"
#define PHRASED     "/usr/System/sys/phrased"
#define HELPD       "/usr/System/sys/helpd"
#define SOUNDEXD    "/usr/common/sys/soundexd"
#define STRINGD     "/usr/common/sys/stringd"
#define MAPD        "/usr/common/sys/mapd"
#define EXITD       "/usr/common/sys/exitd"
#define ZONED       "/usr/common/sys/zoned"
#define MOBILED     "/usr/common/sys/mobiled"
#define OBJNUMD     "/usr/common/sys/objnumd"
#define CHANNELD    "/usr/common/sys/channeld"
#define CONFIGD     "/usr/common/sys/configd"
#define TIMED       "/usr/common/sys/timed"
#define SOULD       "/usr/common/sys/sould"
#define PARSED      "/usr/common/sys/parsed"
#define TAGD        "/usr/common/sys/tagd"
#define PATHSPECIAL "/usr/common/sys/pathspecial"


/* The InitD must be in this location to be recognized as privileged */
#define INITD               "/usr/System/initd"


/* GameLib tie-in objects */
#define PHANTASMAL_USER     "/usr/System/open/lib/userlib"


/* System Libraries -- inheritable, not clonable */
#define SYSTEM_WIZTOOLLIB   "/usr/System/lib/wiztoollib"
#define SYSTEM_USER_IO      "/usr/System/lib/user_io"
#define USER_STATE          "/usr/common/lib/user_state"
#define ISSUE_LWO           "/usr/common/lib/issue_lwo"
#define DTD_UNQABLE         "/usr/common/lib/dtd_unqable"
#define TAGGED              "/usr/common/lib/tagged"
#define PHRASE_REPOSITORY   "/usr/common/lib/phrase_repository"
#define SCRIPT_AUTO         "/usr/common/lib/script_auto"
#define COMMON_AUTO         "/usr/System/open/lib/common_auto"


/* Libraries for fundamental game objects */
#define OBJECT              "/usr/common/lib/object"
#define ROOM                "/usr/common/lib/room"
#define EXIT                "/usr/common/lib/exit"
#define MOBILE              "/usr/common/lib/mobile"

#define PHRASE              "/usr/common/lib/phrase"
#define INTL_PHRASE         "/usr/common/lib/intl_phrase"

/* Clonable MUD structures */
#define SYSTEM_WIZTOOL      "/usr/System/obj/wiztool"
#define SYSTEM_USER_OBJ     "/usr/System/obj/user"
#define DEFAULT_USER_OBJ    "/usr/game/obj/user"
#define MUDCLIENT_CONN      "/usr/System/obj/mudclient_connection"
#define SIMPLE_EXIT         "/usr/common/obj/simple_exit"
#define SIMPLE_ROOM         "/usr/common/obj/simple_room"
#define UNQ_PARSER          "/usr/common/obj/basic_unq_parser"
#define UNQ_DTD             "/usr/common/obj/unq_dtd"
#define HEAVY_ARRAY         "/usr/common/obj/heavy_array"


/* User State types (also clonable) */
#define US_ENTER_DATA       "/usr/common/obj/ustate/enter_data"
#define US_ENTER_YN         "/usr/common/obj/ustate/enter_yn"
#define US_OBJ_DESC         "/usr/common/obj/ustate/set_obj_desc"
#define US_SCROLL_TEXT      "/usr/common/obj/ustate/scroll_text"
#define US_MAKE_ROOM        "/usr/common/obj/ustate/makeroom"

/* Telnet Option Handlers */
#define TELOPT_DEFAULT_HANDLER  "/usr/common/obj/telopt/default_dgd"


/* Lightweight objects */
#define LWO_PHRASE          "/usr/common/data/lwo_phrase"


/* Storage directories */
#define LOGDIR              "/log"


/* Non-LPC configuration files */

/* UNQ DTDs */
#define MAPD_ROOM_DTD       "/usr/common/sys/room.dtd"
#define MOB_FILE_DTD        "/usr/common/sys/mobile.dtd"
#define ZONED_DTD           "/usr/common/sys/zoned.dtd"
#define BIND_DTD            "/usr/common/sys/bind.dtd"
#define SOULD_DTD           "/usr/common/sys/sould.dtd"
#define CONFIGD_DTD         "/usr/common/sys/config.dtd"

/* Save locations, used by INITD and the wiztool */
#define ROOM_DIR            "/usr/game/object/stuff"
#define MOB_FILE            "/usr/game/object/mobfile.unq"
#define ZONE_FILE           "/usr/game/object/zonefile.unq"
#define SAFE_ROOM_DIR       "/usr/game/object/safe_stuff"
#define SAFE_MOB_FILE       "/usr/game/object/safe_mobfile.unq"
#define SAFE_ZONE_FILE      "/usr/game/object/safe_zonefile.unq"

/* Other data files */
#define SYSTEM_PHRASES      "/usr/System/obj/system.phr"