Print current level annotation when restoring

Sometimes I annotate a level with a note like "watch out, chameleon
below", which is useful to remind myself of some danger or thing to
remember when returning to the level -- but if saving and restoring on
the level itself there's no reminder of that annotation.  If you restore
on a level with an annotation, print it as part of the "welcome back"
message.
This commit is contained in:
Michael Meyer
2023-11-16 17:01:27 -05:00
committed by PatR
parent 73fed3d5d8
commit f5a22ff5f8
4 changed files with 16 additions and 6 deletions

View File

@@ -749,7 +749,7 @@ extern schar lev_by_name(const char *);
extern boolean known_branch_stairs(stairway *);
extern char *stairs_description(stairway *, char *, boolean);
extern schar print_dungeon(boolean, schar *, xint16 *);
extern char *get_annotation(d_level *);
extern void print_level_annotation(void);
extern int donamelevel(void);
extern void free_exclusions(void);
extern void save_exclusions(NHFILE *);