From 2e4aeb705dc8383ddc846ea17613251df8601847 Mon Sep 17 00:00:00 2001 From: ennewalker Date: Mon, 1 Dec 2008 02:22:31 +0000 Subject: [2054793] Partial implementation of the request to have COLOUR tags affect tile choice. Vaults can now override the default tileset (walls and floors) for an entire level. This has been pushed to vaults where it makes sense (sewers, ice caves, ziggurats, bazaars, Shoals:5, Zot). ROCKTILE and FLOORTILE can be used when authoring vaults to set these values, both of which take a single tile name as a string. These values are ignored in console builds. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7700 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/files.cc | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'crawl-ref/source/files.cc') diff --git a/crawl-ref/source/files.cc b/crawl-ref/source/files.cc index 47b413b01b..cb3ea53ddf 100644 --- a/crawl-ref/source/files.cc +++ b/crawl-ref/source/files.cc @@ -1144,6 +1144,12 @@ bool load( dungeon_feature_type stair_taken, load_mode_type load_mode, Generated_Levels.insert(level_id::current()); } +#ifdef USE_TILE + tiles.load_dungeon(NULL, you.pos().x, you.pos().y); + tile_init_default_flavour(); + tile_clear_flavour(); +#endif + _clear_env_map(); builder(you.your_level, you.level_type); just_created_level = true; -- cgit v1.2.3-54-g00ecf