summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/ghost.h
diff options
context:
space:
mode:
authorDavid Lawrence Ramsey <dolorous@users.sourceforge.net>2009-10-06 18:31:13 -0500
committerDavid Lawrence Ramsey <dolorous@users.sourceforge.net>2009-10-06 18:31:13 -0500
commitf408bf9c354f827c64e1416279b338a921545ff0 (patch)
treee7c9b77b1616c5efbbd9de3c9f7761b86c58395b /crawl-ref/source/ghost.h
parent23ff814fd3727442f17b093612e2bd802e972c2e (diff)
downloadcrawl-ref-f408bf9c354f827c64e1416279b338a921545ff0.tar.gz
crawl-ref-f408bf9c354f827c64e1416279b338a921545ff0.zip
Make sure that all (very) ugly things in a band start with the same
colour.
Diffstat (limited to 'crawl-ref/source/ghost.h')
-rw-r--r--crawl-ref/source/ghost.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/crawl-ref/source/ghost.h b/crawl-ref/source/ghost.h
index ae2ac91a23..db774701d0 100644
--- a/crawl-ref/source/ghost.h
+++ b/crawl-ref/source/ghost.h
@@ -44,7 +44,8 @@ public:
void reset();
void init_random_demon();
void init_player_ghost();
- void init_ugly_thing(bool very_ugly, bool only_mutate = false);
+ void init_ugly_thing(bool very_ugly, bool only_mutate = false,
+ unsigned char force_colour = BLACK);
void ugly_thing_to_very_ugly_thing();
public:
@@ -62,6 +63,7 @@ private:
void ugly_thing_add_resistance();
};
+unsigned char ugly_thing_random_colour();
bool debug_check_ghosts();
extern std::vector<ghost_demon> ghosts;