summaryrefslogtreecommitdiff
path: root/src/station.cpp
AgeCommit message (Collapse)Author
2019-03-24Fix #7374: Ensure k-d trees are always updated when station sign movesNiels Martin Hansen
2019-03-09Codechange: Make a merged k-d tree index of all viewport signsNiels Martin Hansen
2019-03-09Codechange: Make a k-d tree index of stationsNiels Martin Hansen
2019-03-09Feature: Non-rectangular sparse station catchment area.Peter Nelson
2019-03-09Codechange: Convert IndustryVector to a std::set.peter1138
2019-03-09Codechange: Convert StationList from SmallVector to std::set.peter1138
2019-03-08Feature: Industries with neutral stations (e.g. Oil Rig) only supply/accept ↵PeterN
cargo to/from their neutral station. (#7234) This change is a controlled by a game setting, located under Environment -> Industries which allows toggling the behaviour. It defaults to enabled. "Company stations can serve industries with attached neutral stations" When enabled, industries with attached neutral station (such as Oil Rigs) may also be served by company-owned stations built nearby. This is the traditional behaviour. When disabled, these industries may only be served by their neutral station. Any nearby company-owned stations won't be able to serve them, nor will the neutral station serve anything else other than the industry.
2018-04-21Fix: Remove need to instantiate SmallStack's pool object by making it a ↵Charles Pigott
singleton method
2015-03-07(svn r27178) -Fix [FS#5969]: Data race due to lazy initialisation of objects.frosch
2014-10-21(svn r27030) -Fix: crash when having the vehicle list opened from a buoy or ↵rubidium
oil rig while the buoy/oil rig gets its final removal (i.e. the sign gets removed)
2014-04-23(svn r26482) -Codechange: add an include that allows us to undefine/redefine ↵rubidium
"unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
2014-02-16(svn r26343) -Fix: Rewrite SmallStack so that it doesn't use a pool and is ↵fonsinchen
reentrant.
2014-01-29(svn r26286) -Fix: Thoroughly erase dead flows.fonsinchen
2013-10-20(svn r25890) -Codechange: define a smallstack for station IDsfonsinchen
2013-06-23(svn r25435) -Fix: reroute cargo in vehicles if station is deletedfonsinchen
2013-06-09(svn r25361) -Feature: distribute cargo according to plan given by linkgraphfonsinchen
2013-06-09(svn r25359) -Codechange: schedule jobs when tracking capacities of linksfonsinchen
2013-06-09(svn r25346) -Codechange: Glue between stations and flow statsfonsinchen
2013-05-19(svn r25259) -Codechange: track capacities and usage of linksrubidium
2013-02-17(svn r25008) -Codechange: Make CargoList::Truncate behave similarly to ↵rubidium
CargoList::MoveTo, i.e. pass the amount to truncate (fonsinchen)
2013-01-08(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by ↵planetmaker
Eagle_rainbow)
2012-12-01(svn r24776) -Doc: Typo fixes, additions, and additional dots collected from ↵alberth
various sources (including Eagle_rainbow, MinchinWeb)
2012-01-03(svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp filesrubidium
2011-12-03(svn r23415) -Feature: Infrastructure maintenance costs.michi_cc
2011-11-12(svn r23199) -Fix [FS#4822]: oil rigs that "expired" did not get removed ↵rubidium
from the station list
2011-06-12(svn r22567) -Codechange: Store persistent storages inside a pool.terkhen
2011-05-01(svn r22406) -Document: some more "random-ish" tidbitsrubidium
2011-02-19(svn r22116) -Codechange: use PoolBase::Clean() at more placessmatz
2011-02-19(svn r22111) -Codechange/fix-ish: upon cleaning a pool a destructor should ↵rubidium
not delete items from other pools
2011-02-07(svn r22017) -Codechange: move MarkTileDirtyByTile to viewport_func.hrubidium
2011-01-18(svn r21846) -Codechange: move documentation towards the code to make it ↵rubidium
more likely to be updated [o-s].
2010-12-12(svn r21483) -Codechange: make StationRect::ScanForStationTiles make use of ↵rubidium
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
2010-11-20(svn r21273) -Codechange: Return values should start at the same line.alberth
2010-09-09(svn r20774) -Fix [FS#4116]: assertion triggered when removing a station ↵rubidium
owned by nobody when the local company is "spectator" as well
2010-09-08(svn r20772) -Codechange: use packed VehicleListIdentifiers as window numbersrubidium
2010-08-01(svn r20286) -Codechange: Unify end of doxygen comments.frosch
2010-08-01(svn r20283) -Codechange: Unify start of doygen comments.frosch
2010-06-11(svn r19958) -Codechange: move common code from Waypoint and Station ↵smatz
destructors to BaseStation destructor
2010-06-11(svn r19957) -Codechange: remove VLW_WAYPOINT_LISTsmatz
2010-06-10(svn r19956) -Fix: close list of vehicles with given oil rig in orders when ↵smatz
the oil rig is deleted -Fix (r19952): close the list when it is not sticky
2010-03-18(svn r19455) -Codechange: split all airport information in Station to a ↵yexo
seperate class
2010-03-06(svn r19351) -Codechange: use TileArea for AfterRemoveRectyexo
2010-03-06(svn r19350) -Codechange: StationRect::BeforeAddRect() returns a CommandCost.alberth
2010-03-06(svn r19335) -Codechange: StationRect::BeforeAddTile() returns a CommandCost.alberth
2010-03-06(svn r19334) -Codechange: method-call codestyle fixes, and introduction of ↵alberth
const reference formal parameter.
2010-02-22(svn r19198) -Codechange: store the size of stations in savegamesyexo
2010-02-06(svn r19038) -Codechange: Move TileArea methods to their own file.alberth
2010-01-15(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, ↵rubidium
if a header require a header make it include that header
2010-01-15(svn r18807) -Codechange: introduce AirportSpec and move several ↵yexo
non-statemachine-related variables to there
2010-01-04(svn r18726) -Fix [FS#3463]: with non-uniform industries the 'supplies' text ↵rubidium
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.