mirror of https://github.com/OpenTTD/OpenTTD.git
Cleanup: Move remaining NPF files into pathfinder directory
This commit is contained in:
parent
d7fd2a9058
commit
bd121aa59f
|
@ -30,7 +30,7 @@
|
|||
#include "core/random_func.hpp"
|
||||
#include "object_base.h"
|
||||
#include "company_func.h"
|
||||
#include "pathfinder/npf/aystar.h"
|
||||
#include "pathfinder/aystar.h"
|
||||
#include "saveload/saveload.h"
|
||||
#include "framerate_type.h"
|
||||
#include "landscape_cmd.h"
|
||||
|
|
|
@ -1,8 +1,11 @@
|
|||
add_subdirectory(npf)
|
||||
add_subdirectory(yapf)
|
||||
|
||||
add_files(
|
||||
aystar.h
|
||||
aystar.cpp
|
||||
follow_track.hpp
|
||||
queue.h
|
||||
queue.cpp
|
||||
pathfinder_func.h
|
||||
pathfinder_type.h
|
||||
water_regions.h
|
||||
|
|
|
@ -1,6 +0,0 @@
|
|||
add_files(
|
||||
aystar.cpp
|
||||
aystar.h
|
||||
queue.cpp
|
||||
queue.h
|
||||
)
|
|
@ -11,7 +11,7 @@
|
|||
#define PATHFINDER_TYPE_H
|
||||
|
||||
#include "../tile_type.h"
|
||||
#include "npf/aystar.h"
|
||||
#include "aystar.h"
|
||||
|
||||
/** Length (penalty) of one tile with YAPF */
|
||||
static const int YAPF_TILE_LENGTH = 100;
|
||||
|
|
Loading…
Reference in New Issue