Age | Commit message (Collapse) | Author |
|
for more consistency and distinguishability.
|
|
tile after two '0x18' industry tiles
|
|
industry removal causing the removed industry to be still in the list after removal
|
|
and headquarters anymore
|
|
actually useful when building industries
|
|
|
|
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
|
|
the Subsidy struct instead of determining it every time it's needed
|
|
relatives
|
|
TILE_LOOP, which means no more duplication of parameters between BEGIN_TILE_LOOP and END_TILE_LOOP
|
|
codes and group them logically
|
|
|
|
|
|
duplicates (only for old savegames) and tiles that weren't animated
|
|
to deal with sizeof() wrt. typedef-ed arrays.
|
|
instances to more meaningful names.
|
|
and change its behaviour accordingly
|
|
Town::GetRandom() and Industry::GetRandom()
|
|
and change its behaviour accordingly
-Codechange: remove dummy GetAcceptedCargo_*() handlers
|
|
instead of searching them everytime payment is made
|
|
|
|
code style.
|
|
reached like break after returns or break after functions that never return (i.e. NOT_REACHED)
|
|
vehicles/stations/industries are deleted.
|
|
|
|
|
|
time, binary size and run time (with asserts disabled) should be improved
|
|
parameters
|
|
|
|
this ID' from 'some' strings and replace the string name with something more sensible.
|
|
build a random new industry, but there are no industrytypes to choose from (i.e. all appearance probabilities are zero).
|
|
oilrigs always produce some passengers on lowest production level.
|
|
sources too
|
|
|
|
assert(tile < MapSize()).
|
|
them map.
|
|
industries/unmoveables; "X is in the way" isn't helpful at all in that case.
|
|
|
|
resulted in unwanted effects.
|
|
|
|
color and colour.
|
|
except where it's used for backward compatability.
|
|
|
|
|
|
change of primary industries) of callbacks 0x29 and 0x35.
|
|
when changing production using results 0D, 0E or 0F of callback 29 or 35.
|
|
necessarily do what you want. Instead of creating one, we now pass a pointer around as that avoids additional allocations.
|