From 7bd75d9f1c4cc3dfcd5716a95d125d13e8b77ebf Mon Sep 17 00:00:00 2001 From: Johanna Ploog Date: Wed, 13 Jan 2010 00:00:29 +0100 Subject: Draw the Tiles splash screen before initialising the database. It leaves a better impression if the player has a pretty screen to look at while waiting for the database getting ready. (KiloByte) --- crawl-ref/source/main.cc | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'crawl-ref/source/main.cc') diff --git a/crawl-ref/source/main.cc b/crawl-ref/source/main.cc index 03cd4ae32c..d85f4941ba 100644 --- a/crawl-ref/source/main.cc +++ b/crawl-ref/source/main.cc @@ -3749,6 +3749,17 @@ static bool _initialise(void) // Set up the Lua interpreter for the dungeon builder. init_dungeon_lua(); +#ifdef USE_TILE + // Draw the splash screen before the database gets initialised as that + // may take awhile and it's better if the player can look at a pretty + // screen while this happens. + if (!crawl_state.map_stat_gen && !crawl_state.test + && Options.tile_title_screen) + { + tiles.draw_title(); + } +#endif + // Initialise internal databases. databaseSystemInit(); -- cgit v1.2.3-54-g00ecf