summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-05-14 15:23:05 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-05-14 15:23:05 +0000
commit8424cc75e997bb97497cb3c1241b3267aacf1ecf (patch)
tree36def2f00a5065c90bb61d8a43f29d9c136eb11d
parentc8a0422eec7733d489ac79c2955aeb2685542536 (diff)
downloadcrawl-ref-8424cc75e997bb97497cb3c1241b3267aacf1ecf.tar.gz
crawl-ref-8424cc75e997bb97497cb3c1241b3267aacf1ecf.zip
Tweaked temple_pool (David).
Added (Press ? for help) in level map title. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1471 c06c8d41-db1a-0410-9941-cceddc491573
-rw-r--r--crawl-ref/source/dat/ebranch.des39
-rw-r--r--crawl-ref/source/view.cc10
2 files changed, 41 insertions, 8 deletions
diff --git a/crawl-ref/source/dat/ebranch.des b/crawl-ref/source/dat/ebranch.des
index 6814ecebc7..a6444ed2f1 100644
--- a/crawl-ref/source/dat/ebranch.des
+++ b/crawl-ref/source/dat/ebranch.des
@@ -160,20 +160,45 @@ ENDMAP
##############################################################################
# temple in pool
#
-NAME: temple_pool
-TAGS: temple_entry no_monster_gen no_pool_fixup
-ORIENT: float
+NAME: temple_pool_a
+TAGS: temple_entry no_monster_gen no_pool_fixup
+CHANCE: 5
+FLAGS: no_rotate
+ORIENT: float
+SHUFFLE: XY
+SUBST: Y=w, X=.
MAP
.....wwwww......
...wwwwwwwww....
.wwwwwwwwwwwww..
wwwwww...wwwwww.
+wwwwww.O.YYYYYY.
+wwwwww...wwwwww.
+wwwwwwwXwwwwwww.
+.wwwwwwXwwwwww..
+...wwwwXwwww....
+.....wwXww......
+................
+ENDMAP
+
+NAME: temple_pool_b
+TAGS: temple_entry no_monster_gen
+CHANCE: 5
+FLAGS: no_rotate
+ORIENT: float
+SHUFFLE: ABCDEFGHIJKL
+SUBST: A=W, B=W, C=W, D=w, E=w, F=w, G=w, H=w, I=w, J=w, K=w, L=w
+MAP
+.....wwwww......
+...wABwwwDEw....
+.wwwCwwwwwFwww..
+wwwwww...wwwwww.
wwwwww.O.wwwwww.
wwwwww...wwwwww.
-wwwwwww.wwwwwww.
-.wwwwww.wwwwww..
-...wwww.wwww....
-.....ww.ww......
+wwwwLwwwwwGwwww.
+.wwwKJwwwIHwww..
+...wwwwwwwww....
+.....wwwww......
................
ENDMAP
diff --git a/crawl-ref/source/view.cc b/crawl-ref/source/view.cc
index 417f76f5f3..a1d8d715aa 100644
--- a/crawl-ref/source/view.cc
+++ b/crawl-ref/source/view.cc
@@ -2059,7 +2059,15 @@ static void draw_level_map(int start_x, int start_y, bool travel_mode)
{
gotoxy(1, 1);
textcolor(WHITE);
- cprintf("Level %s", level_description_string().c_str());
+ cprintf("%-*s",
+ get_number_of_cols() - 1,
+ ("Level " + level_description_string()).c_str());
+
+ const formatted_string help =
+ formatted_string::parse_string("(Press <w>?</w> for help)");
+ textcolor(LIGHTGREY);
+ gotoxy(get_number_of_cols() - std::string(help).length() + 1, 1);
+ help.display();
}
gotoxy(1, top);