summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/direct.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2007-09-12 14:44:16 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2007-09-12 14:44:16 +0000
commit7fd519911a9007b617b873d4690159d65ca2dd96 (patch)
treed52fe255b14d5388e7bae7f8761e898fedb8efd8 /crawl-ref/source/direct.cc
parent7c230030738f1d67c341aa2c24afcb231f14c3be (diff)
downloadcrawl-ref-7fd519911a9007b617b873d4690159d65ca2dd96.tar.gz
crawl-ref-7fd519911a9007b617b873d4690159d65ca2dd96.zip
Another change to how bazaars look.
All floor squares around shops (in bazaars) get coloured yellow. (David likened this to light flooding the street.) Lava on red floor get converted to water, and deep water on blue floor is substituted by lava or shallow water. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2074 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/direct.cc')
-rw-r--r--crawl-ref/source/direct.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/crawl-ref/source/direct.cc b/crawl-ref/source/direct.cc
index 88da50188a..ac30c963af 100644
--- a/crawl-ref/source/direct.cc
+++ b/crawl-ref/source/direct.cc
@@ -1225,6 +1225,7 @@ void describe_floor()
switch (grid)
{
case DNGN_FLOOR:
+ case DNGN_FLOOR_SPECIAL:
return;
case DNGN_ENTER_SHOP:
@@ -1371,6 +1372,7 @@ std::string raw_feature_description(dungeon_feature_type grid,
return ("Some shallow water");
case DNGN_UNDISCOVERED_TRAP:
case DNGN_FLOOR:
+ case DNGN_FLOOR_SPECIAL:
return ("Floor");
case DNGN_OPEN_DOOR:
return ("open door");
@@ -1883,6 +1885,7 @@ static void describe_cell(int mx, int my)
msg_channel_type channel = MSGCH_EXAMINE;
if (grd[mx][my] == DNGN_FLOOR
+ || grd[mx][my] == DNGN_FLOOR_SPECIAL
|| grd[mx][my] == DNGN_SHALLOW_WATER
|| grd[mx][my] == DNGN_DEEP_WATER)
{