mud++0.35/etc/
mud++0.35/etc/guilds/
mud++0.35/help/propert/
mud++0.35/mudC/
mud++0.35/player/
mud++0.35/src/interface/
mud++0.35/src/os/cygwin32/
mud++0.35/src/os/win32/
mud++0.35/src/os/win32/bcppbuilder/
mud++0.35/src/osaddon/
mud++0.35/src/util/
/*
....[@@@..[@@@..............[@.................. MUD++ is a written from
....[@..[@..[@..[@..[@..[@@@@@....[@......[@.... scratch multi-user swords and
....[@..[@..[@..[@..[@..[@..[@..[@@@@@..[@@@@@.. sorcery game written in C++.
....[@......[@..[@..[@..[@..[@....[@......[@.... This server is an ongoing
....[@......[@..[@@@@@..[@@@@@.................. development project.  All 
................................................ contributions are welcome. 
....Copyright(C).1995.Melvin.Smith.............. Enjoy. 
------------------------------------------------------------------------------
Melvin Smith (aka Fusion)         msmith@hom.net 
MUD++ development mailing list    mudpp@van.ml.org
------------------------------------------------------------------------------
skill.h
*/

#ifndef _SKILL_H
#define _SKILL_H

#define MAX_SKILL	128


struct SkillType
{
	const char *	name;
	int *			index;
	short int		level;
	short int		class_;
	short int		adept;
	short int		pracs; 
	short int		position;
	short int		wait_state;

	int isName( char *str );
	const char * getName() { return name; }
	int getLevel();
	int getClass();
	void setIndex( int x ) { *index = x; }
	int getIndex() { return *index; }
	int getAdept();
	int getPracs();
	int getPosition();
	int getWaitState();
};

SkillType * lookupSkill( const char * );
SkillType * lookupSkill( int );


struct GuildSkill
{
	SkillType * skill;
	int level;
	int cost;
	// etc...
};
#endif