files.h
pdirt/drv/include/files.h · 5.5 KB
From the archive pDirt-1_tar.gz
Download the archive « Back to the archive contents
#ifndef __FILES_H__
#define __FILES_H__
/***************************************************************************
** LOGFILES
***************************************************************************/
#define BUGSYSLOG "LOGS/bugs" /* Bugs & typo's */
#define SUGGESTLOG "LOGS/suggestions" /* Suggestions etc */
#define ABERCHATLOG "LOGS/aberchat" /* Aberchar info */
/***************************************************************************
** Defines to specify directories
***************************************************************************/
#define DATA_DIR ROOTDIR"/data/" /* Directory where the files are */
#define CONFIG_DIR DATA_DIR"CONFIG/" /* Configuration files */
#define TEMP_DIR DATA_DIR"TMP/" /* temporary dir */
#define MSG_DIR DATA_DIR"MESSAGES/" /* Messages dir */
#define QUEST_DIR "INFO/QUESTS" /* The dir where quests info is */
#define DESC_DIR "DESC" /* Character descriptions */
#define MAIL_DIR "MAIL" /* Directory to keep mail */
/****************************************************************************
** Defines for files that check access to the mud.
****************************************************************************/
#define ILLEGAL_FILE CONFIG_DIR"illegal" /* Illegal character names */
#define BAN_CHARS CONFIG_DIR"banned_chars" /* List of banned characters */
#define BAN_HOSTS CONFIG_DIR"banned_hosts" /* List of banned hosts */
#define LOCAL_HOST CONFIG_DIR"local_hosts" /* list of hosts not shown in tcps */
#define LOCKED_HOSTS CONFIG_DIR"locked_hosts" /* Hosts which are toad locked */
#define FAKE_HOSTS CONFIG_DIR"fakehosts" /* Fake hostnames. */
#define PRIVED_FILE CONFIG_DIR"prived" /* Priveliged players (gods) */
#define MONITOR_FILE CONFIG_DIR"monitor" /* Players to monitor */
#define TESTRUN_FILE CONFIG_DIR"testrunzones" /* Zones available for testrunning */
/*****************************************************************************
** Various external defined messages
*****************************************************************************/
#define BAN_MSG1 MSG_DIR"ban_msg1" /* File that is shown to new players
* who enter on a locked host */
#define BAN_MSG2 MSG_DIR"ban_msg2" /* Show this message on complete */
/* Host ban */
#define GWIZ MSG_DIR"wiz.txt" /* "Welcome to Wizard" msg. */
#define FROBINFO MSG_DIR"frobinfo" /* Frob levels info */
#define SIGNAL1 MSG_DIR"sigmsg1" /* signal crash message */
#define SIGNAL2 MSG_DIR"sigmsg2" /* User signal */
#define MOTD MSG_DIR"motd" /* Message of the day */
#define EMAILMSG MSG_DIR"emailmsg" /* Message shown when asked for
* an email adress (new login) */
#define LOGINMENU MSG_DIR"login_menu"
/****************************************************************************
** Information system files
****************************************************************************/
#define FULLHELP "HELP/fullhelp" /* Detailed command desc.*/
#define HELP "HELP/help1" /* brief commands menu */
#define CREDITS "INFO/credits.i" /* Author credits */
#define COUPLES "INFO/couples.i" /* Who's been married? */
#define INFO "INFO/info.i" /* Brief information on game */
#define NEWS "INFO/news.i" /* latest news */
#define BULLETIN1 "INFO/bulletin1.i" /* Bulletin for mortals */
#define BULLETIN2 "INFO/bulletin2.i" /* Bulletin for Wizards */
#define BULLETIN3 "INFO/bulletin3.i" /* Bulletin for Arch-Wizards */
/****************************************************************************
** User storage files.
****************************************************************************/
#define SETIN_FILE DATA_DIR"/setins" /* Player's travel messages */
#define UAF_RAND DATA_DIR"/users_data" /* Holds score/privs etc */
/****************************************************************************
** Various files used by the mud deamon
****************************************************************************/
#define LOG_FILE "syslog" /* The system's log-file */
#define NOLOGIN "nologin" /* If exists, no logins */
#define PID_FILE "pid" /* to tell other muds we're running */
#define EXTERNS "actions" /* Hug, kiss, tickle, ... */
#define OBJECTS "objects" /* Object names and desc. */
#define BOOTSTRAP "bootstrap" /* Points to text files */
/*****************************************************************************
** Files used by the cloning system
*****************************************************************************/
#define WIZ_ZONES "WIZ_ZONES" /* wizard's personal creations */
#define ID_COUNTER WIZ_ZONES"/ID_COUNTER" /* Wizard zone counter */
/***************************************************************************
** Various defines for the Quest info system
***************************************************************************/
#define QINDEX QUEST_DIR"/quest_index.i"
#endif /* Add nothing past this line... */