From 7f9e84d7674d4a370c1514f40832afaf654736cc Mon Sep 17 00:00:00 2001 From: Matthew Cline Date: Sun, 29 Nov 2009 01:08:06 -0800 Subject: 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). --- crawl-ref/source/traps.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'crawl-ref/source/traps.cc') diff --git a/crawl-ref/source/traps.cc b/crawl-ref/source/traps.cc index e3d1c0ddc7..d27137443b 100644 --- a/crawl-ref/source/traps.cc +++ b/crawl-ref/source/traps.cc @@ -35,6 +35,7 @@ #include "spl-util.h" #include "state.h" #include "stuff.h" +#include "travel.h" #include "env.h" #include "areas.h" #include "terrain.h" -- cgit v1.2.3-54-g00ecf