From 14bfaca7e0b40811a7e7a3bb5ebe1ac952dbbbb7 Mon Sep 17 00:00:00 2001 From: Steven Noonan Date: Sat, 12 Dec 2009 15:47:21 -0800 Subject: 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 --- crawl-ref/source/files.cc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'crawl-ref/source/files.cc') 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" -- cgit v1.2.3-54-g00ecf