(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header
This commit is contained in:
@@ -10,12 +10,10 @@
|
||||
/** @file pathfind.cpp Implementation of the oldest supported pathfinder. */
|
||||
|
||||
#include "../../stdafx.h"
|
||||
#include "../../debug.h"
|
||||
#include "../../tunnelbridge_map.h"
|
||||
#include "../../tunnelbridge.h"
|
||||
#include "../../ship.h"
|
||||
#include "../../core/random_func.hpp"
|
||||
#include "opf_ship.h"
|
||||
|
||||
struct RememberData {
|
||||
uint16 cur_length;
|
||||
|
||||
@@ -12,6 +12,11 @@
|
||||
#ifndef OPF_SHIP_H
|
||||
#define OPF_SHIP_H
|
||||
|
||||
#include "../../direction_type.h"
|
||||
#include "../../tile_type.h"
|
||||
#include "../../track_type.h"
|
||||
#include "../../vehicle_type.h"
|
||||
|
||||
/**
|
||||
* Finds the best path for given ship using OPF.
|
||||
* @param v the ship that needs to find a path
|
||||
|
||||
Reference in New Issue
Block a user