From c35571e37bdd6d2fe9b95e4265c150265585f3a9 Mon Sep 17 00:00:00 2001 From: drumsetmonkey Date: Wed, 30 Mar 2016 08:41:16 -0400 Subject: Inv and textures --- include/Quest.h | 72 --------------------------------------------------------- 1 file changed, 72 deletions(-) delete mode 100644 include/Quest.h (limited to 'include/Quest.h') diff --git a/include/Quest.h b/include/Quest.h deleted file mode 100644 index 8b1e142..0000000 --- a/include/Quest.h +++ /dev/null @@ -1,72 +0,0 @@ -/** @file Quest.h - * @brief The quest handling system. - * - * This file contains Quest and QuestHandler, used to manage quests inside the - * game. - */ - -#ifndef QUEST_H -#define QUEST_H - -#include - -#include -#include - -/** - * When defined, DEBUG allows extra messages to be printed to the terminal for - * debugging purposes. - */ - -#define DEBUG - -struct need_t { - std::string name; - int n; -}; - -typedef struct { - std::string title; - std::string desc; - struct item_t reward; - std::vector need; -} Quest; - -/** - * The Quest Handler class. - * - * This class handles quests, including the assigning, dropping, and completing - * of the quests. - */ - -class QuestHandler { -public: - std::vectorcurrent; - - /** - * Adds a quest to the current quest vector by its title. - */ - - int assign(std::string title,std::string desc,std::string req); - - /** - * Drops a quest through its title. - */ - - int drop(std::string title); - - /** - * Finishes a quest through it's title, also giving a pointer to the Entity - * that gave the quest originally. - */ - - int finish(std::string t); - - /** - * Returns true if this handler is currently taking the quest. - */ - - bool hasQuest(std::string t); -}; - -#endif // QUEST_H -- cgit v1.2.3