summaryrefslogtreecommitdiff
path: root/src/pbs.cpp
AgeCommit message (Collapse)Author
2009-06-06(svn r16527) -Codechange: use static member functions instead of simple ↵smatz
casts when converting Vehicle to specialised vehicle types. Includes safety check
2009-05-22(svn r16392) -Codechange: move some variables (the ones that aren't caches) ↵rubidium
from VehicleRail to Train
2009-05-22(svn r16391) -Codechange: use Train instead of Vehicle where appropriate.rubidium
2009-05-22(svn r16382) -Codechange: make GetVehicleTrackdir a member function of Vehicle.rubidium
2009-05-18(svn r16349) -Codechange: rename IsPlainRailTile() to IsPlainRail(), ↵smatz
introduce shiny new IsPlainRailTile()
2009-01-31(svn r15299) -Cleanup: remove many redundant includessmatz
2009-01-06(svn r14876) -Fix [FS#2509] (r14849): Reserved path loop detection was ↵michi_cc
broken for stations. Don't set the test tile to the tile the very first iteration handles. Update the test tile instead in the loop.
2009-01-05(svn r14849) -Fix [FS#2478]: A train meeting its end could lead to an ↵michi_cc
endless loop.
2008-10-01(svn r14428) -Fix [FS#2306]: A 90-degree curve can be a safe waiting ↵michi_cc
position if they are forbidden for trains.
2008-09-07(svn r14258) -Codechange: rework the way to query the vehicle hash to make ↵rubidium
sure it always results in the same irregardless of the order of the hash-linked-list. -Fix: desync in PBS reservation following, vehicle flooding and road vehicle overtake/follow code.
2008-08-20(svn r14109) -Fix (r14107): marking reserved tile dirty is needed for ↵smatz
waypoints and stations even when patch option is disabled
2008-08-20(svn r14107) -Codechange: marking reserved tile dirty twice (and even when ↵smatz
patch option is off) is not needed
2008-08-03(svn r13974) -Fix [YAPP]: A train crash could lead to stale reservations. ↵frosch
(michi_cc)
2008-08-02(svn r13966) -Codechange [YAPP]: Bar level crossings upon path reservation. ↵rubidium
(michi_cc)
2008-08-02(svn r13965) -Add [YAPP]: Implement newgrf var 0x44 for stations (PBS ↵rubidium
reservation state). (michi_cc)
2008-08-02(svn r13956) -Add [YAPP]: Function for getting the train holding a reserved ↵rubidium
path. (michi_cc)
2008-08-02(svn r13940) -Add [YAPP]: YAPF is now able to reserve the found path. (michi_cc)rubidium
2008-08-02(svn r13929) -Codechange [YAPP]: Reserving and unreserving of single tracks ↵rubidium
is now possible. (michi_cc)
2008-08-02(svn r13928) -Add [YAPP]: Function for getting the path reservation state of ↵rubidium
any tile. (michi_cc)