Age | Commit message (Collapse) | Author |
|
|
|
|
|
the command proc.
When finished, this will allow each command handler to take individually
different parameters, obliviating the need for bit-packing.
|
|
|
|
|
|
|
|
(#9543)
|
|
express cargo
Passengers usually prefer fast paths to short paths.
Average travel times of links are updated in real-time for use in Dijkstra's algorithm,
and newer travel times weigh more, just like capacities.
|
|
|
|
we had
While at it, replace OTTD_ASSERT with WITH_ASSERT, as this
is always set if assert() is valid. No matter if NDEBUG is set
or not.
|
|
|
|
second time (#9165)
|
|
|
|
|
|
|
|
* Fix: Missing or needed spaces
* Codechange: Remove space
* Codechange: Remove space
* Codechange: More missing spaces
* Codechange: Missing spaces
* Codechange: Remove space
* Codechange: Remove space
|
|
bounds (#8540)
|
|
This setting is no longer useful, as you can now always build roads,
canals, etc.
|
|
|
|
candidate as using only the hash generates false positives
|
|
a mutable type in render methods
|
|
sprites less often
|
|
|
|
|
|
Some places in the codebase misspell 'Viewport' as 'ViewPort' or 'view_port'.
This patch makes everything consistent.
|
|
|
|
std::pair is already the smallest possible pair, and it already handles non-POD types correctly.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Auto[Free|Delete]SmallVector
|
|
|
|
|
|
std::vector::[push|emplace]_back()
|
|
shrink_to_fit()
|
|
|
|
is activated.
|
|
|
|
|
|
|
|
behind them
Previously, if a train had been ordered to reverse, and while it was slowing down, was
ordered to travel to a depot that is behind it, the train would continue forwards.
Also when a train had been ordered to reverse, and while it was slowing down, was
ordered to travel to a depot that is in front of it, the train would not cancel the
reversal.
In both cases the train would travel away from the target depot.
Trains in this situation now behave correctly and will travel towards the depot.
|
|
|
|
|