diff options
author | Ed Gonzalez <ed.gonzalez3@gmail.com> | 2013-06-26 02:35:06 -0700 |
---|---|---|
committer | Pete Hurst <pete@streamuniverse.tv> | 2013-06-26 17:31:31 +0100 |
commit | 9df61e6a4e064732a1891d956987842657eb9b84 (patch) | |
tree | 5a648816049a37a19a7c2be712c65d5dcadb158c /crawl-ref/source/spl-summoning.h | |
parent | 84cbdbc3d473519238532f04bf0cd0b859b83d77 (diff) | |
download | crawl-ref-9df61e6a4e064732a1891d956987842657eb9b84.tar.gz crawl-ref-9df61e6a4e064732a1891d956987842657eb9b84.zip |
Prefix spectral weapon properties with "sw_" and use #define for them.
This allows easier understanding of what code uses the properties,
reduces chances of conflicts, and helps catch mispellings.
Diffstat (limited to 'crawl-ref/source/spl-summoning.h')
-rw-r--r-- | crawl-ref/source/spl-summoning.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/crawl-ref/source/spl-summoning.h b/crawl-ref/source/spl-summoning.h index c5fde0b557..e1a47b771c 100644 --- a/crawl-ref/source/spl-summoning.h +++ b/crawl-ref/source/spl-summoning.h @@ -14,6 +14,13 @@ #define DEAD_ARE_SLITHERING 8 #define DEAD_ARE_HOPPING 16 + +// Properties set for active summons +#define SW_TARGET_MID "sw_target_mid" +#define SW_READIED "sw_readied" +#define SW_TRACKING "sw_tracking" + + spret_type cast_summon_butterflies(int pow, god_type god = GOD_NO_GOD, bool fail = false); spret_type cast_summon_small_mammal(int pow, god_type god, bool fail); |