Age | Commit message (Collapse) | Author |
|
"stations_near" wasn't updated when founding a town near
a station. As this variable is not saved, any client joining
after the town is founded has a different value for
"stations_near", potentially causing desyncs.
As the intention of this if() statement was to skip an expensive
calculation when there are clearly no stations, better to move
that check inside the function, so other places also enjoy
the speedup.
|
|
includes base_station_base.h
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This is a C++11 feature that allows the compiler to check that a virtual
member declaration overrides a base-class member with the same signature.
Also src/blitter/32bpp_anim_sse4.hpp +38 is no longer erroneously marked
as virtual despite being a template.
|
|
|
|
|
|
|
|
cargo to/from their neutral station. (#7234)
This change is a controlled by a game setting, located under Environment ->
Industries which allows toggling the behaviour. It defaults to enabled.
"Company stations can serve industries with attached neutral stations"
When enabled, industries with attached neutral station (such as Oil Rigs) may
also be served by company-owned stations built nearby. This is the traditional
behaviour.
When disabled, these industries may only be served by their neutral station.
Any nearby company-owned stations won't be able to serve them, nor will the
neutral station serve anything else other than the industry.
|
|
to its own function.
|
|
|
|
|
|
|
|
|
|
from the savegame
|
|
complete variables upon saveload
|
|
having picked any of the cargo, and prevent houses and industries providing more cargo
|
|
with actual pickup), s/acceptance_pickup/status/ (the enum isn't called GoodEntryStatus for a reason; it's not only acceptance and pickup anymore)
|
|
|
|
pointer since they are never NULL.
|
|
|
|
|
|
normally pick them anymore.
|
|
|
|
getting picked
|
|
routing cargo if necessary
|
|
at the origin station
|
|
|
|
|
|
|
|
|
|
descriptive function
|
|
GoodsEntry::time_since_pickup.
|
|
via wrapper function.
|
|
|
|
Doxygen improvements.
|
|
|
|
others were still regular inline), but make sure inline is always a 'forced' inline (I am looking at you MSVC)
|
|
out some indirect calls
|
|
by not crashing when loading such savegame or when an airport is removed
|
|
|
|
|