Henry Wilson
|
7c8e7c6b6e
|
Codechange: Use null pointer literal instead of the NULL macro
|
2019-04-10 23:22:20 +02:00 |
PeterN
|
6c6971fb43
|
Add: Road vehicle path cache. (#7261)
|
2019-03-08 23:52:45 +00:00 |
Peter Nelson
|
7ca1793ec4
|
Change: Automatically use Trackdir node key as needed if ship curve penalties differ.
|
2019-03-08 16:52:08 +01:00 |
Peter Nelson
|
b8a0107ad1
|
Change: Add configurable curve penalty for ships.
|
2019-03-08 16:52:08 +01:00 |
Peter Nelson
|
3f327116db
|
Change: Don't apply forbid 90 deg turn settings to ships.
|
2019-03-03 20:59:44 +01:00 |
J0an Josep
|
a5836874ef
|
Codechange: Use track functions.
|
2019-01-26 22:55:12 +00:00 |
Peter Nelson
|
81330b8d6e
|
Change: Add path cache for ships.
|
2019-01-19 23:11:17 +00:00 |
Juanjo!
|
1db66a285e
|
Codechange: [YAPF] Stop looking for an automatic servicing road depot when the cost of a path exceeds max. penalty.
|
2019-01-06 16:47:45 +01:00 |
Charles Pigott
|
b5028efc1f
|
Fix: Protect against a few out of bounds or uninitialised usage errors
|
2018-10-31 12:41:49 +01:00 |
Charles Pigott
|
f5b1115039
|
Doc: Lots and lots of doxymentation fixes
|
2018-10-31 12:35:54 +01:00 |
J0anJosep
|
d01c09fb73
|
Codechange: Use HasTrack(dir) to improve code readability.
|
2018-06-27 23:14:30 +02:00 |
J0anJosep
|
31ac11bddb
|
Codechange: Increase readability of track functions and pathfinders.
|
2018-06-27 23:14:30 +02:00 |
J0anJosep
|
79a551a83c
|
Codechange: Use TileAddBy(Diag)Dir when possible.
|
2018-04-30 18:55:04 +02:00 |
Patric Stout
|
17bd580630
|
Remove: NO_DEBUG_MESSAGES was only read and setting it broke compilation (#6703)
Given any speed issue cannot be attributed to checking for _debug_NNN_level, removing this is a safe action
This fixes #6652.
|
2018-04-11 22:07:21 +02:00 |
frosch
|
b4b98e5165
|
(svn r27893) -Codechange: Use fallthrough attribute. (LordAro)
|
2017-08-13 18:38:42 +00:00 |
frosch
|
35d8c37102
|
(svn r27885) -Cleanup (r27844): ESR_MAX_COST_EXCEEDED and ESR_PATH_TOO_LONG meant the same thing, but only one was used. Keep PATH_TOO_LONG since it has the better documentation.
|
2017-06-22 16:57:06 +00:00 |
peter1138
|
bf4499c643
|
(svn r27846) -Fix [FS#5926]: Infinite loop in pathfinder when checking safe waiting position from a waypoint.
|
2017-04-04 00:00:43 +00:00 |
peter1138
|
1eef97674c
|
(svn r27845) -Change: (Yapf) Use FindDepotData struct to simplify depot finding code and remove need to return fake path distance. (juanjo)
|
2017-04-03 22:02:28 +00:00 |
peter1138
|
9bc27c9a72
|
(svn r27844) -Change: (Yapf) Treat max cost exceeded separately from path too long condition, as destination should not be considered in the former case.
|
2017-04-03 21:53:51 +00:00 |
peter1138
|
39fa3c7cbd
|
(svn r27843) -Change: (Yapf) Consider depot as destination before reversing path and applying penalty.
|
2017-04-03 21:37:01 +00:00 |
frosch
|
d90686f021
|
(svn r27586) -Fix [FS#6410]: Automatic servicing of road vehicles compared path finder costs with tile distances, thus vehicles went to depots which were factor 100 too far away. (juanjo)
|
2016-05-29 14:14:52 +00:00 |
alberth
|
1105b4d2c9
|
(svn r27363) -Codechange: Fix codestyle of one-line methods and header codestyle of derived structs.
|
2015-08-08 13:19:38 +00:00 |
alberth
|
b885d79f50
|
(svn r27362) -Codechange: Codestyle fixes for reference var declarations, static cast type, operator methods.
|
2015-08-08 10:06:24 +00:00 |
frosch
|
59a94f8ccf
|
(svn r27332) -Change: Enable YAPF cache debugging with desync debug level 2.
|
2015-07-12 17:06:02 +00:00 |
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
|
2014-04-23 20:13:33 +00:00 |
rubidium
|
f669101560
|
(svn r26117) -Cleanup: unneeded NULL check
|
2013-11-26 10:00:15 +00:00 |
rubidium
|
0e9c992104
|
(svn r26058) -Fix: handle the return value of a number of functions better
|
2013-11-23 13:15:07 +00:00 |
rubidium
|
f178899609
|
(svn r25609) -Fix [FS#5216]: under certain circumstances a track type change would make the end-of-line-is-red setting ineffective
|
2013-07-14 09:21:46 +00:00 |
rubidium
|
740643f2b2
|
(svn r25608) -Codechange: make EndSegmentReasonBits available in yapf_base.hpp
|
2013-07-14 09:20:34 +00:00 |
rubidium
|
eb538da228
|
(svn r24964) -Fix [FS#5416]: With YAPF the docking behaviour differed per direction; now favour docking in the direction you approached
|
2013-02-03 14:16:45 +00:00 |
peter1138
|
c00a400cc7
|
(svn r24905) -Feature(ish): Implement station randomisation triggers.
|
2013-01-11 07:39:25 +00:00 |
planetmaker
|
c24374f99c
|
(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow)
|
2013-01-08 22:46:42 +00:00 |
frosch
|
d17ec934f5
|
(svn r24481) -Feature [FS#5127]: Make the pathfinder decide whether ships shall leave depots towards north or south.
|
2012-08-18 11:37:47 +00:00 |
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)
|
2011-12-20 17:57:56 +00:00 |
michi_cc
|
24b7be856b
|
(svn r23564) -Fix [FS#4888]: Extending a path reservation starting at a partially reserved rail station could fail.
|
2011-12-17 02:02:28 +00:00 |
rubidium
|
2ed0f93bfb
|
(svn r23093) -Codechange: add a default NULL for the Z of GetTileSlope and use it
|
2011-11-04 10:22:27 +00:00 |
rubidium
|
7757a2ed40
|
(svn r23091) -Codechange: rename some Get*Z functions to Get*PixelZ functions if they return the Z in pixels (like TilePixelHeight)
|
2011-11-04 10:18:13 +00:00 |
michi_cc
|
45b95ed629
|
(svn r22801) -Feature: [YAPF] Take canal/ocean speed fraction of ships into account.
|
2011-08-21 14:13:22 +00:00 |
rubidium
|
4d5dbf5170
|
(svn r22410) -Document: some more bits ;)
|
2011-05-02 16:14:23 +00:00 |
smatz
|
0c55cbfa73
|
(svn r22350) -Change: make YAPF hash tables much smaller, it should improve performance significantly (about 15%)
|
2011-04-19 18:12:47 +00:00 |
smatz
|
6e011e9e68
|
(svn r22348) -Codechange: split ship-specific part of yapf_node.hpp to yapf_node_ship.hpp
|
2011-04-19 15:00:11 +00:00 |
alberth
|
1dbc0a20be
|
(svn r22144) -Codechange: Unify 'while (true)' to 'for (;;)'
|
2011-02-25 21:53:43 +00:00 |
rubidium
|
faf5d899f7
|
(svn r22017) -Codechange: move MarkTileDirtyByTile to viewport_func.h
|
2011-02-07 22:29:47 +00:00 |
rubidium
|
fd94ed3009
|
(svn r21996) -Fix [FS#4472]: [YAPF] Under some circumstances vehicles could be lost
|
2011-02-06 15:01:52 +00:00 |
rubidium
|
7645c5ac43
|
(svn r21815) -Fix [FS#3908]: [YAPF] Apply a pathfinder penalty for back of one-way path signals so those aren't preferred over other possibilities
|
2011-01-15 22:40:54 +00:00 |
terkhen
|
679cd3c21b
|
(svn r21803) -Cleanup: Remove unnecessary semicolons.
|
2011-01-15 15:36:58 +00:00 |
smatz
|
aa4f269f3e
|
(svn r21652) -Cleanup: one semicolon is enough
|
2010-12-28 14:22:51 +00:00 |
rubidium
|
ade19e5242
|
(svn r21651) -Fix [FS#4338] (r21229): infinite loop in the road pathfinder due to bouncing around in an "one way" trap; two one ways pointing towards eachother making it impossible to leave
|
2010-12-27 22:32:47 +00:00 |
alberth
|
67cd2cd6be
|
(svn r21594) -Codechange: Whitespace fixes in ifndef/define lines.
|
2010-12-22 11:24:38 +00:00 |
michi_cc
|
e744b97ec8
|
(svn r21524) -Fix [FS#4302]: Do not apply the last signal red pathfinder penalty when the signal is a path signal.
|
2010-12-15 14:33:24 +00:00 |