alberth
9f3845227e
(svn r21273) -Codechange: Return values should start at the same line.
14 years ago
rubidium
5a0865b294
(svn r21271) -Change: use the last red instead of last red exit penalty for making sure other waypoint entries are evaluated as well when they are occupied, e.g. when there are no signals before the waypoint but a train just beyond the waypoint is stopped (like for stations)
14 years ago
terkhen
53d59b2882
(svn r21121) -Fix (r21100): Use the cached max speed when calculating YAPF penalties for road vehicles.
14 years ago
michi_cc
be4dfdd709
(svn r21107) -Fix: Don't use the maximum track speed where the maximum vehicle speed is meant.
14 years ago
alberth
063931d435
(svn r21060) -Doc: Improved wording of comments (mostly by __ln__)
14 years ago
rubidium
360d6daf34
(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers
14 years ago
yexo
8baf3c7b53
(svn r20475) -Fix (r20474): also remove the include of crc32.hpp
14 years ago
frosch
c18839704b
(svn r20286) -Codechange: Unify end of doxygen comments.
14 years ago
frosch
5b86c79fce
(svn r20283) -Codechange: Unify start of doygen comments.
14 years ago
rubidium
8c85b4ce3d
(svn r20281) -Codechange: unify case scope closure + break coding style
14 years ago
alberth
137e2b64c9
(svn r20211) -Codechange: Indented code should have curly braces around it.
14 years ago
michi_cc
1a85f15b0b
(svn r19896) -Fix [FS#3803] (r18648): [YAPP] Inform the pathfinder as well about the fact that the backside of an one-way path signal can be a safe waiting point.
14 years ago
rubidium
aefe28bd1c
(svn r19873) -Fix [FS#3817]: if the (guessed initial) destination tile of a road stop wasn't a road stop but was a T-junction or turn, the road vehicles would jump around in circles
14 years ago
rubidium
a4bc80417b
(svn r19810) -Fix: [YAPF] Improperly formatted (global) constant
14 years ago
frosch
a4413f4cf6
(svn r19670) -Codechange: Add CeilDiv() and RoundDiv() to simplify integer divisions with rounding.
14 years ago
smatz
d2e99657fa
(svn r19507) -Codechange: remove semicolon after DECLARE_POSTFIX_INCREMENT and DECLARE_ENUM_AS_BIT_SET
14 years ago
yexo
5e48066824
(svn r19247) -Codechange: Rename methods to fit better to common style (skidd13)
15 years ago
yexo
4b6c04585e
(svn r19242) -Codechange: Perfer pointer instead of reference (skidd13)
...
-Cleanup: merge PopHead() and RemoveHead() into Shift()
15 years ago
yexo
d06407b06c
(svn r19161) -Codechange: make the default size of the open list used for yapf a lot lower to reduce memory usage
15 years ago
yexo
0f6e4a5cce
(svn r19160) -Codechange: Enlarge a CBinaryHeapT if the heap is full instead of dropping the added item
...
-Fix: CBinaryHeapT::CheckConsistency compared pointers instead of the actual items (skidd13)
15 years ago
rubidium
5750163213
(svn r19141) -Fix [FS#3619] (r18421): look-ahead for multitile waypoints 'made up' data that shouldn't go into the cache, causing desyncs in MP
15 years ago
frosch
556f449f0b
(svn r18826) -Codechange: Unifiy return value of (SmallArray|FixedSizeArray)::(Append|AppendC) with other containers. (skidd13)
15 years ago
frosch
75b7bb4231
(svn r18822) -Codechange: Rename YAPF-related container classes and their members to better fit other container classes. (skidd13)
15 years ago
rubidium
9467b7c6d6
(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header
15 years ago
rubidium
43a5dd8f86
(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
15 years ago
rubidium
899b3db66b
(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.
15 years ago
rubidium
c616b8cc0c
(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.
15 years ago
rubidium
5e2a1a46ed
(svn r18420) -Codechange: split YAPF's track follower from the actual YAPF code
15 years ago
rubidium
0fed86a779
(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
15 years ago
rubidium
5dfcf55384
(svn r18394) -Fix (r18373): one couldn't manually send a RV to a depot... but why compilers haven't complained about this?
15 years ago
rubidium
e4dd60d428
(svn r18388) -Codechange: move entering/leaving of road stops to functions of RoadStop
15 years ago
rubidium
6278f0b8a9
(svn r18385) -Cleanup: remove the now unneeded multistop slot management code
15 years ago
rubidium
b7b540c169
(svn r18383) -Fix (r18375): triggering NOT_REACHED for some waypoints
15 years ago
rubidium
2f640cb195
(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.
15 years ago
frosch
992bc6c345
(svn r18381) -Codechange: Add RoadVehicle::IsBus() to simplify some stuff.
15 years ago
rubidium
4ddbe1793e
(svn r18379) -Codechange: move the cache updating function to its own header to reduce the include 'pathfinder' dependencies
15 years ago
rubidium
720875fd55
(svn r18378) -Codechange: move the pathfinder 'length' constants to pathfinder_type.h
15 years ago
rubidium
31e1c606fd
(svn r18376) -Codechange: simplify setting the destination
15 years ago
rubidium
f602955600
(svn r18375) -Codechange: use Station::GetTileArea to get the tile area for CalcClosestStationTile
15 years ago
rubidium
1503951313
(svn r18374) -Cleanup: remove some unused code
15 years ago
rubidium
3eaf87992e
(svn r18373) -Codechange: unify some road pathfinder functions
15 years ago
rubidium
be2c6f2167
(svn r18372) -Codechange: push some extra type safety into YAPF
15 years ago
rubidium
1c2214b430
(svn r18371) -Codechange: unify calling of the train pathfinders
15 years ago
rubidium
ec68bd67e3
(svn r18370) -Codechange: push some constness/type strictness into the ship pathfinders
15 years ago
rubidium
46e9043b14
(svn r18368) -Fix: alignment of comment and 'add' some missing comments
15 years ago
rubidium
2341c2e283
(svn r18367) -Codechange: unify the ship pathfinder 'calls'
15 years ago
rubidium
2f3053508d
(svn r18364) -Codechange: move the pathfinders and their related files into a separate directory
15 years ago