24 lines
583 B
C
24 lines
583 B
C
#ifndef QUEST_H
|
|
# define QUEST_H
|
|
|
|
// Quest & Task
|
|
typedef struct {
|
|
int id;
|
|
int prerequisite;
|
|
int objectiv;
|
|
int status;//unknow, known, accepted, achieved, completed, unavailable
|
|
} Quest;
|
|
|
|
typedef enum {
|
|
QUEST_SUCCESS,
|
|
QUEST_FAILURE,
|
|
QUEST_TAKEN,
|
|
QUEST_KNOW,
|
|
QUEST_UNKNOW,
|
|
QUEST_COMPLETE,
|
|
} QUEST_STATE;
|
|
|
|
//Quest are missive or Scroll that the player can open with info on it, but no mini map or marker Also the map should be another scroll that is handdrawn, and the player can put marker and orient himself using landscape point of interest
|
|
|
|
#endif
|