1stMUD4.0/bin/
1stMUD4.0/doc/MPDocs/
1stMUD4.0/player/
1stMUD4.0/win32/
1stMUD4.0/win32/rom/
/**************************************************************************
*  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.                              *
*                                                                         *
*  In order to use any part of this Merc Diku Mud, you must comply with   *
*  both the original Diku license in 'license.doc' as well the Merc       *
*  license in 'license.txt'.  In particular, you may not remove either of *
*  these copyright notices.                                               *
*                                                                         *
*  Much time and thought has gone into this software and you are          *
*  benefiting.  We hope that you share your changes too.  What goes       *
*  around, comes around.                                                  *
***************************************************************************
*       ROM 2.4 is copyright 1993-1998 Russ Taylor                        *
*       ROM has been brought to you by the ROM consortium                 *
*           Russ Taylor (rtaylor@hypercube.org)                           *
*           Gabrielle Taylor (gtaylor@hypercube.org)                      *
*           Brian Moore (zump@rom.org)                                    *
*       By using this code, you have agreed to follow the terms of the    *
*       ROM license, in the file Rom24/doc/rom.license                    *
***************************************************************************
*       1stMUD ROM Derivative (c) 2001-2003 by Ryan Jennings              *
*            http://1stmud.dlmud.com/  <r-jenn@shaw.ca>                   *
***************************************************************************/
/* Includes for board system */
/* This is version 2 of the board system, (c) 1995-96 erwin@andreasen.org */

#define DEF_NORMAL  0			/* No forced change, but default (any string)   */
#define DEF_INCLUDE 1			/* 'names' MUST be included (only ONE name!)    */
#define DEF_EXCLUDE 2			/* 'names' must NOT be included (one name only) */

#define MAX_BOARD 	  6

#define DEFAULT_BOARD 0			/* default board is board #0 in the boards      */
			/* It should be readable by everyone!           */

#define MAX_LINE_LENGTH 80		/* enforce a max length of 80 on text lines, reject longer lines */
			   /* This only applies in the Body of the note */

#define MAX_NOTE_TEXT (4*MAX_STRING_LENGTH - 1000)

#define BOARD_NOTFOUND -1		/* Error code from board_lookup() and board_number */

/* Data about a board */
struct board_data
{
	const char *short_name;		/* Max 8 chars */
	const char *long_name;		/* Explanatory text, should be no more than 40 ? chars */

	int read_level;				/* minimum level to see board */
	int write_level;			/* minimum level to post notes */

	const char *names;			/* Default recipient */
	int force_type;				/* Default action (DEF_XXX) */

	int purge_days;				/* Default expiration */

	/* Non-constant data */

	NOTE_DATA *note_first;		/* pointer to board's first note */
	NOTE_DATA *note_last;		/* pointer to board's last note */
	bool changed;				/* currently unused */

};

typedef struct board_data BOARD_DATA;

/* External variables */

EXTERN BOARD_DATA boards[MAX_BOARD];	/* Declare */