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/mapdef.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crawl-ref/source/mapdef.h') diff --git a/crawl-ref/source/mapdef.h b/crawl-ref/source/mapdef.h index fb8728d3f6..a04a092307 100644 --- a/crawl-ref/source/mapdef.h +++ b/crawl-ref/source/mapdef.h @@ -21,7 +21,7 @@ #include "matrix.h" #include "fprop.h" #include "makeitem.h" -#include "travel.h" +#include "travel_defs.h" // [dshaligram] Maps can be mirrored; for every orientation, there must be // a suitable mirror. -- cgit v1.2.3-54-g00ecf