(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:
rubidium
2010-01-15 16:41:15 +00:00
parent f380a7239d
commit 82fc28f77f
295 changed files with 308 additions and 351 deletions

View File

@@ -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;

View File

@@ -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