alRom/bin/
alRom/data/class/
alRom/data/command/
alRom/data/guild/
alRom/data/help/
alRom/data/lang/
alRom/data/race/
alRom/data/religion/
alRom/data/skill/
alRom/note/
/***************************************************************************
 *  Original Diku Mud copyright (C) 1990, 1991 by Sebastian Hammer,	   *
 *  Michael Seifert, Hans Henrik Stfeldt, Tom Madsen, and Katja Nyboe.   *
 *									   *
 *  Merc Diku Mud improvments 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	   *
 *  benefitting.  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@efn.org)				   *
*	    Russ Taylor (rtaylor@hypercube.org)				   *
*	    Gabrielle Taylor (gtaylor@hypercube.org)			   *
*	By using this code, you have agreed to follow the terms of the	   *
*	ROM license, in the file Rom24/doc/rom.license			   *
***************************************************************************/

/* game tables */
extern	const	struct	position_type	position_table[];
extern	const	struct	stance_type	stance_table[];
extern	const	struct	sex_type	sex_table[];
extern	const	struct	size_type	size_table[];

/* flag tables */
extern 	const	struct	flag_type	strap_table[];
extern	const	struct	flag_type	act_flags[];
extern	const	struct	flag_type	plr_flags[];
extern	const	struct	flag_type	affect_flags[];
extern  const   struct  flag_type       affect2_flags[];
extern	const	struct	flag_type	off_flags[];
extern	const	struct	flag_type	imm_flags[];
extern	const	struct	flag_type	form_flags[];
extern	const	struct	flag_type	part_flags[];
extern	const	struct	flag_type	p_part_flags[];
extern	const	struct	flag_type	comm_flags[];
extern  const   struct  flag_type       comm2_flags[];
extern	const	struct	flag_type	extra_flags[];
extern  const   struct  flag_type       extra_flags[];
extern	const	struct	flag_type	wear_flags[];
extern	const	struct	flag_type	weapon_flags[];
extern	const	struct	flag_type	container_flags[];
extern	const	struct	flag_type	portal_flags[];
extern	const	struct	flag_type	room_flags[];
extern	const	struct	flag_type	exit_flags[];
extern 	const	struct  flag_type	mprog_flags[];
extern	const	struct	flag_type	area_flags[];
extern	const	struct	flag_type	sector_flags[];
extern	const	struct	flag_type	door_resets[];
extern	const	struct	flag_type	wear_loc_strings[];
extern	const	struct	flag_type	wear_loc_flags[];
extern	const	struct	flag_type	res_flags[];
extern	const	struct	flag_type	imm_flags[];
extern	const	struct	flag_type	vuln_flags[];
extern	const	struct	flag_type	type_flags[];
extern	const	struct	flag_type	apply_flags[];
extern	const	struct	flag_type	sex_flags[];
extern	const	struct	flag_type	furniture_flags[];
extern	const	struct	flag_type	weapon_class[];
extern	const	struct	flag_type	apply_types[];
extern	const	struct	flag_type	weapon_type2[];
extern	const	struct	flag_type	apply_types[];
extern	const	struct	flag_type	size_flags[];
extern	const	struct	flag_type	position_flags[];
extern	const	struct	flag_type	ac_type[];
extern	const	struct	bit_type	bitvector_type[];
extern	const	struct	flag_type	oprog_flags[];
extern	const	struct	flag_type	rprog_flags[];
extern 	const   struct	chan_type       chan_table[]; 
extern  const   struct  flag_type	guild_flags[];
extern  const   struct  flag_type	auctn_table[];
extern  const   struct  vnum_type       vnum_table[];
extern  const   struct  size_type       cont_table[];
extern  const   struct  spellfun_type   spellfun_table[];
extern  const   struct  flag_type       target_table[];
extern  const   struct  flag_type       weather_flags[];
extern const	struct  size_type	mineral_table[];
extern const    struct  const_type	const_table[];
extern const    struct  comm_type	comm_table[];
extern const    struct  flag_type       suppress_flags[];
extern const	struct	gpos_type		gpos_table[];
extern const	struct	event_type		event_table[];
extern const	struct	flag_type		usetype_table[];
extern const	struct	fuel_type		fuel_table[];
extern const	struct	forge_type		forge_table[];
extern const	struct	flag_type		staffpos_table[];
extern const	char	*crystal_table[]; //I know its not a table!!!
extern const struct sorcerer_type sorcerer_table[];
extern const struct flag_type bstyle_table[];
extern const struct flag_type astyle_table[];
extern const struct blength_type blength_table[];
extern const struct alength_type alength_table[];
extern const struct integral_type integral_table[];
extern const struct rgb_type rgbsect_table[];
extern const struct flag_type astyle_table[];


struct rgb_type
{	int sector_type;
	int red;
	int green;
	int blue;
	char *walk;
	char *wall;
};

struct integral_type
{	char *name;
	int  req_utype;
	int	 to_utype;
	int	 etype;
};

struct sorcerer_type
{	char *name;
	int crystal;
	char *spell[MAX_SORC_SPELL];
};

struct forge_type
{	char	*	name;
	char	*	desc;
	int			utype;
	int			minOre;
	int			etype;
	int		*	vnum;
};


struct material_type
{	char *name;
	bool floatable;
	int igniteTmp;
	int malleable;
	float density;
	int strength;
	int solidTmp;
	int redTmp;
	int whiteTmp;
	int meltTmp;
	int smeltTmp;		//If you can't forge it, make this -1.
	int evapTmp;
};

struct fuel_type
{	char *name;
	int maxTmp;
	int duration;
};
struct comm_type
{   char *name;
    char *password;
};
struct const_type
{   char *name;
    int *value;
};

struct position_type
{
    char *name;
    char *short_name;
};

struct sex_type
{
    char *name;
};

//Table for stances
struct stance_type
{
    char *name;
};

struct size_type
{
    char *name;
};

struct	bit_type
{
	const	struct	flag_type *	table;
	char *				help;
};

struct chan_type
{
	char *chan_pre;
	char *chan_name;
	char *chan_say;
	int bit;
};

struct vnum_type
{
    int * vnum;
    int type;
};

struct gpos_type
{	char *name;
	int iPos;
};

struct blength_type
{	char *name;
	char *desc;
};

struct alength_type
{	char *name;
	char *desc;
};

/* vnum types */
#define VNUM_OBJ    1
#define VNUM_ROOM   2
#define VNUM_MOB    3
#define VNUM_MPROG  4

/* vnum types */
#define OBJ_VNUM  1
#define MOB_VNUM  2