summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mutation.h
diff options
context:
space:
mode:
authorRobert Burnham <burnhamrobertp@gmail.com>2010-10-25 13:00:13 -0500
committerRobert Burnham <burnhamrobertp@gmail.com>2010-10-25 13:00:13 -0500
commitcdddb66163232546cd219372197ce21d936a5694 (patch)
tree8630dc6e497cd258f009ac507ccea536598135e3 /crawl-ref/source/mutation.h
parent1a871b1f2e6d7e703b44fd6d06dbaf46e1cab020 (diff)
downloadcrawl-ref-cdddb66163232546cd219372197ce21d936a5694.tar.gz
crawl-ref-cdddb66163232546cd219372197ce21d936a5694.zip
Allow variable mutation scheduling within a facet
Facets now have an overall tier (this is the actual tier of the facet and is only used to pick mutations according to the values set forth in ct_of_tier[]) as well as the tiers array which represents the tiers of each mutation which compose the facet. The values in the tiers array should not exceed the overall tier of the facet.
Diffstat (limited to 'crawl-ref/source/mutation.h')
-rw-r--r--crawl-ref/source/mutation.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/mutation.h b/crawl-ref/source/mutation.h
index 6894d0c496..553298e0c1 100644
--- a/crawl-ref/source/mutation.h
+++ b/crawl-ref/source/mutation.h
@@ -21,6 +21,7 @@ struct body_facet_def
struct facet_def
{
+ int tier;
mutation_type muts[3];
int tiers[3];
};