summaryrefslogtreecommitdiff
path: root/src/yapf
AgeCommit message (Collapse)Author
2009-09-01(svn r17357) -Codechange: some compilers complain about implicit conversion ↵smatz
from NULL to bool
2009-08-31(svn r17335) -Fix (r17333): don't return a pointer as booleanrubidium
2009-08-31(svn r17333) -Codechange: make the road pathfinder 'interface' like the one ↵rubidium
for the rail pathfinder -Fix [FS#3057]: road vehicles forgetting their servicing order when the path takes them away (in bird distance) from their destination first
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-07-31(svn r17001) -Codechange: replace some more assert(0)s to NOT_REACHED() and ↵rubidium
document why they (assert(0)) have to stay for the remaining cases.
2009-07-24(svn r16940) -Codechange: make the pathfinders behave the same when finding ↵rubidium
waypoints or stations, i.e. don't force exactly one destination tile for a waypoint
2009-07-24(svn r16939) -Codechange: s/RailwayStation/RailStation/ to unify the way ↵rubidium
it's written.
2009-07-22(svn r16914) -Codechange: split Station and BaseStation into different filesrubidium
2009-07-22(svn r16912) -Codechange: split waypoint.h in waypoint_base.h and ↵rubidium
waypoint_func.h
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-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-07-20(svn r16894) -Codechange: Add [Specialised]Vehicle::Last().frosch
2009-06-28(svn r16690) -Fix [FS#3002]: Missing debug string for ESRB_SAFE_TILE in YAPF ↵michi_cc
debugging helper.
2009-06-24(svn r16646) -Codechange: rename GetDepotByTile() to Depot::GetByTile()smatz
2009-06-24(svn r16643) -Codechange: replace GetStationByTile() by Station::GetByTile()smatz
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)