summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mgen_data.h
diff options
context:
space:
mode:
authorJude Brown <bookofjude@users.sourceforge.net>2009-12-10 10:36:28 +1000
committerJude Brown <bookofjude@users.sourceforge.net>2009-12-10 11:00:54 +1000
commitc602df19e39a4092f2307f414c7ea7d6a7fe3af1 (patch)
tree76859a53332734d3f25fdcc2c17947fd6134d7d1 /crawl-ref/source/mgen_data.h
parent9f4bc8c473b1da88c6f322c70dccd0f60d3b6706 (diff)
downloadcrawl-ref-c602df19e39a4092f2307f414c7ea7d6a7fe3af1.tar.gz
crawl-ref-c602df19e39a4092f2307f414c7ea7d6a7fe3af1.zip
Minor tweaks to TILE: specifier.
Diffstat (limited to 'crawl-ref/source/mgen_data.h')
-rw-r--r--crawl-ref/source/mgen_data.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/crawl-ref/source/mgen_data.h b/crawl-ref/source/mgen_data.h
index 360ebf3f54..6934100ede 100644
--- a/crawl-ref/source/mgen_data.h
+++ b/crawl-ref/source/mgen_data.h
@@ -101,6 +101,9 @@ struct mgen_data
// Fiend ... summoned by the effects of Hell.
std::string non_actor_summoner;
+ // This can eventually be used to store relevant information.
+ CrawlHashTable props;
+
mgen_data(monster_type mt = RANDOM_MONSTER,
beh_type beh = BEH_HOSTILE,
actor* sner = 0,
@@ -126,7 +129,7 @@ struct mgen_data
flags(monflags), god(which_god), number(monnumber), colour(moncolour),
power(monpower), proximity(prox), level_type(ltype), map_mask(0),
hd(mhd), hp(mhp), extra_flags(mflags), mname(monname),
- non_actor_summoner(nas)
+ non_actor_summoner(nas), props()
{
ASSERT(summon_type == 0 || (abj >= 1 && abj <= 6)
|| mt == MONS_BALL_LIGHTNING);