Commit Graph

39 Commits (6b21368bc2fdef6877ef5930f94e85719b670a76)

Author SHA1 Message Date
Rubidium 6b21368bc2 Codechange: replace FIND_FIRST_BIT/FindFirstBit2x64 with FindFirstBit 4 months ago
Kuhnovic f1e999ec59
Feature: Region-based pathfinder for ships (#10543) 5 months ago
Rubidium e3f49ee7a0 Codechange: coding style fixes 5 months ago
Loïc Guilloux 6ff0858b38
Fix #9669, cbe00ec: Only try valid reverse directions (#9672) 3 years ago
glx22 cbe00ec651 Fix: Try all possible reverse directions when a ship reaches a dead end 3 years ago
Loïc Guilloux 11dece205c
Revert 7ca1793: Using Trackdir keyed node is not required, Exitdir keyed node still have the correct trackdir (#9576) 3 years ago
Patric Stout f87fe395a7
Fix: pathfinders always tried to avoid docking tiles (even if nothing was on them) (#9522)
When coming across any docking tile (for example, all tiles around
an oilrig are docking tiles), it always at least added a penalty
of 3 times a normal tile, even when there are no ships on them.

In result, the pathfinder got suggested to always go around docking
tiles. This was most likely not the intention of the change made in
31db4f8d5e.
3 years ago
Charles Pigott 9b800a96ed
Codechange: Remove min/max functions in favour of STL variants (#8502) 3 years ago
S. D. Cloudt 13cc8a0cee Cleanup: Removed SVN headers 5 years ago
peter1138 0db31ae27f Change: Avoid caching end of ship path, to allow penalties to apply. 5 years ago
peter1138 31db4f8d5e Add: Penalty for occupied docking points. 5 years ago
peter1138 f538179878 Feature: Multi-tile docks and docking points. 5 years ago
Charles Pigott 9f3928658b Codechange: Remove Track{dir,}{Bits,}Byte types 5 years ago
Henry Wilson 7c8e7c6b6e Codechange: Use null pointer literal instead of the NULL macro 5 years ago
PeterN 6c6971fb43
Add: Road vehicle path cache. (#7261) 5 years ago
Peter Nelson 7ca1793ec4 Change: Automatically use Trackdir node key as needed if ship curve penalties differ. 5 years ago
Peter Nelson b8a0107ad1 Change: Add configurable curve penalty for ships. 5 years ago
Peter Nelson 3f327116db Change: Don't apply forbid 90 deg turn settings to ships. 5 years ago
J0an Josep a5836874ef Codechange: Use track functions. 5 years ago
Peter Nelson 81330b8d6e Change: Add path cache for ships. 5 years ago
J0anJosep d01c09fb73 Codechange: Use HasTrack(dir) to improve code readability. 6 years ago
J0anJosep 79a551a83c Codechange: Use TileAddBy(Diag)Dir when possible. 6 years ago
alberth b885d79f50 (svn r27362) -Codechange: Codestyle fixes for reference var declarations, static cast type, operator methods. 9 years ago
rubidium 0463dbdc9e (svn r26482) -Codechange: add an include that allows us to undefine/redefine "unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values 10 years ago
rubidium f669101560 (svn r26117) -Cleanup: unneeded NULL check 11 years ago
rubidium eb538da228 (svn r24964) -Fix [FS#5416]: With YAPF the docking behaviour differed per direction; now favour docking in the direction you approached 11 years ago
frosch d17ec934f5 (svn r24481) -Feature [FS#5127]: Make the pathfinder decide whether ships shall leave depots towards north or south. 12 years ago
truebrain 1c9bec1999 (svn r23640) -Fix: stop using FORCEINLINE (1/3rd of the instances were, the others were still regular inline), but make sure inline is always a 'forced' inline (I am looking at you MSVC) 13 years ago
michi_cc 45b95ed629 (svn r22801) -Feature: [YAPF] Take canal/ocean speed fraction of ships into account. 13 years ago
smatz 6e011e9e68 (svn r22348) -Codechange: split ship-specific part of yapf_node.hpp to yapf_node_ship.hpp 13 years ago
rubidium 4045429df6 (svn r21511) -Feature: vehicle lost message for ships 14 years ago
frosch 4bd32799f1 (svn r20286) -Codechange: Unify end of doxygen comments. 14 years ago
frosch ed4f806f1d (svn r20283) -Codechange: Unify start of doygen comments. 14 years ago
rubidium f67c265c6f (svn r18374) -Cleanup: remove some unused code 15 years ago
rubidium c10e953141 (svn r18373) -Codechange: unify some road pathfinder functions 15 years ago
rubidium c56c892b2c (svn r18372) -Codechange: push some extra type safety into YAPF 15 years ago
rubidium ef8cc49175 (svn r18370) -Codechange: push some constness/type strictness into the ship pathfinders 15 years ago
rubidium 76fe20cdcc (svn r18367) -Codechange: unify the ship pathfinder 'calls' 15 years ago
rubidium f52e27c688 (svn r18364) -Codechange: move the pathfinders and their related files into a separate directory 15 years ago