summaryrefslogtreecommitdiff
path: root/src/station.cpp
AgeCommit message (Collapse)Author
2020-05-21Codechange: Use std::string for most of the user-settable custom names.Michael Lutz
2020-05-13Codechange: Refactor FindStationsAroundTiles to avoid code duplicationdP
2019-12-21Codechange: Replace FOR_ALL_TOWNS with range-based for loopsglx
2019-12-21Codechange: Replace vehicle related FOR_ALL with range-based for loopsglx
2019-12-21Codechange: Replace FOR_ALL_INDUSTRIES with range-based for loopsglx
2019-12-21Codechange: Replace station related FOR_ALL with range-based for loopsglx
2019-12-01Fix #7847: Use ViewportSign coordinates for sign Kdtree coordinates (#7849)Niels Martin Hansen
Ensure the same coordinates are used for station/town/player signs regardless of how the landscape changes below it after the coordinates were first determined. By keeping track of whether each ViewportSign is valid for Kdtree use (and only ever registering the viewport sign when the object is valid) a lot of code can be simplified and become more robust at the same time.
2019-11-10Cleanup: Removed SVN headersS. D. Cloudt
2019-06-30Feature: Multi-tile docks and docking points.peter1138
2019-05-01Feature: Add NotRoadTypes (NRT)peter1138
2019-04-16Fix #7235: Ensure catchment area of neutral station covers entire industry. ↵PeterN
(#7518)
2019-04-13Codechange: Replace duplicated code with TileArea::Expand() (#7467)PeterN
2019-04-10Codechange: Use null pointer literal instead of the NULL macroHenry Wilson
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