diff options
author | Florian Diebold <flodiebold@gmail.com> | 2011-11-05 04:15:00 +0100 |
---|---|---|
committer | Florian Diebold <flodiebold@gmail.com> | 2011-12-08 22:52:58 +0100 |
commit | 15055ff1e639201928917d7f54f1d0a61ffad2a7 (patch) | |
tree | 7ec92e7c1219cfc3e3dc35203bdf90a09d7e8d6c /crawl-ref/source/tiletex.cc | |
parent | e54b525164596b6559e19fc9d86016d9bf36e983 (diff) | |
download | crawl-ref-15055ff1e639201928917d7f54f1d0a61ffad2a7.tar.gz crawl-ref-15055ff1e639201928917d7f54f1d0a61ffad2a7.zip |
Implement dedicated Menu support for Webtiles.
This is just for menus using the Menu class. It means that the menu
items are laid out in html on the client side, the menu size adapts to
the window of each spectator, and scrolling is done client-side.
Diffstat (limited to 'crawl-ref/source/tiletex.cc')
-rw-r--r-- | crawl-ref/source/tiletex.cc | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/crawl-ref/source/tiletex.cc b/crawl-ref/source/tiletex.cc index 544ca3579b..db85962771 100644 --- a/crawl-ref/source/tiletex.cc +++ b/crawl-ref/source/tiletex.cc @@ -12,17 +12,6 @@ #include "tiletex.h" #include "windowmanager.h" -TextureID get_dngn_tex(tileidx_t idx) -{ - assert(idx < TILE_FEAT_MAX); - if (idx < TILE_FLOOR_MAX) - return (TEX_FLOOR); - else if (idx < TILE_WALL_MAX) - return (TEX_WALL); - else - return (TEX_FEAT); -} - GenericTexture::GenericTexture() : m_handle(0), m_width(0), |