diff options
Diffstat (limited to 'include/Quest.h')
-rw-r--r-- | include/Quest.h | 58 |
1 files changed, 29 insertions, 29 deletions
diff --git a/include/Quest.h b/include/Quest.h index 90bd808..c73bf79 100644 --- a/include/Quest.h +++ b/include/Quest.h @@ -1,29 +1,29 @@ -#ifndef QUEST_H -#define QUEST_H - -#include <common.h> -#include <cstring> - -#define QUEST_LIMIT 5 -#define TOTAL_QUESTS 1 - -class Quest { -public: - char *title,*desc; - unsigned int xp; - Quest(const char *t,const char *d,unsigned int x); - ~Quest(); -}; - -class QuestHandler { -private: - unsigned char ccnt; - const Quest *current[QUEST_LIMIT]; -public: - QuestHandler(); - int assign(const char *t); - int drop(const char *t); - int finish(const char *t); -}; - -#endif // QUEST_H +#ifndef QUEST_H
+#define QUEST_H
+
+#include <common.h>
+#include <cstring>
+
+#define QUEST_LIMIT 5
+#define TOTAL_QUESTS 1
+
+class Quest {
+public:
+ char *title,*desc;
+ unsigned int xp;
+ Quest(const char *t,const char *d,unsigned int x);
+ ~Quest();
+};
+
+class QuestHandler {
+private:
+ unsigned char ccnt;
+ const Quest *current[QUEST_LIMIT];
+public:
+ QuestHandler();
+ int assign(const char *t);
+ int drop(const char *t);
+ int finish(const char *t);
+};
+
+#endif // QUEST_H
|