Age | Commit message (Collapse) | Author |
|
|
|
globally via openttd.h
|
|
|
|
asserts to be able to debug an assert error.
|
|
instead of Dijkstra.
- Benchmark shows that NTP is now around 10x faster than NPF.
- Made IsTunnelTile macro to determine if a tile is a tunnel.
- Added some useful debugging functions for making tiles red / getting accurate timestamps.
- Remove old depot finding algorithm.
- Disable warning for signed/unsigned comparisons.
|
|
structs, this doesn't change the saved format for now. It's a stepping stone for further changes.
|
|
r2553 unused array (ludde)
|
|
checking the railtype.
|
|
old pathfinder.
- Penalties for red signals and for slopes.
- Increased the search depth to work better with large train networks.
|
|
funciton IsCompatibleRail().
- Codechange: [NPF] Check the railtype along a route against the engine type instead of against the previouse tile. This clears the way for electriefied rails.
- Add: [NPF] [ 1209644 ] A penalty for crossings (peter1138)
|
|
|
|
TileVirtXY
|
|
|
|
some bogus reads of _map_owner
|
|
|
|
single tile from map.h and put them into a seperate file tile.h
|
|
them into inline functions and add some asserts
|
|
TPFMode 1
|
|
|
|
the latter into inline functions names Tile[XY]
|
|
TrueLight)
|
|
|
|
Move _tileoffs_by_dir to map.[ch] and encapsulate it in TileOffsByDir()
|
|
|
|
correctly for
bridges (the middle-parts don't have any owner)
|
|
possible route. This also makes sure signals don't show red because
there is a train on the track of an other owner.
|
|
map.c and map.h
|
|
- "inline" must before the return type (and after "static")
- Initialise all struct members, not just some of them
- Remove (one) spurious semicolon
|
|
|
|
Thanks to lvoge
|
|
|
|
(blathijs)
-Fix: Pathfinding under bridges bug for ships introduced in r160 fixed (Darkvater)
|
|
|
|
-Fix: some minor fixes around GetTileTrackStatus (blathijs)
|
|
|
|
|
|
|