Age | Commit message (Collapse) | Author |
|
certain cyclical tasks.
|
|
depots, stations and vehicles (Krille)
|
|
|
|
addition.
|
|
|
|
|
|
|
|
|
|
consisted of unrelated values use static const (u)int
|
|
|
|
and DECLARE_ENUM_AS_BIT_SET
|
|
|
|
|
|
CommandCost.
|
|
if a header require a header make it include that header
|
|
remove some unused variables
|
|
town name before its creation (original patch by Terkhen)
|
|
|
|
header file to allow sharing.
|
|
|
|
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
|
|
UpdateAll[Type]VirtCoords.
|
|
clean construct for invalidating nearest town for road tiles
|
|
Town::GetRandom() and Industry::GetRandom()
|
|
|
|
town_type.h to separate files
|
|
|
|
|
|
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)
|
|
that we allow removing towns now, but better not have desync prone code lingering around)
|
|
PoolItem::IsValidID(index)
|
|
PoolItem::GetPoolSize()
|
|
|
|
for testing town rating
|
|
define proper additional tiles. (instead of crashing later)
|
|
were incorrect after 0xFF had been reached and could desync clients joining afterwards.
|
|
|
|
generated in the generate world window to be customized.
Some warnings:
-the maximum number of towns to be accepted is set to 5000
-the minimum number of towns to be accepted is set to 1
-the number that is specified is NOT guaranteed to be the exact number of towns generated. The normal mechanism of town creation has not been modified. So town placement can still fail.
-setting a custom number of town will change your difficulty settings to custom as well
|
|
|
|
CalcClosestTownFromTile
|
|
appropriate headers.
|
|
|
|
|
|
|
|
town a bit more readable
|
|
|