diff options
author | Enne Walker <enne.walker@gmail.com> | 2010-06-06 22:14:02 -0400 |
---|---|---|
committer | Enne Walker <enne.walker@gmail.com> | 2010-06-08 21:36:18 -0400 |
commit | b384af3456fb4905b6053f66c9301b5993fbf120 (patch) | |
tree | 16ce0966be11d1bb257cac35191c2cb66440493c /crawl-ref/source/tilepick.h | |
parent | 97836cfa4e1c5fdbb04f9612fe6902a0087f6161 (diff) | |
download | crawl-ref-b384af3456fb4905b6053f66c9301b5993fbf120.tar.gz crawl-ref-b384af3456fb4905b6053f66c9301b5993fbf120.zip |
Refactor tileidx_feature function.
This splits it out into a function that uses grid-specific knowledge and
an assumption that the player has seen the tile itself and another more
general function to just find a dungeon_feature_type to tile mapping.
Diffstat (limited to 'crawl-ref/source/tilepick.h')
-rw-r--r-- | crawl-ref/source/tilepick.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/tilepick.h b/crawl-ref/source/tilepick.h index 4ee0cf8ef7..99cabb1e90 100644 --- a/crawl-ref/source/tilepick.h +++ b/crawl-ref/source/tilepick.h @@ -17,7 +17,7 @@ class item_def; class monsters; // Tile index lookup from Crawl data. -tileidx_t tileidx_feature(dungeon_feature_type feat, const coord_def &gc); +tileidx_t tileidx_feature(const coord_def &gc); tileidx_t tileidx_out_of_bounds(int branch); tileidx_t tileidx_monster_base(const monsters *mon, bool detected = false); |