diff options
author | ludde <ludde@openttd.org> | 2005-07-19 11:42:40 +0000 |
---|---|---|
committer | ludde <ludde@openttd.org> | 2005-07-19 11:42:40 +0000 |
commit | 3e97dda275f59b2bcaea44c48ceba7a0ed054d9c (patch) | |
tree | 4d3f43a36f40b9b8d244fda8f0cdb2bba4bc64ec /variables.h | |
parent | 29f6ada06a0cbf3954e9c5f61657d4ed763cee79 (diff) | |
download | openttd-3e97dda275f59b2bcaea44c48ceba7a0ed054d9c.tar.xz |
(svn r2635) Fix: [ntp/misc] Improve the old pathfinder. Changed it to A* instead of Dijkstra.
- Benchmark shows that NTP is now around 10x faster than NPF.
- Made IsTunnelTile macro to determine if a tile is a tunnel.
- Added some useful debugging functions for making tiles red / getting accurate timestamps.
- Remove old depot finding algorithm.
- Disable warning for signed/unsigned comparisons.
Diffstat (limited to 'variables.h')
-rw-r--r-- | variables.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/variables.h b/variables.h index cef95f6f5..c8d13e3fb 100644 --- a/variables.h +++ b/variables.h @@ -130,7 +130,6 @@ typedef struct Patches { byte errmsg_duration; // duration of error message byte snow_line_height; // a number 0-15 that configured snow line height bool bribe; // enable bribing the local authority - bool new_depot_finding; // use new algorithm to find a depot. bool nonuniform_stations;// allow nonuniform train stations bool always_small_airport; // always allow small airports bool realistic_acceleration; // realistic acceleration for trains |