summaryrefslogtreecommitdiff
path: root/src/pbs.cpp
AgeCommit message (Collapse)Author
2014-04-23(svn r26482) -Codechange: add an include that allows us to undefine/redefine ↵rubidium
"unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
2013-01-11(svn r24906) -Fix (24905): Don't trigger on path reservation for waypoints.peter1138
2013-01-11(svn r24905) -Feature(ish): Implement station randomisation triggers.peter1138
2013-01-08(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by ↵planetmaker
Eagle_rainbow)
2012-03-29(svn r24078) -Fix [FS#5093,FS#5130] (r24071): A fix that breaks all other ↵michi_cc
cases isn't really a fix. Redo it to make sure that reservations of trains entering or exiting depots are properly made and freed.
2012-03-25(svn r24071) -Fix [FS#5093]: Reversing trains while they were entering or ↵michi_cc
leaving a depot could lead to stuck trains.
2011-12-17(svn r23564) -Fix [FS#4888]: Extending a path reservation starting at a ↵michi_cc
partially reserved rail station could fail.
2011-02-07(svn r22017) -Codechange: move MarkTileDirtyByTile to viewport_func.hrubidium
2010-07-15(svn r20156) -Fix [FS#3937]: [YAPP] Converting a one-way block to a path ↵michi_cc
signal with trains on both sides could lead to a train crash.
2010-03-14(svn r19425) -Fix: [YAPP] A train on a bridge/tunnel was not always found ↵michi_cc
when checking for trains on a reserved path.
2010-02-27(svn r19272) -Doc: successfull -> successful.alberth
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)