Quest


Description

Quest.h provides quest functionality, including the master list of quests and methods for the player to access them.


class Quest

public:
char *title,*desc;
unsigned int xp;
Quest();
Quest(const char *t,const char *d,unsigned int x);
~Quest();

class QuestHandler

private:
unsigned char ccnt;
Quest *current[];
public:
QuestHandler();
int assign(const char *t);
int drop(const char *t);
int finish(const char *t);