summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/zap-data.h
diff options
context:
space:
mode:
authorChris Campbell <chriscampbell89@gmail.com>2012-12-15 18:23:23 +0000
committerChris Campbell <chriscampbell89@gmail.com>2012-12-17 02:40:26 +0000
commit2b552cca4ab40fe4d535cfcae04d974604381ea0 (patch)
treee8f3afc833333fc41f1546bf1d0989040eb69dd0 /crawl-ref/source/zap-data.h
parent715a9cbdedd6a31e048e286774010fd75a44c064 (diff)
downloadcrawl-ref-2b552cca4ab40fe4d535cfcae04d974604381ea0.tar.gz
crawl-ref-2b552cca4ab40fe4d535cfcae04d974604381ea0.zip
Add a comment
Opening up beam.cc to double-check the order of zap_info bools is far too much effort.
Diffstat (limited to 'crawl-ref/source/zap-data.h')
-rw-r--r--crawl-ref/source/zap-data.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/crawl-ref/source/zap-data.h b/crawl-ref/source/zap-data.h
index b6793a5caf..de16196f8c 100644
--- a/crawl-ref/source/zap-data.h
+++ b/crawl-ref/source/zap-data.h
@@ -6,6 +6,25 @@
#ifndef ZAP_DATA_H
#define ZAP_DATA_H
+/*
+struct zap_info
+{
+ zap_type ztype;
+ const char* name; // NULL means handled specially
+ int power_cap;
+ dam_deducer* damage;
+ tohit_deducer* tohit; // Enchantments have power modifier here
+ int colour;
+ bool is_enchantment;
+ beam_type flavour;
+ dungeon_char_type glyph;
+ bool always_obvious;
+ bool can_beam;
+ bool is_explosion;
+ int hit_loudness;
+}
+*/
+
{
ZAP_FLAME,
"puff of flame",