From 60c7924097814686a2fb826b87fd7a3e1ff684de Mon Sep 17 00:00:00 2001
From: Clyne Sullivan <tullivan99@gmail.com>
Date: Tue, 8 Sep 2015 17:01:40 -0400
Subject: Added quests

---
 include/Quest.h | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)
 create mode 100644 include/Quest.h

(limited to 'include')

diff --git a/include/Quest.h b/include/Quest.h
new file mode 100644
index 0000000..169124e
--- /dev/null
+++ b/include/Quest.h
@@ -0,0 +1,30 @@
+#ifndef QUEST_H
+#define QUEST_H
+
+#include <cstdlib>
+#include <cstring>
+
+#define QUEST_LIMIT 5
+#define TOTAL_QUESTS 1
+
+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[QUEST_LIMIT];
+public:
+	QuestHandler();
+	int assign(const char *t);
+	int drop(const char *t);
+	int finish(const char *t);
+};
+
+#endif // QUEST_H
-- 
cgit v1.2.3