rubidium
4d5dbf5170
(svn r22410) -Document: some more bits ;)
2011-05-02 16:14:23 +00:00
smatz
0c55cbfa73
(svn r22350) -Change: make YAPF hash tables much smaller, it should improve performance significantly (about 15%)
2011-04-19 18:12:47 +00:00
smatz
6e011e9e68
(svn r22348) -Codechange: split ship-specific part of yapf_node.hpp to yapf_node_ship.hpp
2011-04-19 15:00:11 +00:00
alberth
1dbc0a20be
(svn r22144) -Codechange: Unify 'while (true)' to 'for (;;)'
2011-02-25 21:53:43 +00:00
rubidium
faf5d899f7
(svn r22017) -Codechange: move MarkTileDirtyByTile to viewport_func.h
2011-02-07 22:29:47 +00:00
rubidium
fd94ed3009
(svn r21996) -Fix [FS#4472]: [YAPF] Under some circumstances vehicles could be lost
2011-02-06 15:01:52 +00:00
rubidium
7645c5ac43
(svn r21815) -Fix [FS#3908]: [YAPF] Apply a pathfinder penalty for back of one-way path signals so those aren't preferred over other possibilities
2011-01-15 22:40:54 +00:00
terkhen
679cd3c21b
(svn r21803) -Cleanup: Remove unnecessary semicolons.
2011-01-15 15:36:58 +00:00
smatz
aa4f269f3e
(svn r21652) -Cleanup: one semicolon is enough
2010-12-28 14:22:51 +00:00
rubidium
ade19e5242
(svn r21651) -Fix [FS#4338] (r21229): infinite loop in the road pathfinder due to bouncing around in an "one way" trap; two one ways pointing towards eachother making it impossible to leave
2010-12-27 22:32:47 +00:00
alberth
67cd2cd6be
(svn r21594) -Codechange: Whitespace fixes in ifndef/define lines.
2010-12-22 11:24:38 +00:00
michi_cc
e744b97ec8
(svn r21524) -Fix [FS#4302]: Do not apply the last signal red pathfinder penalty when the signal is a path signal.
2010-12-15 14:33:24 +00:00
terkhen
48b7916458
(svn r21521) -Codechange: Unify some cached values that were present in both road vehicles and trains.
2010-12-14 21:33:53 +00:00
rubidium
4045429df6
(svn r21511) -Feature: vehicle lost message for ships
2010-12-13 21:56:40 +00:00
rubidium
6bc002ad74
(svn r21510) -Feature [FS#1956]: vehicle lost message for road vehicles
2010-12-13 21:56:25 +00:00
rubidium
b05d2675fc
(svn r21509) -Codechange: rename the rail pathfinders "path_not_found" parameter to "path_found" and remove the ! where the variables are set / read
2010-12-13 21:55:59 +00:00
alberth
ab50f74d7f
(svn r21273) -Codechange: Return values should start at the same line.
2010-11-20 15:44:24 +00:00
rubidium
3ca5951478
(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)
2010-11-20 14:34:57 +00:00
terkhen
e08aa7e8e6
(svn r21121) -Fix (r21100): Use the cached max speed when calculating YAPF penalties for road vehicles.
2010-11-09 17:36:40 +00:00
michi_cc
b26b8b5b2a
(svn r21107) -Fix: Don't use the maximum track speed where the maximum vehicle speed is meant.
2010-11-07 13:35:12 +00:00
alberth
7e48d85104
(svn r21060) -Doc: Improved wording of comments (mostly by __ln__)
2010-10-30 17:51:07 +00:00
rubidium
30f2afac9b
(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers
2010-08-26 22:01:16 +00:00
yexo
53811d79c5
(svn r20475) -Fix (r20474): also remove the include of crc32.hpp
2010-08-12 22:08:45 +00:00
frosch
4bd32799f1
(svn r20286) -Codechange: Unify end of doxygen comments.
2010-08-01 19:44:49 +00:00
frosch
ed4f806f1d
(svn r20283) -Codechange: Unify start of doygen comments.
2010-08-01 19:22:34 +00:00
rubidium
e356cb9405
(svn r20281) -Codechange: unify case scope closure + break coding style
2010-08-01 18:53:30 +00:00
alberth
be6c058424
(svn r20211) -Codechange: Indented code should have curly braces around it.
2010-07-24 10:14:39 +00:00
michi_cc
f3b56340c2
(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.
2010-05-26 05:24:58 +00:00
rubidium
d8d37466af
(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
2010-05-21 15:53:02 +00:00
rubidium
dc149021be
(svn r19810) -Fix: [YAPF] Improperly formatted (global) constant
2010-05-13 09:11:27 +00:00
frosch
2e90f7f8b9
(svn r19670) -Codechange: Add CeilDiv() and RoundDiv() to simplify integer divisions with rounding.
2010-04-18 14:56:05 +00:00
smatz
53aaabe6e9
(svn r19507) -Codechange: remove semicolon after DECLARE_POSTFIX_INCREMENT and DECLARE_ENUM_AS_BIT_SET
2010-03-23 22:25:43 +00:00
yexo
1a89a5fc92
(svn r19247) -Codechange: Rename methods to fit better to common style (skidd13)
2010-02-25 11:52:04 +00:00
yexo
dd03cd54ee
(svn r19242) -Codechange: Perfer pointer instead of reference (skidd13)
...
-Cleanup: merge PopHead() and RemoveHead() into Shift()
2010-02-25 11:48:50 +00:00
yexo
3a36964734
(svn r19161) -Codechange: make the default size of the open list used for yapf a lot lower to reduce memory usage
2010-02-18 18:04:02 +00:00
yexo
1abc0db336
(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)
2010-02-18 14:23:18 +00:00
rubidium
3626eb340e
(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
2010-02-15 23:55:04 +00:00
frosch
6465f02fba
(svn r18826) -Codechange: Unifiy return value of (SmallArray|FixedSizeArray)::(Append|AppendC) with other containers. (skidd13)
2010-01-16 14:22:19 +00:00
frosch
c7dafb9a26
(svn r18822) -Codechange: Rename YAPF-related container classes and their members to better fit other container classes. (skidd13)
2010-01-16 13:52:24 +00:00
rubidium
82fc28f77f
(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header
2010-01-15 16:41:15 +00:00
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
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
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