diff options
author | ennewalker <ennewalker@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-12-01 02:22:31 +0000 |
---|---|---|
committer | ennewalker <ennewalker@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-12-01 02:22:31 +0000 |
commit | 2e4aeb705dc8383ddc846ea17613251df8601847 (patch) | |
tree | dca212cd8072eccc0fc259a3a677bafc739ecee8 /crawl-ref/source/files.cc | |
parent | a2bd3ea6e687bee89ff41074c713af99e8bd9886 (diff) | |
download | crawl-ref-2e4aeb705dc8383ddc846ea17613251df8601847.tar.gz crawl-ref-2e4aeb705dc8383ddc846ea17613251df8601847.zip |
[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
Diffstat (limited to 'crawl-ref/source/files.cc')
-rw-r--r-- | crawl-ref/source/files.cc | 6 |
1 files changed, 6 insertions, 0 deletions
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; |