From: Clyne Sullivan Date: Tue, 8 Sep 2015 22:26:47 +0000 (-0400) Subject: updated Quest.htm X-Git-Url: https://code.bitgloo.com/?a=commitdiff_plain;h=a56f129b316f62668816a5e0b8f5d99770630140;p=clyne%2Fgamedev.git updated Quest.htm --- diff --git a/doc/Quest.htm b/doc/Quest.htm index bc68644..0f2f822 100644 --- a/doc/Quest.htm +++ b/doc/Quest.htm @@ -19,6 +19,14 @@

Description

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


+

Macros

+
#define QUEST_LIMIT 5
+ #define TOTAL_QUESTS 1 +
+

class Quest

public:
char *title,*desc;
@@ -38,7 +46,7 @@

class QuestHandler

private:
unsigned char ccnt;
- Quest *current[];
+ Quest *current[QUEST_LIMIT];
public:
QuestHandler();
int assign(const char *t);