summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/dungeon.h
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2012-04-09 10:19:30 +0200
committerAdam Borowski <kilobyte@angband.pl>2012-04-09 10:19:30 +0200
commitf09ffab612988e0a685663c6ce0c0d4eea564984 (patch)
tree6bd0424275a7039a6b746ba5a73f58489972e54a /crawl-ref/source/dungeon.h
parentcd9c2633c34e311aaeb7d1a58cdf62abaf03a78e (diff)
downloadcrawl-ref-f09ffab612988e0a685663c6ce0c0d4eea564984.tar.gz
crawl-ref-f09ffab612988e0a685663c6ce0c0d4eea564984.zip
Rename set_lt_callback() to set_branch_epilogue(), make it work again.
'cuz, you know, level types are playing with dodos. If defined, this epilogue will be called after a level on the given branch is created, allowing for last-minute fixups. This is probably a bad idea, and should be phased out.
Diffstat (limited to 'crawl-ref/source/dungeon.h')
-rw-r--r--crawl-ref/source/dungeon.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/crawl-ref/source/dungeon.h b/crawl-ref/source/dungeon.h
index b35da56dcb..85462f9fca 100644
--- a/crawl-ref/source/dungeon.h
+++ b/crawl-ref/source/dungeon.h
@@ -263,8 +263,7 @@ void dgn_place_multiple_items(item_list &list,
bool set_level_flags(uint32_t flags, bool silent = false);
bool unset_level_flags(uint32_t flags, bool silent = false);
-void dgn_set_lt_callback(std::string level_type_name,
- std::string callback_name);
+void dgn_set_branch_epilogue(branch_type br, std::string callback_name);
void dgn_reset_level(bool enable_random_maps = true);