Commit Graph

26 Commits

Author SHA1 Message Date
rubidium c5159055e3 (svn r18535) -Fix [FS#2722]: don't account for path reservation costs when entering a signal block via a 'block' signal. This way you won't get double penalties, both red signals and reservation costs, for the block signalled tracks 2009-12-19 15:30:24 +00:00
rubidium b3e3f0b0ee (svn r18533) -Fix: don't refer, in the comments, to a long renamed function 2009-12-19 09:23:19 +00:00
rubidium 472e5501fa (svn r18481) -Codechange: unify the curve pathfinder penalty defaults; 0.01 tile won't make a dent, 3 tiles might be a bit too much
-Feature-ish: make maximum pathfinder penalties for finding depots customisable, also increase it slightly to 20 tiles worth of penalties.
2009-12-13 10:48:44 +00:00
rubidium d6e73ea1ce (svn r18421) -Fix [FS#3244]: pathfinders wouldn't consider the 'other' reachable waypoint tile if the closest one is free but there is no safe waiting point directly after it. Now check for a free safe waiting point beyond the waypoint unless there are junctions before the first safe waiting point. 2009-12-07 08:47:10 +00:00
rubidium ad6d8c1f46 (svn r18420) -Codechange: split YAPF's track follower from the actual YAPF code 2009-12-07 08:41:18 +00:00
rubidium fac2f8ce1a (svn r18404) -Codechange: link drive through stops better together
-Feature: make penalty for road stop occupancy user configurable
-Fix [FS#1944]: road vehicles would not pick an empty drive through stop. Now they will *if* the penalty for driving around is less than the occupancy penalty
-Fix [FS#1495]: long (articulated) road vehicles could block loading of others when the following road vehicle already got 'permission' to go to the next bay even when it could not reach it
-Change: improve the throughput of the drive through road stops by letting them stop closer together
2009-12-04 20:52:19 +00:00
rubidium f5f6fc16f6 (svn r18394) -Fix (r18373): one couldn't manually send a RV to a depot... but why compilers haven't complained about this? 2009-12-04 00:46:22 +00:00
rubidium aa40d8e3ad (svn r18388) -Codechange: move entering/leaving of road stops to functions of RoadStop 2009-12-02 23:53:15 +00:00
rubidium 865374eeb6 (svn r18386) -Codechange: make the NPF functions static and remove unused functions 2009-12-02 18:34:10 +00:00
rubidium 0ef0e13795 (svn r18385) -Cleanup: remove the now unneeded multistop slot management code 2009-12-02 18:18:56 +00:00
rubidium 66da3cbb20 (svn r18383) -Fix (r18375): triggering NOT_REACHED for some waypoints 2009-12-02 18:12:24 +00:00
rubidium 4ec4fdff36 (svn r18382) -Codechange: make road vehicles behave more like trains 'around' stations and use pathfinder penalties to determine to which 'part' to go. Note that the pathfinder penalties for drive through stops are currently only looking at the occupation of the first in a row, but this is to change later on. 2009-12-02 17:56:02 +00:00
frosch 59f9163e37 (svn r18381) -Codechange: Add RoadVehicle::IsBus() to simplify some stuff. 2009-12-02 17:37:02 +00:00
rubidium 9426f2b173 (svn r18379) -Codechange: move the cache updating function to its own header to reduce the include 'pathfinder' dependencies 2009-12-02 16:48:55 +00:00
rubidium d58e4084de (svn r18378) -Codechange: move the pathfinder 'length' constants to pathfinder_type.h 2009-12-02 16:38:33 +00:00
rubidium 1c65150d6d (svn r18376) -Codechange: simplify setting the destination 2009-12-02 14:44:32 +00:00
rubidium a1e28925e3 (svn r18375) -Codechange: use Station::GetTileArea to get the tile area for CalcClosestStationTile 2009-12-02 14:41:04 +00:00
rubidium f67c265c6f (svn r18374) -Cleanup: remove some unused code 2009-12-02 10:47:18 +00:00
rubidium c10e953141 (svn r18373) -Codechange: unify some road pathfinder functions 2009-12-02 10:44:38 +00:00
rubidium c56c892b2c (svn r18372) -Codechange: push some extra type safety into YAPF 2009-12-02 10:13:49 +00:00
rubidium 9165c195b9 (svn r18371) -Codechange: unify calling of the train pathfinders 2009-12-02 09:57:17 +00:00
rubidium ef8cc49175 (svn r18370) -Codechange: push some constness/type strictness into the ship pathfinders 2009-12-02 09:31:38 +00:00
rubidium 9d5ff5def0 (svn r18368) -Fix: alignment of comment and 'add' some missing comments 2009-12-02 00:01:07 +00:00
rubidium 76fe20cdcc (svn r18367) -Codechange: unify the ship pathfinder 'calls' 2009-12-01 23:56:04 +00:00
rubidium 291f6490c6 (svn r18366) -Codechange: move the OPF ship pathfinder 'magic' that was in ship_cmd.cpp to the pathfinder code itself 2009-12-01 23:22:41 +00:00
rubidium f52e27c688 (svn r18364) -Codechange: move the pathfinders and their related files into a separate directory 2009-12-01 22:45:39 +00:00