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