summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/startup.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2013-05-29 04:01:42 +0200
committerAdam Borowski <kilobyte@angband.pl>2013-05-29 04:01:42 +0200
commitaff44e3dcf63bf0a5426c8d6998c8954bb44d26d (patch)
tree1708e320052e6631f93e85301ff6d2ad75ebb1ef /crawl-ref/source/startup.cc
parent30cd027a1c26d7375360584f5df8ec9f57a09c85 (diff)
parent1ef5305b68a6936247e5ee2a4aa7516222258490 (diff)
downloadcrawl-ref-aff44e3dcf63bf0a5426c8d6998c8954bb44d26d.tar.gz
crawl-ref-aff44e3dcf63bf0a5426c8d6998c8954bb44d26d.zip
Merge branch 'master' into lava_orcs
Diffstat (limited to 'crawl-ref/source/startup.cc')
-rw-r--r--crawl-ref/source/startup.cc18
1 files changed, 13 insertions, 5 deletions
diff --git a/crawl-ref/source/startup.cc b/crawl-ref/source/startup.cc
index d3aca2028e..07922ecb34 100644
--- a/crawl-ref/source/startup.cc
+++ b/crawl-ref/source/startup.cc
@@ -104,7 +104,7 @@ static void _initialize()
env.map_knowledge.init(map_cell());
env.pgrid.init(0);
- you.unique_creatures.init(false);
+ you.unique_creatures.reset();
you.unique_items.init(UNIQ_NOT_EXISTS);
// Set up the Lua interpreter for the dungeon builder.
@@ -204,6 +204,8 @@ static void _post_init(bool newc)
crawl_state.last_type = crawl_state.type;
crawl_state.last_game_won = false;
+ destroy_abyss();
+
calc_hp();
calc_mp();
if (you.form != TRAN_LICH)
@@ -282,6 +284,7 @@ static void _post_init(bool newc)
ash_check_bondage(false);
trackers_init_new_level(false);
+ tile_new_level(newc);
if (newc) // start a new game
{
@@ -298,8 +301,6 @@ static void _post_init(bool newc)
fully_map_level();
}
- tile_new_level(newc);
-
// This just puts the view up for the first turn.
viewwindow();
@@ -600,9 +601,16 @@ again:
}
tmp = new NoSelectTextItem();
+
string text = "Use the up/down keys to select the type of game or load a "
- "character.\n"
- "You can type your name; if you leave it blank you will be "
+ "character.";
+#ifdef USE_TILE_LOCAL
+ if (tiles.is_using_small_layout())
+ text += " ";
+ else
+#endif
+ text += "\n";
+ text += "You can type your name; if you leave it blank you will be "
"asked later.\n"
"Press Enter to start";
// TODO: this should include a description of that character.