colordef.h

sd-2.0.2b/src/colordef.h · 2.0 KB

From the archive sd-2.0.2b.tar.bz2

Download the archive   « Back to the archive contents

/***************************************************************************
*   Original Diku Mud copyright (C) 1990, 1991 by Sebastian Hammer,        *
*   Michael Seifert, Hans Henrik Stærfeldt, Tom Madsen, and Katja Nyboe.   *
*                                                                          *
*   Merc Diku Mud improvements copyright (C) 1992, 1993 by Michael         *
*   Chastain, Michael Quan, and Mitchell Tse.                              *
*                                                                          *
*       ROM 2.4 is copyright 1993-1995 Russ Taylor                         *
*       ROM has been brought to you by the ROM consortium                  *
*           Russ Taylor (rtaylor@pacinfo.com)                              *
*           Gabrielle Taylor (gtaylor@pacinfo.com)                         *
*           Brian Moore (rom@rom.efn.org)                                  *
*       ROT 2.0 is copyright 1996-1999 by Russ Walsh                       *
*       DRM 1.0a is copyright 2000-2002 by Joshua Chance Blackwell         *
*        SD 2.0 is copyright 2004-2006 by Patrick Mylund Nielsen           *
***************************************************************************/

/* Color definition for portable colors */

/* Change those to fit to your MUD */

/* if you do not have color at all, just change all to be "" */

/* Foreground colors */

#define RED		"{r"
#define BLUE		"{b"
#define GREEN		"{D"
#define BLACK		"{d"
#define WHITE		"{w"
#define MAGENTA		"{m" /* purple? */
#define YELLOW		"{c"
#define CYAN		"{c"

/* Background colors */

#define RED_BG			"{R"
#define BLUE_BG			"{B"
#define GREEN_BG		"{G"
#define BLACK_BG		"{D"
#define WHITE_BG		"{W"
#define MAGENTA_BG		"{M"
#define YELLOW_BG		"{Y"
#define CYAN_BG			"{C"

/* Other codes */

#define BOLD			"{D"
#define NO_COLOR		"{x" /* Default color */
#define BOARD_BLINK           "{z"
#define REVERSE			"{x"
#define TILDE           ""

Site Stats

Snippets: 1791
Codebases: 571