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/mon-pick.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crawl-ref/source/mon-pick.h') diff --git a/crawl-ref/source/mon-pick.h b/crawl-ref/source/mon-pick.h index 9fa7c42b83..ef728babdc 100644 --- a/crawl-ref/source/mon-pick.h +++ b/crawl-ref/source/mon-pick.h @@ -8,7 +8,7 @@ #ifndef MONPICK_H #define MONPICK_H -#include "travel.h" +#include "externs.h" int mons_rarity(int mcls, const level_id &place = level_id::current()); -- cgit v1.2.3-54-g00ecf