summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mapdef.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/mapdef.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/mapdef.cc')
-rw-r--r--crawl-ref/source/mapdef.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/crawl-ref/source/mapdef.cc b/crawl-ref/source/mapdef.cc
index 6ef5088e02..e548cf3389 100644
--- a/crawl-ref/source/mapdef.cc
+++ b/crawl-ref/source/mapdef.cc
@@ -43,6 +43,10 @@
#include "stuff.h"
#include "env.h"
#include "tags.h"
+#ifdef USE_TILE
+#include "tiledef-dngn.h"
+#include "tiledef-player.h"
+#endif
static const char *map_section_names[] = {
"",