summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/files.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/files.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/files.cc')
-rw-r--r--crawl-ref/source/files.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/crawl-ref/source/files.cc b/crawl-ref/source/files.cc
index 87f3984fb5..b05bbde518 100644
--- a/crawl-ref/source/files.cc
+++ b/crawl-ref/source/files.cc
@@ -75,7 +75,10 @@
#include "state.h"
#include "stuff.h"
#include "tags.h"
+#ifdef USE_TILE
#include "tiles.h"
+#include "tiledef-player.h"
+#endif
#include "terrain.h"
#include "travel.h"
#include "tutorial.h"