diff options
author | Steven Noonan <steven@uplinklabs.net> | 2009-12-12 15:47:21 -0800 |
---|---|---|
committer | Steven Noonan <steven@uplinklabs.net> | 2009-12-12 15:49:14 -0800 |
commit | 14bfaca7e0b40811a7e7a3bb5ebe1ac952dbbbb7 (patch) | |
tree | 5a7e4bdc536437a9bc51d1b856bd1f5107812c15 /crawl-ref/source/l_dgn.cc | |
parent | 3325e633107071090ed2b1134b7a79e0fd0f84d8 (diff) | |
download | crawl-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_dgn.cc')
-rw-r--r-- | crawl-ref/source/l_dgn.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/crawl-ref/source/l_dgn.cc b/crawl-ref/source/l_dgn.cc index b7891b2c7f..4ef1cae954 100644 --- a/crawl-ref/source/l_dgn.cc +++ b/crawl-ref/source/l_dgn.cc @@ -19,6 +19,9 @@ #include "random.h" #include "spl-util.h" #include "state.h" +#ifdef USE_TILE +#include "tiledef-dngn.h" +#endif #include "view.h" /////////////////////////////////////////////////////////////////////////// |