summaryrefslogtreecommitdiff
path: root/src/yapf/follow_track.hpp
AgeCommit message (Collapse)Author
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-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-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 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-18(svn r16349) -Codechange: rename IsPlainRailTile() to IsPlainRail(), ↵smatz
introduce shiny new IsPlainRailTile()
2009-03-15(svn r15718) -Cleanup: apply some comment coding style on the rest of the ↵rubidium
sources too
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-08-11(svn r14048) -Fix (r14019) [FS#2222]: Redo the check for reserved tracks ↵rubidium
properly this time. (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-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 r13939) -Add [YAPP]: Extend YAPF with the possibility to override the ↵rubidium
railtype info of the vehicle. (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-04-17(svn r12754) -Codechange: split depot.h into depot_map.h, depot_func.h and ↵rubidium
depot_base.h and remove quite a lot of unneeded (before this) includes of depot.h.
2008-04-17(svn r12745) -Codechange: a bit of naming conventions, introduce Is*DepotTile()smatz
2008-02-25(svn r12252) -Fix [FS#1801]: Broken FollowTrack_t related functions (thanks ↵KUDr
michi_cc). -Fixed by removing FollowTrack_t structure and all related functions. Their purpose was to allow to call track followers from C code. They were: 1. never used 2. obsoleted by switching to C++
2008-02-20(svn r12199) -Codechange: Remove magic around the results of ↵frosch
GetTileTrackStatus().
2008-02-14(svn r12141) -Codechange: Introduce IsNormalRoad[Tile](), ↵frosch
IsRoadDepot[Tile]() and HasTileRoadType(); and use them.
2008-02-05(svn r12066) -Codechange: Rename GetBridge for the more common GetBridgeSpecbelugas
-Codechange: Remove direct access to the _bridge table in favor of the above mentioned GetBridgeSpec -Codechange: Rationalize the use of Bridge type pointer
2008-02-01(svn r12035) -Fix [FS#1702]: Teach YAPF where trams can reverse, and where not.frosch
2008-01-23(svn r11968) -Codechange: remove redundant FindLengthOfTunnel(), use ↵smatz
GetTunnelBridgeLength() and/or GetOtherTunnelEnd() instead
2008-01-23(svn r11960) -Cleanup: simplify some IsTunnel(Tile) / IsBridge(Tile) conditionssmatz
2007-12-16(svn r11644) -Codechange: merge some functions from tunnel_map.h and ↵smatz
bridge_map.h into tunnelbridge_map.h
2007-11-19(svn r11481) -Codechange: Rename the HASBIT function to fit with the naming ↵skidd13
style
2007-07-09(svn r10492) -Fix [YAPF, r10491]: commands with no effect (glx)KUDr
2007-07-09(svn r10489) -Codechange [YAPF]: FollowTrack_t now has new data member - ↵KUDr
m_err. It indicates the reason why the given track/trackdir can't be followed when method CFollowTrackT<>::Follow() returned false.
2007-06-24(svn r10301) -Fix [FS#901, YAPF]: another assert violation in some special ↵KUDr
cases (immeR)
2007-05-24(svn r9914) -Codechange: prepare GTTS and the pathfinders to handle multiple ↵rubidium
road types on a single tile.
2007-03-08(svn r9068) -Codechange: capitalize the VEH_Train etc. enums to match the ↵rubidium
coding style (and rest of the code).
2007-02-25(svn r8899) -Fixtron
Remove the unused second parameter from GetTileRailType()
2007-02-23(svn r8857) -Documentation: Added some doxygen @file tags, repaired others ↵celestar
(the @file tag MUST be found before any line of code, that includes preprocessor directives).
2007-02-14(svn r8735) -Feature: drive-through road stops made possible by the hard ↵rubidium
work of mart3p.
2007-02-13(svn r8709) -Fix/Codechange: Rename the function GetStationPlatforms into ↵celestar
GetPlatformLength because that is what it really does. Overload it because there is already a GetPlatformLength (one gives the length of the whole platform, the other gives the remaining length in a given direction). Turned both functions into methods of Station. While messing around with it, fix a problem where loading times for overhanging trains are miscomputed.
2007-01-24(svn r8392) -Fixtron
Use HASBIT() instead of implementing it manually
2007-01-10(svn r8038) -Merge: the cpp branch. Effort of KUDr, Celestar, glx, Smoovius, ↵rubidium
stillunknown and pv2b.
2007-01-02(svn r7759) -Merge: makefile rewrite. This merge features:rubidium
- A proper ./configure, so everything needs to be configured only once, not for every make. - Usage of makedepend when available. This greatly reduces the time needed for generating the dependencies. - A generator for all project files. There is a single file with sources, which is used to generate Makefiles and the project files for MSVC. - Proper support for OSX universal binaries. - Object files for non-MSVC compiles are also placed in separate directories, making is faster to switch between debug and release compiles and it does not touch the directory with the source files. - Functionality to make a bundle of all needed files for for example a nightly or distribution of a binary with all needed GRFs and language files. Note: as this merge moves almost all files, it is recommended to make a backup of your working copy before updating your working copy.