summaryrefslogtreecommitdiff
path: root/src/station_base.h
AgeCommit message (Collapse)Author
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-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.
2019-02-18Codechange: Move some common code after adding/removing tiles to a station ↵Juanjo
to its own function.
2018-10-31Doc: Lots and lots of doxymentation fixesCharles Pigott
2018-05-21Change: Add CargoTypes type for cargo masks. (#6790)PeterN
2015-03-07(svn r27178) -Fix [FS#5969]: Data race due to lazy initialisation of objects.frosch
2014-09-21(svn r26891) -Codechange: Add methods to retrieve flows from a FlowStatMapfonsinchen
2014-08-22(svn r26753) -Fix: desync due to not always properly restoring game state ↵rubidium
from the savegame
2014-05-16(svn r26590) -Fix: possible desync (big/little endian) due to not writing ↵rubidium
complete variables upon saveload
2014-05-11(svn r26582) -Feature-ish: quickly decay cargo after about 21 months of not ↵rubidium
having picked any of the cargo, and prevent houses and industries providing more cargo
2014-05-11(svn r26580) -Codechange: s/GES_PICKUP/GES_RATING/ (it has nothing to do ↵rubidium
with actual pickup), s/acceptance_pickup/status/ (the enum isn't called GoodEntryStatus for a reason; it's not only acceptance and pickup anymore)
2013-12-20(svn r26166) -Fix: Scale flows only after mapping to avoid rounding errors.fonsinchen
2013-11-24(svn r26085) -Codechange: Pass ResolverObjects as reference instead of ↵frosch
pointer since they are never NULL.
2013-11-23(svn r26057) -Fix: a number of possibly uninitialised variablesrubidium
2013-11-10(svn r25963) -Fix [FS#5758]: Mixtures of old and new flows could create cycles.fonsinchen
2013-10-22(svn r25899) -Change: Restrict flows if links are restricted and don't ↵fonsinchen
normally pick them anymore.
2013-10-22(svn r25896) -Fix: Remove unused and unimplemented declaration of RunAverages.fonsinchen
2013-10-20(svn r25892) -Fix: off-by-one error in GetVia prevented certain flows from ↵fonsinchen
getting picked
2013-06-17(svn r25424) -Fix: keep old flows around in an invalidated state to continue ↵fonsinchen
routing cargo if necessary
2013-06-09(svn r25362) -Feature: consider cargo waiting at other stations for rating ↵fonsinchen
at the origin station
2013-06-09(svn r25346) -Codechange: Glue between stations and flow statsfonsinchen
2013-06-09(svn r25345) -Add: implementation of SharesMap and FlowStatMapfonsinchen
2013-05-19(svn r25259) -Codechange: track capacities and usage of linksrubidium
2013-05-19(svn r25257) -Add: basic link graph (fonsinchen)rubidium
2013-04-06(svn r25149) -Codechange: replace 'magic' 'has rating' bitcheck by ↵rubidium
descriptive function
2012-11-12(svn r24718) -Codechange: Rename GoodsEntry::days_since_pickup to ↵frosch
GoodsEntry::time_since_pickup.
2012-11-12(svn r24708) -Codechange: Check magic values of GoodsEntry::last_speed only ↵frosch
via wrapper function.
2012-11-12(svn r24707) -Doc: Improve description of GoodsEntryStatus flags.frosch
2012-09-21(svn r24535) -Doc: Two additions, lots of small spelling fixes, and some ↵alberth
Doxygen improvements.
2012-01-03(svn r23735) -Codechange: remove ~50 includes from headers that weren't neededrubidium
2011-12-20(svn r23640) -Fix: stop using FORCEINLINE (1/3rd of the instances were, the ↵truebrain
others were still regular inline), but make sure inline is always a 'forced' inline (I am looking at you MSVC)
2011-12-18(svn r23588) -Codechange: use the 'final' keyword so compiler can optimise ↵smatz
out some indirect calls
2011-12-09(svn r23461) -Fix: handle a missing airport newgrf as graceful as possible ↵yexo
by not crashing when loading such savegame or when an airport is removed
2011-08-13(svn r22742) -Add: Add function to query exit direction of hangars at airports.alberth
2011-06-12(svn r22567) -Codechange: Store persistent storages inside a pool.terkhen
2011-06-04(svn r22542) -Add: Store cargo acceptance stats for stations.terkhen
2011-06-04(svn r22541) -Document: GoodsEntry struct.terkhen
2011-06-04(svn r22540) -Codechange: Rename AcceptancePickup to GoodsEntryStatus.terkhen
2011-01-18(svn r21846) -Codechange: move documentation towards the code to make it ↵rubidium
more likely to be updated [o-s].
2010-09-28(svn r20857) -Fix [FS#3637]: The station with the second highest rating was ↵rubidium
doubly penalised when distributing cargo. Now the penalty is completely removed and the granularity/precision of the distribution in increased by using fractional cargo. This should make competing stations less "all-or-nothing".
2010-09-16(svn r20815) -Revert (r20814): wrong patch at wrong time...rubidium
2010-09-16(svn r20814) -Codechange [FS#3835]: make waypoint default names work like ↵rubidium
depots, stations and vehicles (Krille)
2010-08-26(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to ↵rubidium
some headers
2010-08-05(svn r20374) -Codechange: add persistant storage for airportsyexo
2010-08-05(svn r20366) -Codechange: store the rotation of the airport layout in the ↵yexo
station struct and use it to rotate hangar tiles
2010-08-05(svn r20365) -Codechange: allow multiple layouts for one airport ↵yexo
statemachine, store the layout number
2010-08-02(svn r20324) -Doc: add doxygen comments to the Airport struct belonging to a ↵yexo
station
2010-03-19(svn r19465) -Codechange: support for multi-tile hangarsyexo