Age | Commit message (Collapse) | Author |
|
producer (instead of once pre produced cargo type) (fonsinchen)
|
|
|
|
|
|
including of newgrf_cargo.h
|
|
|
|
no industry layout defined; yes, it's very similar to r17633 because one case was forgotten.
|
|
that has no industry layout defined.
|
|
amount is 0
|
|
industry tiles accept it but industry itself doesn't
|
|
|
|
|
|
|
|
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()).
|