summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/traps.h
diff options
context:
space:
mode:
authorMatthew Cline <zelgadis@sourceforge.net>2009-11-29 01:08:06 -0800
committerMatthew Cline <zelgadis@sourceforge.net>2009-11-29 01:14:47 -0800
commit7f9e84d7674d4a370c1514f40832afaf654736cc (patch)
treef286f068de02f1470c7db26ec80e5e4e72d66dd1 /crawl-ref/source/traps.h
parent83b3d564bcad6422fca7545cb5bc56fd9aa92a1c (diff)
downloadcrawl-ref-7f9e84d7674d4a370c1514f40832afaf654736cc.tar.gz
crawl-ref-7f9e84d7674d4a370c1514f40832afaf654736cc.zip
Reduce dependency on travel.h
Removed inclusion of travel.h from most .h files to reduce the number of .cc files dependant on it. This involved moving the level_pos declaration to externs.h, moving the flood_find template to it's own header file, and moving two typedefs from travel.h to travel_defs.h because typedefs can't be forward declared (argh).
Diffstat (limited to 'crawl-ref/source/traps.h')
-rw-r--r--crawl-ref/source/traps.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/traps.h b/crawl-ref/source/traps.h
index c39b70482c..43285f96d7 100644
--- a/crawl-ref/source/traps.h
+++ b/crawl-ref/source/traps.h
@@ -8,7 +8,7 @@
#define TRAPS_H
#include "enum.h"
-#include "travel.h"
+#include "externs.h"
struct bolt;
class monsters;