summaryrefslogtreecommitdiff
path: root/src/pbs.cpp
AgeCommit message (Collapse)Author
2010-01-15(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, ↵rubidium
if a header require a header make it include that header
2009-12-27(svn r18648) -Fix/Feature [FS#3430-ish]: [YAPP] Treat the backside of an ↵michi_cc
one-way path signals as a safe waiting point.
2009-12-27(svn r18647) -Fix: [YAPP] A train inside a station was not always found when ↵michi_cc
checking for trains on a reserved path.
2009-12-07(svn r18420) -Codechange: split YAPF's track follower from the actual YAPF coderubidium
2009-12-03(svn r18392) -Fix (r13956)[FS#3345]: [YAPP] Trains on bridges were not ↵frosch
found, when searching for the origin of a reservation. (Hirundo)
2009-12-01(svn r18364) -Codechange: move the pathfinders and their related files into ↵rubidium
a separate directory
2009-10-04(svn r17701) -Codechange: don't start line with a space if it's not inside ↵smatz
comment
2009-10-04(svn r17693) -Cleanup: remove some unneeded includesrubidium
2009-09-19(svn r17570) -Fix: a number of Doxygen warnings about missing parameters, ↵rubidium
which were sometimes missing and sometimes just typos
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-07-24(svn r16939) -Codechange: s/RailwayStation/RailStation/ to unify the way ↵rubidium
it's written.
2009-07-24(svn r16938) -Codechange: introduce helper function to tell whether a tile ↵rubidium
is either a rail station or rail waypoint tile
2009-07-22(svn r16909) -Fix [FS#2996]: NewGRF stations would be triggering assertions ↵rubidium
all over the place when using the more advanced station types. -Change: make (rail) waypoints sub classes of 'base stations', make buoys waypoints and unify code between them where possible.
2009-07-22(svn r16908) -Codechange: s/DepotWaypointReservation/DepotReservation/rubidium
2009-07-21(svn r16907) -Codechange: make a more clear distinction between reservation ↵rubidium
functions that return a bool and that return TrackBits; GetRailStationReservation vs GetRailwayStationReservation, which one returns the bool and which one the TrackBits?
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)