From fed7cd6012682b1638463bdc5a0303089c967846 Mon Sep 17 00:00:00 2001 From: dshaligram Date: Sat, 12 Jan 2008 11:32:15 +0000 Subject: New Zot levels, courtesy Lemuel (David). Added more control when specifying draconians in maps (any yellow draconian, green draconian knight, any nonbase red draconian, any base draconian, etc.). Fixed crash when dragon or draconian breathes and the player is unarmed. Replaced magic number 250 in monster creation with enum constant MONS_PROGRAM_BUG. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3253 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/mon-util.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'crawl-ref/source/mon-util.h') diff --git a/crawl-ref/source/mon-util.h b/crawl-ref/source/mon-util.h index d1fb88cf00..e070e675b7 100644 --- a/crawl-ref/source/mon-util.h +++ b/crawl-ref/source/mon-util.h @@ -661,6 +661,8 @@ bool mons_is_paralysed(const monsters *m); bool monster_senior(const monsters *first, const monsters *second); monster_type draco_subspecies( const monsters *mon ); +std::string draconian_colour_name(monster_type mtype); +monster_type draconian_colour_by_name(const std::string &colour); monster_type random_monster_at_grid(int x, int y); monster_type random_monster_at_grid(dungeon_feature_type grid); -- cgit v1.2.3-54-g00ecf