Age | Commit message (Collapse) | Author |
|
|
|
|
|
each town (michi_cc).
|
|
framework to store goals of a town
|
|
Incoming based on TownEffect, outgoing based on CargoType (based on patch by Terkhen)
|
|
buildings?
|
|
amount of towns into a reusable struct.
|
|
used by small functions that compute there value on-the-fly when necessary
|
|
|
|
|
|
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.
|