Re: error with autoquest code

From: StormeRider (silk@ICI.NET)
Date: 01/16/98


Try integrating the below into your code (you will need to add the saving
parts in as well as modifying structs.h)... have been meaning to write the
companion to the quest.txt for a while, mebbe sometime soon. And the
restrict thing did hit me as well, changed it to c_restrict. Perhaps we
should whip off a stock circle pl11 & 12 change from restrict to
circle_restrict?

Anyways, quest stuff:

structs.h:#define PLR_QUESTOR   (1 << 16)  /* LJ autoquest                      */
structs.h:#define MOB_QUESTMASTER  (1 << 19) /* LJ autoquest                            */
structs.h:#define MOB_QUEST              (1 << 20) /* LJ autoquest                              */
structs.h:#define PRF_QUEST             (1 << 9)  /* On quest                                   */
utils.h:#define GET_QUESTMOB(ch)     ((ch)->player_specials->saved.questmob)
utils.h:#define GET_QUESTOBJ(ch)     ((ch)->player_specials->saved.questobj)
utils.h:#define GET_QUESTGIVER(ch)   ((ch)->player_specials->saved.questgiver)
utils.h:#define GET_NEXTQUEST(ch)    ((ch)->player_specials->saved.nextquest)
utils.h:#define GET_QUESTPOINTS(ch)  ((ch)->player_specials->saved.questpoints)

--Silk (missing sig until I get it from work again).


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/15/00 PST