summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/tiletex.h
diff options
context:
space:
mode:
authorFlorian Diebold <flodiebold@gmail.com>2011-11-05 04:15:00 +0100
committerFlorian Diebold <flodiebold@gmail.com>2011-12-08 22:52:58 +0100
commit15055ff1e639201928917d7f54f1d0a61ffad2a7 (patch)
tree7ec92e7c1219cfc3e3dc35203bdf90a09d7e8d6c /crawl-ref/source/tiletex.h
parente54b525164596b6559e19fc9d86016d9bf36e983 (diff)
downloadcrawl-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.h')
-rw-r--r--crawl-ref/source/tiletex.h25
1 files changed, 0 insertions, 25 deletions
diff --git a/crawl-ref/source/tiletex.h b/crawl-ref/source/tiletex.h
index 5488fd8764..553188b72b 100644
--- a/crawl-ref/source/tiletex.h
+++ b/crawl-ref/source/tiletex.h
@@ -6,19 +6,6 @@
#ifndef TILETEX_H
#define TILETEX_H
-// The different texture types.
-enum TextureID
-{
- TEX_FLOOR, // floor.png
- TEX_WALL, // wall.png
- TEX_FEAT, // feat.png
- TEX_PLAYER, // player.png
- TEX_DEFAULT, // main.png
- TEX_GUI, // gui.png
- TEX_ICONS, // icons.png
- TEX_MAX
-};
-
enum MipMapOptions
{
MIPMAP_CREATE,
@@ -26,18 +13,6 @@ enum MipMapOptions
MIPMAP_MAX,
};
-struct tile_def
-{
- tile_def(tileidx_t _tile, TextureID _tex, int _ymax = TILE_Y)
- : tile(_tile), tex(_tex), ymax(_ymax){}
-
- tileidx_t tile;
- TextureID tex;
- int ymax;
-};
-
-TextureID get_dngn_tex(tileidx_t idx);
-
// Arbitrary post-load texture processing
typedef bool(*tex_proc_func)(unsigned char *pixels, unsigned int w,
unsigned int h);