Skip to content

Commit

Permalink
fixup some includes
Browse files Browse the repository at this point in the history
  • Loading branch information
cbeck88 committed Jun 25, 2014
1 parent 77c2e5e commit 4db2f06
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 19 deletions.
27 changes: 16 additions & 11 deletions src/ai/composite/goal.cpp
Expand Up @@ -18,21 +18,26 @@
*/

#include "goal.hpp"
#include "global.hpp"

#include "ai/default/contexts.hpp"
#include "ai/lua/core.hpp"
#include "ai/lua/lua_object.hpp"
#include "ai/manager.hpp"
#include "log.hpp"
#include "map_location.hpp"
#include "resources.hpp"
#include "scripting/lua.hpp"
#include "team.hpp"
#include "terrain_filter.hpp"
#include "unit.hpp"
#include "unit_map.hpp"
#include "wml_exception.hpp"
#include "../lua/core.hpp"
#include "../manager.hpp"
#include "../../log.hpp"
#include "../lua/lua_object.hpp"
#include "../../resources.hpp"
#include "../../scripting/lua.hpp"
#include "../../terrain_filter.hpp"
#include "../../unit.hpp"
#include "../../unit_map.hpp"
#include "../../team.hpp"
#include "../../variable.hpp"

#include <boost/lexical_cast.hpp>
#include <boost/foreach.hpp>
#include <set>
#include <sstream>

namespace ai {

Expand Down
25 changes: 17 additions & 8 deletions src/ai/composite/goal.hpp
Expand Up @@ -26,20 +26,29 @@
#pragma warning(disable:4250)
#endif

//included for 'target' markers
#include "../default/contexts.hpp"

#include "component.hpp"

#include <stack>
#include <deque>
#include "global.hpp"

#include "ai/default/contexts.hpp"
#include "ai/game_info.hpp"
#include "config.hpp"

#include <boost/shared_ptr.hpp>
#include <iterator>
#include <map>
#include <set>
#include <string>
#include <utility>
#include <vector>

class terrain_filter;
namespace ai { class lua_ai_action_handler; }
namespace ai { class lua_ai_context; }
namespace ai { struct target; }

namespace ai {

class lua_ai_context;
class lua_ai_action_handler;
namespace ai {

class goal : public readonly_context_proxy, public component {
public:
Expand Down

0 comments on commit 4db2f06

Please sign in to comment.