summaryrefslogtreecommitdiff
path: root/src/pathfind.cpp
AgeCommit message (Collapse)Author
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-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.
2008-05-25(svn r13251) -Codechange: rename _patches to _settings as that is more logic.rubidium
-Codechange: move all Settings into substructs of _settings in a way that they are logically grouped.
2008-05-06(svn r12971) -Documentation: add @file in files that missed them and add ↵rubidium
something more than whitespace as description of files that don't have a description.
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 r12753) -Codechange: do not use IsDepotTypeTile() where simpler ↵smatz
function can be used
2008-04-17(svn r12745) -Codechange: a bit of naming conventions, introduce Is*DepotTile()smatz
2008-04-13(svn r12695) -Codechange: only allocate window structs when needed. Based on ↵rubidium
a patch by Alberth.
2008-04-03(svn r12545) -Cleanup: Replace some tables of magic values with already ↵frosch
existing functions.
2008-04-02(svn r12540) -Codechange: Enumify some values in original pathfinder and ↵frosch
remove an unused variable.
2008-04-01(svn r12536) -Codechange: some stack allocations were too large for NDS, so ↵rubidium
use the SmallStackSafeStackAlloc wrapper. Allocate on the stack by default and on the heap for NDS (or other devices that have a very small stack).
2008-03-07(svn r12348) -Fix (r7573): NTP skipped junction just after bridge endsmatz
2008-02-28(svn r12313) -Fix: YAPF and NTP did not apply penalty for uphill tracks on ↵frosch
steep slopes.
2008-02-20(svn r12199) -Codechange: Remove magic around the results of ↵frosch
GetTileTrackStatus().
2008-02-20(svn r12193) -Codechange: Rename a magic variable, give it a decent type, ↵frosch
and remove a 'goto'.
2008-02-04(svn r12055) -Fix: another way to fix AI trying to build road through depotssmatz
2008-01-23(svn r11968) -Codechange: remove redundant FindLengthOfTunnel(), use ↵smatz
GetTunnelBridgeLength() and/or GetOtherTunnelEnd() instead
2008-01-23(svn r11967) -Fix (r1400): MP_ROAD can have railbits too - OPF searching ↵smatz
over rail of diffent owner behind crossing
2008-01-23(svn r11966) -Fix: OPF was searching through depots and normal road stopssmatz
In effect, it also fixes old AI bugs like FS#1403 and FS#1506
2008-01-23(svn r11965) -Codechange: simplified tunnel/bridge code in TPFMode1smatz
2008-01-23(svn r11962) -Cleanup: OPF is no longer used to update signalssmatz
2008-01-23(svn r11960) -Cleanup: simplify some IsTunnel(Tile) / IsBridge(Tile) conditionssmatz
2008-01-13(svn r11834) -Codechange: only include settings_type.h if needed.rubidium
2008-01-09(svn r11800) -Codechange: move some functions to a more logical location + ↵rubidium
some type safety.
2007-12-26(svn r11701) -Codechange: removal unnecessary inclusions of map.h (and split ↵rubidium
map.h).
2007-12-21(svn r11680) -Codechange: refactor more out of openttd.h and functions.h.rubidium
2007-12-19(svn r11669) -Codechange: refactor tile.h -> tile_type.h and tile_map.hrubidium
2007-12-18(svn r11664) -Codechange: use more specific ("rail_type.h" instead of ↵rubidium
"rail.h" that includes way more than only "rail_type.h") includes at some places.
2007-12-16(svn r11649) -Codechange: some code can be simplified thanks to changes in ↵smatz
r11642
2007-12-16(svn r11644) -Codechange: merge some functions from tunnel_map.h and ↵smatz
bridge_map.h into tunnelbridge_map.h
2007-11-26(svn r11527) -Codechange: Split the bitmath functions of to their own filesskidd13
2007-11-26(svn r11526) -Codechange: Rename the function delta fitting to the naming styleskidd13
2007-11-20(svn r11483) -Codechange: Replace codeparts with functions that do the same ↵skidd13
to increase readability
2007-11-19(svn r11481) -Codechange: Rename the HASBIT function to fit with the naming ↵skidd13
style
2007-11-04(svn r11383) -Codechange: fixed all the mess around KillFirstBit (tnx to ↵truelight
Rubidium and skidd13)
2007-06-26(svn r10346) -Fix: Forgotten "else" in r10345 (thanks peter1138).matthijs
2007-06-26(svn r10345) -Fix [FS#290]: Make OPF handle coming out of a tunnel as well ↵matthijs
as going into a tunnel, to support road vehicles looking back when finding a depot while in a tunnel. -Fix [FS#290]: Make NPF look back when finding a depot for road vehicles.
2007-06-26(svn r10336) -Fix [FS#910]: reaching the end of a line in certain cases ↵peter1138
incorrectly stopped signal updates
2007-05-24(svn r9914) -Codechange: prepare GTTS and the pathfinders to handle multiple ↵rubidium
road types on a single tile.
2007-04-18(svn r9672) -Cleanup: lots of coding style fixes around operands.rubidium
2007-04-12(svn r9609) -Codechange: Move some function prototypes out of functions.h ↵maedhros
and into landscape.h, and add a few where they didn't exist.
2007-03-21(svn r9391) -Documentation : correct Doxygen of comments and @file ↵belugas
inclusion. Time for P and Q files
2007-03-07(svn r9051) -Codechange: typedef [enum|struct] Y {} X; -> [enum|struct] X {};rubidium
2007-02-27(svn r8935) -Codechange: unification of track type between road and rail ↵rubidium
tiles, unification of ground type between normal rail tiles and depots/waypoints and removing the need for RailTileSubType.
2007-02-14(svn r8735) -Feature: drive-through road stops made possible by the hard ↵rubidium
work of mart3p.
2007-01-19(svn r8276) -Fixtron
Change the signature of Swap() to be less error prone, i.e. pass the variables to be swapped by reference instead of passing pointers to the variables. Just do Swap(x, y) instead of Swap(&x, &y). This prevents accidents when the variables are pointers.
2007-01-11(svn r8052) - Codechange: RemoveFirstTrack() and RemoveFirstTrackdir() now ↵KUDr
accept pointer to TrackBits/TrackdirBits instead of reference.
2007-01-10(svn r8038) -Merge: the cpp branch. Effort of KUDr, Celestar, glx, Smoovius, ↵rubidium
stillunknown and pv2b.
2007-01-10(svn r8033) [cpp] - Prepare for merge from branches/cpp (all .c files ↵KUDr
renamed to .cpp)