summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/stuff.h
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-03-29 00:54:15 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-03-29 00:54:15 +0000
commit86bae0c1a3a28bc81c0fb66576e63c0a965c292c (patch)
tree360f93338d3a9978c03842451c494765f221d471 /crawl-ref/source/stuff.h
parent4df1ff7d51ee4c57b53af69e9f5e7db3ee72ab1a (diff)
downloadcrawl-ref-86bae0c1a3a28bc81c0fb66576e63c0a965c292c.tar.gz
crawl-ref-86bae0c1a3a28bc81c0fb66576e63c0a965c292c.zip
Prevent shafts from being created in corridors, at least until
around dungeon level 7. Rename ROCK_STAIRS to ESCAPE_HATCH, as well as the corresponding function, since I think that the escape hatches are such a cool concept that we won't be going back, and the current coding name is a bit confusing. Clean up dungeon.cc. I'll probably have to add stuff into our new conventions file as I've been making up a lot of new rules in trying to make the code more readable. (Rules concerning nested brackets, and function indentation, etc.) git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3927 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/stuff.h')
-rw-r--r--crawl-ref/source/stuff.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/stuff.h b/crawl-ref/source/stuff.h
index 09af22d8d6..86df6911db 100644
--- a/crawl-ref/source/stuff.h
+++ b/crawl-ref/source/stuff.h
@@ -130,7 +130,7 @@ template <typename Z> inline Z sgn(Z x)
return (x < 0? -1 : (x > 0? 1 : 0));
}
-bool is_trap_square(int x, int y);
+bool is_trap_square(dungeon_feature_type grid);
void zap_los_monsters();
class rng_save_excursion