From 636cb150289264fb06e4c3ad74da2ed385234567 Mon Sep 17 00:00:00 2001 From: pauldubois Date: Sat, 15 Mar 2008 23:47:33 +0000 Subject: 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 --- crawl-ref/source/terrain.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crawl-ref/source/terrain.h') 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& 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 ); -- cgit v1.2.3-54-g00ecf