summaryrefslogtreecommitdiff
path: root/src/yapf
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-06-06(svn r16526) -Fix: don't cast Vehicle to RoadVehicle when it's not a RoadVehiclesmatz
2009-06-05(svn r16521) -Fix [FS#2946] (r13945): Do not access 'compatible_railtypes' ↵frosch
for road vehicles. (causing invalid reads since r16391/16392)
2009-05-24(svn r16421) -Codechange: do not unnecessarily remove constness or ↵rubidium
unnecessarily add it.
2009-05-22(svn r16393) -Codechange: move VehicleRail to Train.rubidium
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 r16390) -Codechange: move u.road to RoadVehicle.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-05-16(svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index)smatz
2009-05-16(svn r16323) -Fix [FS#2900]: desyncs due to the fact that depot searching ↵rubidium
with a maximum search depth simply does not work with YAPF's caches.
2009-05-15(svn r16312) -Codechange: unduplicate yapf (rail) cache debugging.rubidium
2009-05-15(svn r16311) -Fix: (Get|Set)TrackBits() is only valid for RAIL_TILE_NORMAL ↵frosch
and _SIGNALS.
2009-05-10(svn r16269) -Codechange: use gcc's ability to check parameters sent to ↵smatz
printf-like functions -Fix: wrong number of parameters or wrong parameter types sent to printf-like functions at several places
2009-03-30(svn r15900) -Fix (r5076): Adding settings is not enough, you also have to ↵frosch
use them.
2009-03-29(svn r15891) -Fix (r13464): YAPF used different penalties for aqueducts than ↵frosch
for other water tiles.
2009-03-15(svn r15718) -Cleanup: apply some comment coding style on the rest of the ↵rubidium
sources too
2009-03-14(svn r15711) -Codechange: lots of whitespace cleanup/fixesrubidium
2009-03-05(svn r15619) -Fix [FS#2701]: When trying to reserve a self-crossing path the ↵michi_cc
failed reservation was sometimes not cleared completely.
2009-03-04(svn r15609) -Fix: Code style...peter1138
2009-02-19(svn r15518) -Fix [FS#2631]: use distance to closest station tile as ↵rubidium
estimate for YAPF too (NPF already does so). This makes it behave 'better' with wide stations.
2009-02-08(svn r15404) -Cleanup [YAPF]: A tiny bit of const correctness.michi_cc
2009-01-31(svn r15299) -Cleanup: remove many redundant includessmatz
2009-01-29(svn r15294) -Fix: accessing of inaccessible baserubidium
2009-01-10(svn r14949) -Cleanup: pointer coding stylerubidium
2009-01-08(svn r14921) -Fix [FS#2507]: Do not try to calculate a center of a ↵frosch
train-station, when there is none.
2008-12-20(svn r14703) -Fix (r8735): [YAPF] YapfRoadVehDistanceToTile() shall not ↵frosch
abort searching at v->dest_tile, when it in fact tries to reach another tile.
2008-11-26(svn r14634) -Change: _rdtsc is defined by some platforms so we can't use ↵rubidium
that name.
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-30(svn r14421) -Codechange: rename all player variables/types to company *or* ↵rubidium
client so it is immediatelly clear which one you are working with.
2008-09-17(svn r14351) -Codechange: call CFollowTrackT::GetSingleTramBit() only if we ↵smatz
know it is a tram, so compiler doesn't generate code for trains and ships
2008-09-12(svn r14305) -Fix [FS#2294] (r5033): [YAPF] Only reserve road slots for ↵frosch
multistop when they are really reachable.
2008-09-09(svn r14286) -Fix [FS#2265]: If a change of conventional/electric rail ↵michi_cc
coincided with the start of a station platform, stale reservations could be left behind.
2008-08-11(svn r14048) -Fix (r14019) [FS#2222]: Redo the check for reserved tracks ↵rubidium
properly this time. (michi_cc)
2008-08-08(svn r14024) -Fix (r14019) [YAPP]: YAPF also skips tunnels and bridges. ↵smatz
Honor that in penalty calculations. (michi_cc)
2008-08-08(svn r14023) -Fix (r13944) [YAPP]: If YAPF encountered a dead-end that had a ↵smatz
signal on it, is could be falsely seen as a valid destination. (michi_cc)
2008-08-08(svn r14019) -Fix [FS#2205]: game crash after order skip while waiting for ↵rubidium
free path (michi_cc).
2008-08-03(svn r13985) -Fix (r13944): gcc 2.95 compilationsmatz
2008-08-02(svn r13945) -Codechange [YAPP]: Extend CFollowTrackT to not require a ↵rubidium
Vehicle when following rail. (michi_cc)
2008-08-02(svn r13944) -Add [YAPP]: Add YAPF provider to find a safe tile and reserve ↵rubidium
a path. (michi_cc)
2008-08-02(svn r13943) -Codechange [YAPP]: Reserved station tiles can now be penalized ↵rubidium
more in YAPF. This should help with spread out stations. (michi_cc)
2008-08-02(svn r13942) -Codechange [YAPP]: Add a penalty for double slips to YAPF. ↵rubidium
(michi_cc)
2008-08-02(svn r13941) -Codechange [YAPP]: Added YAPP-related penalties to YAPF. ↵rubidium
(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 r13939) -Add [YAPP]: Extend YAPF with the possibility to override the ↵rubidium
railtype info of the vehicle. (michi_cc)
2008-08-02(svn r13934) -Codechange [YAPP]: Handle through signals in the pathfinders. ↵rubidium
(michi_cc)
2008-06-11(svn r13464) -Codechange: support NewGRF Action 0x05, type 12.rubidium
2008-06-02(svn r13357) -Codechange: add constness to YAPF.rubidium
2008-05-29(svn r13325) -Codechange: split the client-side only settings from the ↵rubidium
settings stored in the savegame so there is no need to have a duplicate copy of it for new games.