quests.h
pdirt/drv/include/quests.h · 1.1 KB
From the archive pDirt-1_tar.gz
Download the archive « Back to the archive contents
#ifndef __QUESTS_H__
#define __QUESTS_H__
#define Q_EFOREST 0
#define Q_INVISWAND 1
#define Q_EXCALIBUR 2
#define Q_GRAIL 3
#define Q_FIERY_KING 4
#define Q_SABRE 5
#define Q_SPIKE 6
#define Q_BUST 7
#define Q_DRAGON 8
#define Q_ORB 9
#define Q_UNICORN 10
#define Q_FAFFNER 11
#define Q_ROD 12
#define Q_MJOLNIR 13
#define Q_CHICKEN 14
#define Q_SKI 15
#define Q_GUXX 16
#define Q_SUNDISC 17
#define Q_LWW 18
#define Q_FINDPAINTING 19
#define Q_CATHEDRAL 20
#define LAST_QUEST Q_CATHEDRAL
#define REQ(X) (X), 1
#define NOTREQ(X) (X), 0
#define ENDLIST -1, -1
#ifdef QUEST_C
int quest_list[] = {
REQ(Q_EFOREST),
REQ(Q_FIERY_KING),
REQ(Q_DRAGON),
REQ(Q_ORB),
REQ(Q_FAFFNER),
REQ(Q_GUXX),
REQ(Q_SUNDISC),
NOTREQ(Q_INVISWAND),
NOTREQ(Q_EXCALIBUR),
NOTREQ(Q_GRAIL),
NOTREQ(Q_SABRE),
NOTREQ(Q_SPIKE),
NOTREQ(Q_BUST),
NOTREQ(Q_UNICORN),
NOTREQ(Q_ROD),
NOTREQ(Q_MJOLNIR),
NOTREQ(Q_CHICKEN),
NOTREQ(Q_SKI),
NOTREQ(Q_LWW),
NOTREQ(Q_FINDPAINTING),
NOTREQ(Q_CATHEDRAL),
ENDLIST /* This should always be here */
};
#else
extern int quest_list[];
#endif
#endif /* Add nothing past this line... */