Age | Commit message (Collapse) | Author |
|
|
|
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.
|
|
depots, industries, towns and waypoints
|
|
target invalid industry
|
|
introducing a daily random industry change.
This will allow to perform more changes per month on big maps and less on smaller maps, while not overtaxing the IndustryMonthlyLoop process.
Thanks to frosch, for nice code ideas and rewrites
|
|
Provided by ln
I've added a little fix on currency.cpp too, why not :)
|
|
|
|
from openttd.h to their own headers.
|
|
something more than whitespace as description of files that don't have a description.
|
|
so it uses less memory.
|