Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
Eagle_rainbow)
|
|
|
|
others were still regular inline), but make sure inline is always a 'forced' inline (I am looking at you MSVC)
|
|
simplify code checking for that
|
|
vegetation-map colour as for nearby station names.
|
|
|
|
|
|
|
|
|
|
created during the game.
|
|
|
|
(some of it is used in the very near future).
|
|
probability to decide which industry to build.
|
|
local variable.
|
|
IndustryBuildData::TryBuildNewIndustry().
|
|
|
|
non-smooth economy to separate function.
|
|
(anymore) otherwise.
|
|
temporary/persistent storage. (Spotted by yexo)
|
|
Industry.
|
|
|
|
if a header require a header make it include that header
|
|
variables. Also make use of TileArea functions for determining the 'width' and 'height' of an industry.
|
|
which were sometimes missing and sometimes just typos
|
|
industry removal causing the removed industry to be still in the list after removal
|
|
GetIndustryByTile()
|
|
|
|
|
|
subsidy's destination is in station's catchment area and cargo packets originate from subsidy's source
-Change [FS#1134]: subsidies aren't bound to stations after awarding anymore, they still apply to town or industry, no matter what station is used for loading and unloading. Awarded subsidies from older savegames are lost
-Change [NoAI]: due to these changes, AISubsidy::GetSource and AISubsidy::GetDestination now return STATION_INVALID for awarded subsidies
|
|
|
|
|
|
Town::GetRandom() and Industry::GetRandom()
|
|
|
|
GetActiveCompanyCount(), use PoolItem::GetNumItems() instead
|
|
time, binary size and run time (with asserts disabled) should be improved
|
|
variable instead of var->index
|
|
|
|
with < .. - 1 (both caused due to wrapper functions)
|
|
PoolItem::IsValidID(index)
|
|
PoolItem::GetPoolSize()
|
|
|
|
|
|
color and colour.
|