diff options
author | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-04-15 07:24:00 +0000 |
---|---|---|
committer | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-04-15 07:24:00 +0000 |
commit | 1ec85725d1e87db172a4cab09f8b2710ddc83a4b (patch) | |
tree | f7887de1edb53be9f5335868dfb9c5d2585d0364 /crawl-ref/source/mapdef.h | |
parent | d05b3c703413d1a81ff309ad8c13539ce6911f34 (diff) | |
download | crawl-ref-1ec85725d1e87db172a4cab09f8b2710ddc83a4b.tar.gz crawl-ref-1ec85725d1e87db172a4cab09f8b2710ddc83a4b.zip |
Shield blocks are much harder vs invisible attackers.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1316 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/mapdef.h')
-rw-r--r-- | crawl-ref/source/mapdef.h | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/crawl-ref/source/mapdef.h b/crawl-ref/source/mapdef.h index 238df8957a..8a9762e3fa 100644 --- a/crawl-ref/source/mapdef.h +++ b/crawl-ref/source/mapdef.h @@ -375,49 +375,6 @@ private: const std::string &s, bool fixed)); }; -class monster_chance -{ -public: - int mclass; - int level; - int rarity; -}; - -class level_def -{ -public: - // The range of levels to which this def applies. - level_range range; - - // Can be empty, in which case the default colours are applied. - std::string floor_colour, rock_colour; - std::string tags; - - // The probability of requesting a random vault. - int p_vault; - - // The probability of requesting a random minivault. - int p_minivault; - - // If non-empty, any upstair will go straight to this level. - std::string upstair_targ, downstair_targ; - - std::vector<monster_chance> monsters; -}; - -class dungeon_def -{ -public: - std::string idstr; - int id; - std::string short_desc, full_desc; - - std::vector<level_def> level_specs; - -public: - const level_def &specs(int subdepth); -}; - std::string escape_string(std::string in, const std::string &toesc, const std::string &escapewith); |