Age | Commit message (Collapse) | Author |
|
wrapper functions
|
|
if a header require a header make it include that header
|
|
when building a station could be incorrect (missing a cargo)
-Change [NoAI]: AITile::GetCargoProduction now returns the number of producers and not the number of tiles of producers.
-Fix [NoAI]: AITileList_IndustryProducing would omit some tiles for at which a station would get cargo.
|
|
|
|
variables. Also make use of TileArea functions for determining the 'width' and 'height' of an industry.
|
|
|
|
|
|
|
|
on water were not marked dirty
|
|
|
|
building/removing unmovables (new objects), building/removing rail-waypoints/buoys, interacting with town-authority, building foundations, funding primary industries (when not prospecting) and towns.
If a GRF does not set price multipliers for these new prices, but for the previously used ones, the old modifiers will be propagated to the new bases.
|
|
and use 8 * cost_multiplier instead.
|
|
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)
|