summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mutation.h
diff options
context:
space:
mode:
authorNeil Moore <neil@s-z.org>2011-12-13 16:49:42 -0500
committerNeil Moore <neil@s-z.org>2011-12-13 17:01:16 -0500
commitcdf1a03f46f69e9d775bafeefc21205b96e88a47 (patch)
tree8959e9c796f18fa8875e227c7f92241a3d869c88 /crawl-ref/source/mutation.h
parent8d5145c052a2eb0f14422ef54a41ede331c9e67e (diff)
downloadcrawl-ref-cdf1a03f46f69e9d775bafeefc21205b96e88a47.tar.gz
crawl-ref-cdf1a03f46f69e9d775bafeefc21205b96e88a47.zip
Mark scales as partially suppressed in statue form.
This necessitates distinguishing partially-active from hunger-based activity, so add MUTACT_HUNGER and use that for non-physical mutations on vampires between satiated and very full. Also add a function to properly format fake mutations that depend on form. Note that, for these purposes, "thin skeletal structure" and "distortion field" do not count as scales (they are fully active in all forms).
Diffstat (limited to 'crawl-ref/source/mutation.h')
-rw-r--r--crawl-ref/source/mutation.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/crawl-ref/source/mutation.h b/crawl-ref/source/mutation.h
index 6322c65e09..1f50841dd9 100644
--- a/crawl-ref/source/mutation.h
+++ b/crawl-ref/source/mutation.h
@@ -13,9 +13,10 @@ class formatted_string;
enum mutation_activity_type
{
- MUTACT_INACTIVE,
- MUTACT_PARTIAL,
- MUTACT_FULL,
+ MUTACT_INACTIVE, // form-based mutations in most forms
+ MUTACT_PARTIAL, // scales on statues
+ MUTACT_HUNGER, // non-physical mutations on vampires
+ MUTACT_FULL, // other mutations
};
struct body_facet_def