summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/tiletex.h
diff options
context:
space:
mode:
authorennewalker <ennewalker@c06c8d41-db1a-0410-9941-cceddc491573>2009-01-03 02:38:47 +0000
committerennewalker <ennewalker@c06c8d41-db1a-0410-9941-cceddc491573>2009-01-03 02:38:47 +0000
commit631dff0b53511c53e67f3ca9b2b88becf7f7c84c (patch)
treeb18ee227b93d4cf4291bd0d10b66add1a2152921 /crawl-ref/source/tiletex.h
parent834b2b5479723c391ff2dfdb70940da9592b4bce (diff)
downloadcrawl-ref-631dff0b53511c53e67f3ca9b2b88becf7f7c84c.tar.gz
crawl-ref-631dff0b53511c53e67f3ca9b2b88becf7f7c84c.zip
Tile menus now support multiple tiles per entry (see MenuEntry::get_tiles).
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8153 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/tiletex.h')
-rw-r--r--crawl-ref/source/tiletex.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/crawl-ref/source/tiletex.h b/crawl-ref/source/tiletex.h
index 5158ea6411..9299305789 100644
--- a/crawl-ref/source/tiletex.h
+++ b/crawl-ref/source/tiletex.h
@@ -14,10 +14,17 @@ enum TextureID
TEX_DUNGEON,
TEX_DEFAULT,
TEX_DOLL,
- TEX_TITLE,
TEX_MAX
};
+struct tile_def
+{
+ tile_def(int _tile, TextureID _tex) : tile(_tile), tex(_tex) {}
+
+ int tile;
+ TextureID tex;
+};
+
class GenericTexture
{
public: