Various bits I had in progress before Michael's commit.

Mainly forget engravings when bones are saved instead of leaving them
flagged as seen for the next hero who gets the level.
This commit is contained in:
PatR
2024-12-19 18:18:11 -08:00
parent 21d35e768c
commit 8a7f3b2b6b
6 changed files with 37 additions and 17 deletions

View File

@@ -47,8 +47,7 @@ struct engr {
#define spot_shows_engravings(x,y) \
(levl[(x)][(y)].typ == CORR \
|| levl[(x)][(y)].typ == SCORR \
|| levl[(x)][(y)].typ == ICE \
|| levl[(x)][(y)].typ == ROOM )
|| levl[(x)][(y)].typ == ROOM)
#endif /* ENGRAVE_H */

View File

@@ -959,6 +959,7 @@ extern void del_engr_at(coordxy, coordxy);
extern int freehand(void);
extern int doengrave(void);
extern void sanitize_engravings(void);
extern void forget_engravings(void);
extern void engraving_sanity_check(void);
extern void save_engravings(NHFILE *) NONNULLARG1;
extern void rest_engravings(NHFILE *) NONNULLARG1;