std.h

MudOSa4DGD/mudlib/std/include/std.h · 1.0 KB

From the archive MudOSa4DGD-30.06.98.tar.gz

Download the archive   « Back to the archive contents

/*
 * std.h
 *
 * Various standard mudlib defines.
 * ALWAYS use these instead of hard-coded paths!!!
 */

#ifndef _STD_H
#define _STD_H

#include "mudlib.h"


/* boolean values: */
#ifndef TRUE
# define TRUE		1
#endif
#ifndef FALSE
# define FALSE		0
#endif


/* Preloadfile to be parsed by master() */
#define PRELOAD_FILE	"/dgd/preloads"


/* Diff. logfiles */
#define DEBUG_LOG       (LOG_DIR+"debug.log")
#define ERROR_LOG       (LOG_DIR+"errors")
#define LOCAL_DEBUG_LOG ("/log/runtime.errors")
#define LOCAL_ERROR_LOG ("/log/errors")


/* Various mudlib directories */
#define CHAR_DIR        "/characters/"
#define COM_DIR         "/com/"
#define DAEMON_DIR      "/secure/daemons/"
#define DATA_DIR        "/data/"
#define DOC_DIR         "/doc/"
#define DOMAIN_DIR      "/d/"
#define HELP_DIR        "/help/"
#define LOG_DIR         "/log/"
#define LOCAL_LOG_DIR   "/log/"
#define OBJ_DIR         "/obj/"
#define PLAYER_DIR      "/players/"
#define ROOM_DIR        "/room/"
#define SECURE_DIR      "/secure/"
#define STD_DIR         "/std/"


#endif /* _STD_H */

Site Stats

Snippets: 1791
Codebases: 571