From 6f10cd2574eeb8a1417eff84718edd309287ac0d Mon Sep 17 00:00:00 2001 From: Robert Vollmert Date: Wed, 4 Nov 2009 10:04:17 +0100 Subject: Get rid of multiple-meaning "int object" in env.show. env.show is now a class show_def that stores tagged unions of type show_type. For the moment, there's also env.show_los for use in LOS determination, but that should become an array of boolean at some point. This breaks save compatibility. Tiles and console version build and appear to work fine, but this kind of change is likely to have some side-effects. --- crawl-ref/source/cloud.h | 1 + 1 file changed, 1 insertion(+) (limited to 'crawl-ref/source/cloud.h') diff --git a/crawl-ref/source/cloud.h b/crawl-ref/source/cloud.h index f9fa6d6d18..c94bd4af8d 100644 --- a/crawl-ref/source/cloud.h +++ b/crawl-ref/source/cloud.h @@ -63,6 +63,7 @@ int max_cloud_damage(cloud_type cl_type, int power = -1); void in_a_cloud(void); std::string cloud_name(cloud_type type); +int get_cloud_colour(int cloudno); bool is_damaging_cloud(cloud_type type, bool temp = false); bool is_harmless_cloud(cloud_type type); -- cgit v1.2.3-54-g00ecf