Age | Commit message (Collapse) | Author |
|
from the station list
|
|
|
|
|
|
|
|
not delete items from other pools
|
|
|
|
more likely to be updated [o-s].
|
|
TILE_AREA_LOOP. Making use of make makes me making use of my brain to determine whether I make use of tautology, or make use of pleonasm, or make use of both, or even make use of neither
|
|
|
|
owned by nobody when the local company is "spectator" as well
|
|
|
|
|
|
|
|
destructors to BaseStation destructor
|
|
|
|
the oil rig is deleted
-Fix (r19952): close the list when it is not sticky
|
|
seperate class
|
|
|
|
|
|
|
|
const reference formal parameter.
|
|
|
|
|
|
if a header require a header make it include that header
|
|
non-statemachine-related variables to there
|
|
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.
|
|
|
|
|
|
|
|
get removed to CargoPacket.
|
|
|
|
|
|
when stations were removed from the pool
|
|
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
|
|
to separate function
|
|
often, clearing is enough
|
|
TILE_LOOP, which means no more duplication of parameters between BEGIN_TILE_LOOP and END_TILE_LOOP
|
|
station joiner code.
|
|
|
|
trainst_h.
|
|
waypoints or stations, i.e. don't force exactly one destination tile for a waypoint
|
|
it's written.
|
|
all over the place when using the more advanced station types.
-Change: make (rail) waypoints sub classes of 'base stations', make buoys waypoints and unify code between them where possible.
|
|
with some extra checks.
|
|
|
|
(to be shared with waypoints)
|
|
can be reused for Waypoints.
|