known_branch_stairs

New routine known_branch_stairs() was performing two different things
and was unnecessarly complicated because of that.  Split off newer
routine stairs_description() to handle one of those.
This commit is contained in:
PatR
2021-07-30 14:11:26 -07:00
parent de73a32d7d
commit 8e3fbb3588
4 changed files with 32 additions and 40 deletions

View File

@@ -634,7 +634,8 @@ extern unsigned int induced_align(int);
extern boolean Invocation_lev(d_level *);
extern xchar level_difficulty(void);
extern schar lev_by_name(const char *);
extern boolean known_branch_stairs(stairway *, char *, boolean);
extern boolean known_branch_stairs(stairway *);
extern char *stairs_description(stairway *, char *, boolean);
extern schar print_dungeon(boolean, schar *, xchar *);
extern char *get_annotation(d_level *);
extern int donamelevel(void);