diff options
author | pauldubois <pauldubois@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-03-15 23:47:33 +0000 |
---|---|---|
committer | pauldubois <pauldubois@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-03-15 23:47:33 +0000 |
commit | 636cb150289264fb06e4c3ad74da2ed385234567 (patch) | |
tree | 84148bfd54f605b81da592ae9dff9e1671dcf933 /crawl-ref/source/terrain.h | |
parent | 80bb6d7dfc1d7fc620af3f77935dcfca9cce788a (diff) | |
download | crawl-ref-636cb150289264fb06e4c3ad74da2ed385234567.tar.gz crawl-ref-636cb150289264fb06e4c3ad74da2ed385234567.zip |
Changed door-open failure message to match the door-close message.
Added special case messages for doors already open or closed.
Maybe there should be flavor messages for # gateways? We use the
same noun (gate/gateway) for # and +++.
Remove leading underscore from find_connected_identical() now that it's public.
Change large door descriptions slightly:
- "open/closed large door" -> "large open/closed door"
- "There's a creature in the large doorway!" -> "... in the doorway"
- Other messages read a bit better without the adjective, but if it's removed
then almost all the flavor is gone. So I left them alone.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3664 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/terrain.h')
-rw-r--r-- | crawl-ref/source/terrain.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/terrain.h b/crawl-ref/source/terrain.h index 973c25413c..590303ab45 100644 --- a/crawl-ref/source/terrain.h +++ b/crawl-ref/source/terrain.h @@ -44,9 +44,9 @@ bool grid_is_watery(dungeon_feature_type grid); god_type grid_altar_god( dungeon_feature_type grid ); dungeon_feature_type altar_for_god( god_type god ); bool grid_is_branch_stairs( dungeon_feature_type grid ); -void _find_connected_identical(coord_def d, dungeon_feature_type ft, +void find_connected_identical(coord_def d, dungeon_feature_type ft, std::set<coord_def>& out); -std::string get_door_noun(int door_count); +void get_door_description(int door_size, const char** adjective, const char** noun); dungeon_feature_type grid_secret_door_appearance( int gx, int gy ); bool grid_destroys_items( dungeon_feature_type grid ); |