more artifact tracking
This should have been broken up into multiple pieces but they're all lumped together. I did ultimately throw away a fourth change. Implement artiexist[].bones and artiexist[].rndm artifact creation tracking bits that were added recently. Doesn't need to increment EDITLEVEL this time. Add a new wizard mode feature: if you use `a to show discovered artifacts, it will prompt about whether to show the tracking bits for all artifacts instead. If not using menustyle traditional, you need at least one artifact to have been discovered in order to have 'a' choice available when selecting what class of discovered objects to show for the '`' command. artifact_gift(), aritfact_wish(), and so forth return a value that none of the existing callers use, so cast their calls to (void).
This commit is contained in:
@@ -77,6 +77,7 @@ extern int artifact_gift(struct obj *, boolean);
|
||||
extern int artifact_wish(struct obj *, boolean);
|
||||
extern int artifact_named(struct obj *, boolean);
|
||||
extern int artifact_viadip(struct obj *, boolean);
|
||||
extern int artifact_bones(struct obj *, boolean);
|
||||
extern boolean arti_immune(struct obj *, int);
|
||||
extern boolean spec_ability(struct obj *, unsigned long);
|
||||
extern boolean confers_luck(struct obj *);
|
||||
@@ -93,6 +94,7 @@ extern int spec_dbon(struct obj *, struct monst *, int);
|
||||
extern void discover_artifact(xchar);
|
||||
extern boolean undiscovered_artifact(xchar);
|
||||
extern int disp_artifact_discoveries(winid);
|
||||
extern void dump_artifact_info(winid);
|
||||
extern boolean artifact_hit(struct monst *, struct monst *, struct obj *,
|
||||
int *, int);
|
||||
extern int doinvoke(void);
|
||||
|
||||
Reference in New Issue
Block a user