diff options
author | Matthew Cline <zelgadis@sourceforge.net> | 2009-11-29 01:08:06 -0800 |
---|---|---|
committer | Matthew Cline <zelgadis@sourceforge.net> | 2009-11-29 01:14:47 -0800 |
commit | 7f9e84d7674d4a370c1514f40832afaf654736cc (patch) | |
tree | f286f068de02f1470c7db26ec80e5e4e72d66dd1 /crawl-ref/source/shopping.cc | |
parent | 83b3d564bcad6422fca7545cb5bc56fd9aa92a1c (diff) | |
download | crawl-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/shopping.cc')
-rw-r--r-- | crawl-ref/source/shopping.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/shopping.cc b/crawl-ref/source/shopping.cc index dd398df098..13175097dc 100644 --- a/crawl-ref/source/shopping.cc +++ b/crawl-ref/source/shopping.cc @@ -34,6 +34,7 @@ #include "spl-book.h" #include "stash.h" #include "stuff.h" +#include "travel.h" #include "env.h" #define SHOPPING_LIST_COST_KEY "shopping_list_cost_key" |