summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/branch.h
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2012-04-26 23:15:01 +0200
committerAdam Borowski <kilobyte@angband.pl>2012-04-26 23:48:28 +0200
commitf37330d6d0759f6d0264837b1904ec383d893201 (patch)
treec54e48ed59e7f7d6e7f82e75214605787de5592c /crawl-ref/source/branch.h
parent3772862b07e3a9a84255f3fb0420d8c4c14cc924 (diff)
downloadcrawl-ref-f37330d6d0759f6d0264837b1904ec383d893201.tar.gz
crawl-ref-f37330d6d0759f6d0264837b1904ec383d893201.zip
Give branches explicit base absdepth, instead of using distance to D:1.
Diffstat (limited to 'crawl-ref/source/branch.h')
-rw-r--r--crawl-ref/source/branch.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/branch.h b/crawl-ref/source/branch.h
index ad4fd0df28..f93f80e17d 100644
--- a/crawl-ref/source/branch.h
+++ b/crawl-ref/source/branch.h
@@ -26,6 +26,7 @@ struct Branch
int maxdepth;
int numlevels; // depth of the branch
+ int absdepth; // base item generation/etc depth
uint32_t branch_flags;
uint32_t default_level_flags;