summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/tiles.h
diff options
context:
space:
mode:
authorennewalker <ennewalker@c06c8d41-db1a-0410-9941-cceddc491573>2008-12-01 02:22:31 +0000
committerennewalker <ennewalker@c06c8d41-db1a-0410-9941-cceddc491573>2008-12-01 02:22:31 +0000
commit2e4aeb705dc8383ddc846ea17613251df8601847 (patch)
treedca212cd8072eccc0fc259a3a677bafc739ecee8 /crawl-ref/source/tiles.h
parenta2bd3ea6e687bee89ff41074c713af99e8bd9886 (diff)
downloadcrawl-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/tiles.h')
-rw-r--r--crawl-ref/source/tiles.h23
1 files changed, 12 insertions, 11 deletions
diff --git a/crawl-ref/source/tiles.h b/crawl-ref/source/tiles.h
index 1d795e6270..eaa6c5c10f 100644
--- a/crawl-ref/source/tiles.h
+++ b/crawl-ref/source/tiles.h
@@ -15,6 +15,7 @@
#include "tiledef-player.h"
#include "beam.h"
+#include "enum.h"
enum tag_version
{
@@ -92,14 +93,17 @@ void tile_draw_inv(int flag = -1);
// Multiple pickup
void tile_pick_menu();
-int get_num_wall_flavours();
-int get_num_floor_flavours();
-int get_num_floor_special_flavours();
-int get_wall_tile_idx();
-int get_floor_tile_idx();
-int get_floor_special_tile_idx();
+// Set the default type of walls and floors.
+void tile_init_default_flavour();
+// Get the default types of walls and floors
+void tile_default_flv(level_area_type lev, branch_type br, tile_flavour &flv);
+// Clear the per-cell wall and floor flavors.
+void tile_clear_flavour();
+// Initialize per-cell types of walls and floors using defaults.
void tile_init_flavour();
+void tile_floor_halo(dungeon_feature_type target, int tile);
+
void tile_set_force_redraw_tiles(bool redraw);
void tile_set_force_redraw_inv(bool redraw);
@@ -113,7 +117,7 @@ void TileResizeScreen(int x, int y);
// display tile cursor, returns old cursor value there
int TileDrawCursor(int x, int y, int flag);
-// display bolts
+
void TileNewLevel(bool first_time);
// edit player tile
@@ -121,14 +125,11 @@ void TilePlayerEdit();
int item_unid_type(const item_def &item);
-// load wall tiles
-void TileLoadWall(bool wizard);
-
void TileDrawTitle();
int get_clean_map_idx(int tile_idx);
-/* Flags for drawing routines */
+// Flags for drawing routines
enum tile_flags
{
// Foreground flags