summaryrefslogtreecommitdiff
path: root/src/settings_type.h
diff options
context:
space:
mode:
authorCharles Pigott <charlespigott@googlemail.com>2019-02-18 23:55:45 +0000
committerPeterN <peter@fuzzle.org>2019-03-16 22:30:11 +0000
commitfe448a26166dbde1933be797951f0c6329523911 (patch)
tree20d9ad7cf6bf6067a929a3d0b69375387771128c /src/settings_type.h
parentc7b5f34138cf08016239c6f5732e5ae8c0262230 (diff)
downloadopenttd-fe448a26166dbde1933be797951f0c6329523911.tar.xz
Remove: OPF
Diffstat (limited to 'src/settings_type.h')
-rw-r--r--src/settings_type.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/settings_type.h b/src/settings_type.h
index 503342545..42f8b4517 100644
--- a/src/settings_type.h
+++ b/src/settings_type.h
@@ -346,12 +346,6 @@ struct ScriptSettings {
uint32 script_max_opcode_till_suspend; ///< max opcode calls till scripts will suspend
};
-/** Settings related to the old pathfinder. */
-struct OPFSettings {
- uint16 pf_maxlength; ///< maximum length when searching for a train route for new pathfinder
- byte pf_maxdepth; ///< maximum recursion depth when searching for a train route for new pathfinder
-};
-
/** Settings related to the new pathfinder. */
struct NPFSettings {
/**
@@ -440,7 +434,6 @@ struct PathfinderSettings {
byte wait_for_pbs_path; ///< how long to wait for a path reservation.
byte path_backoff_interval; ///< ticks between checks for a free path.
- OPFSettings opf; ///< pathfinder settings for the old pathfinder
NPFSettings npf; ///< pathfinder settings for the new pathfinder
YAPFSettings yapf; ///< pathfinder settings for the yet another pathfinder
};