clan.h

clan.h · 726 B

From the archive jeremias_clan.zip

Download the archive   « Back to the archive contents

#define INDEP		0
#define LONER		1
#define OUTCAST		2
#define DEMON		9

#define MEMBER		0
#define JUNIOR		1
#define SENIOR		2
#define DEPUTY		3
#define SECOND		4
#define LEADER		5

int clan_lookup		(const char *name);
extern	const	struct	clan_type		clan_table[MAX_CLAN];
extern	const	struct	clan_titles		clan_rank_table[MAX_RANK];
extern	const	char *	lookup_rank(int);

struct clan_type
{
	char *	name;			/* name					*/
	char *	who_name;		/* who entry			*/
	char *	god;			/* sacrifice god		*/
	sh_int	deathroom;		/* death-transfer room	*/
	sh_int	recall;			/* recall room			*/
	bool	independent;	/* true for loners		*/
	sh_int	min_level;		/* min level to petition*/
};

struct clan_titles
{
	char *rank;
};

Site Stats

Snippets: 1791
Codebases: 571