summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/trap_def.h
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2013-09-25 20:02:29 +0200
committerAdam Borowski <kilobyte@angband.pl>2013-09-25 20:02:29 +0200
commit0ea719b7a5d9cb8208d2da379bb30fd5b6b4e5f9 (patch)
tree2af1a96ce0210dda2e697e148effa34f83797c35 /crawl-ref/source/trap_def.h
parenta6373e255eadfd6def971f5bc3c4df857f380afe (diff)
downloadcrawl-ref-0ea719b7a5d9cb8208d2da379bb30fd5b6b4e5f9.tar.gz
crawl-ref-0ea719b7a5d9cb8208d2da379bb30fd5b6b4e5f9.zip
Split the "magical" trap category, to allow recolouring.
Diffstat (limited to 'crawl-ref/source/trap_def.h')
-rw-r--r--crawl-ref/source/trap_def.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/trap_def.h b/crawl-ref/source/trap_def.h
index 4c210dbc08..2820a3b55f 100644
--- a/crawl-ref/source/trap_def.h
+++ b/crawl-ref/source/trap_def.h
@@ -9,6 +9,7 @@ struct trap_def
uint8_t skill_rnd;
dungeon_feature_type category() const;
+ bool ground_only() const;
string name(description_level_type desc = DESC_PLAIN) const;
bool is_known(const actor* act = 0) const;
bool is_safe(actor* act = 0) const;