summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/l_dgntil.cc
diff options
context:
space:
mode:
authorSteven Noonan <steven@uplinklabs.net>2009-12-12 15:47:21 -0800
committerSteven Noonan <steven@uplinklabs.net>2009-12-12 15:49:14 -0800
commit14bfaca7e0b40811a7e7a3bb5ebe1ac952dbbbb7 (patch)
tree5a7e4bdc536437a9bc51d1b856bd1f5107812c15 /crawl-ref/source/l_dgntil.cc
parent3325e633107071090ed2b1134b7a79e0fd0f84d8 (diff)
downloadcrawl-ref-14bfaca7e0b40811a7e7a3bb5ebe1ac952dbbbb7.tar.gz
crawl-ref-14bfaca7e0b40811a7e7a3bb5ebe1ac952dbbbb7.zip
tiles: only include tiledef-*.h in files where they're needed
This eliminates the annoying full rebuild that happens when the tiledefs are modified. Signed-off-by: Steven Noonan <steven@uplinklabs.net>
Diffstat (limited to 'crawl-ref/source/l_dgntil.cc')
-rw-r--r--crawl-ref/source/l_dgntil.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/l_dgntil.cc b/crawl-ref/source/l_dgntil.cc
index 6939b98aea..4e68e8d782 100644
--- a/crawl-ref/source/l_dgntil.cc
+++ b/crawl-ref/source/l_dgntil.cc
@@ -13,6 +13,8 @@
#ifdef USE_TILE
+#include "tiledef-dngn.h"
+
#include "env.h"
unsigned int get_tile_idx(lua_State *ls, int arg)