summaryrefslogtreecommitdiff
path: root/src/station_func.h
AgeCommit message (Collapse)Author
2020-05-13Codechange: Refactor FindStationsAroundTiles to avoid code duplicationdP
2020-01-12Codechange: Cache resolved town, station and industry name stringsJonathan G Rennison
2019-11-10Cleanup: Removed SVN headersS. D. Cloudt
2019-06-30Codechange: Restrict docking points of docks.peter1138
2019-06-30Feature: Multi-tile docks and docking points.peter1138
2019-05-01Feature: Add NotRoadTypes (NRT)peter1138
2019-04-10Codechange: Use null pointer literal instead of the NULL macroHenry Wilson
2019-03-09Feature: Non-rectangular sparse station catchment area.Peter Nelson
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-05-21Change: Add CargoTypes type for cargo masks. (#6790)PeterN
2014-05-01(svn r26549) -Change: better estimation for link capacities during full loadfonsinchen
2013-06-23(svn r25435) -Fix: reroute cargo in vehicles if station is deletedfonsinchen
2013-05-19(svn r25259) -Codechange: track capacities and usage of linksrubidium
2012-12-23(svn r24840) -Fix: Draw NewGRF railtypes in NewGRF station previews.peter1138
2012-07-15(svn r24402) -Fix [FS#5243]: Station properties 11 and 14 were combined ↵frosch
incorrectly.
2012-01-03(svn r23735) -Codechange: remove ~50 includes from headers that weren't neededrubidium
2011-12-03(svn r23415) -Feature: Infrastructure maintenance costs.michi_cc
2010-08-28(svn r20674) -Codechange: Remove declared functions that do not exist ↵alberth
(anymore) otherwise.
2010-08-20(svn r20579) -Change (r1579): Allow removing of buoys if they are only used ↵frosch
by own vehicles.
2010-01-16(svn r18837) -Codechange: Rename DrawStationTileSeq() to DrawCommonTileSeq() ↵frosch
and move it to separate file.
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-14(svn r18802) -Codechange: Deduplicate drawing-code for depots and ↵frosch
stations/waypoints.
2010-01-04(svn r18716) -Codechange: pass a TileArea to FindStationsAroundTilesrubidium
2009-12-02(svn r18385) -Cleanup: remove the now unneeded multistop slot management coderubidium
2009-11-15(svn r18110) -Codechange [FS#3316]: search for stations nearby only once per ↵smatz
producer (instead of once pre produced cargo type) (fonsinchen)
2009-09-20(svn r17589) -Codechange: rename town_acc to always_acceptedsmatz
2009-09-07(svn r17439) -Fix (r17436): you weren't paid for cargo delivered to houses ↵smatz
and headquarters anymore
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-07-13(svn r16821) -Codechange: unify the naming of type::UpdateVirtCoord and ↵rubidium
UpdateAll[Type]VirtCoords.
2009-06-27(svn r16678) -Codechange: Turn CargoArray into a class, so one does not have ↵frosch
to deal with sizeof() wrt. typedef-ed arrays.
2009-06-27(svn r16676) -Codechange: Rename AcceptedCargo to CargoArray and its ↵frosch
instances to more meaningful names.
2009-06-23(svn r16640) -Codechange: move roadstop stuff to separate filessmatz
2009-05-22(svn r16389) -Codechange: use RoadVehicle instead of Vehicle where appropriaterubidium
2009-05-22(svn r16378) -Codechange: replace OldPool with simpler Pool. Compilation ↵smatz
time, binary size and run time (with asserts disabled) should be improved
2009-01-13(svn r15073) -Fix (r15067) [FS#2532]: Default copy constructors don't ↵peter1138
necessarily do what you want. Instead of creating one, we now pass a pointer around as that avoids additional allocations.
2009-01-13(svn r15067) -Fix [FS#2531]: Possible compiler bug, alleviated by using ↵peter1138
SmallVector instead of using std::set. SmallVector does everything needed anyway.
2009-01-10(svn r14949) -Cleanup: pointer coding stylerubidium
2009-01-04(svn r14828) -Codechange: move most of save/load-specific code to separate filessmatz
2008-11-22(svn r14604) -Codechange: Simplify a function and rename it, and fix some ↵frosch
comments.
2008-10-14(svn r14463) -Fix [FS#2348]: small possible chance of desync due to sorting ↵rubidium
on pointer instead of by (station) index (PhilSophus)
2008-09-30(svn r14421) -Codechange: rename all player variables/types to company *or* ↵rubidium
client so it is immediatelly clear which one you are working with.
2008-05-24(svn r13226) -Feature: Allow to have more than only two airports per town. ↵belugas
The number of airports is now controlled by the noise each of them generates, the distance from town's center and how tolerant the town is. Initial concept : TTDPatch (moreairpots), Initial code : Pasky Thanks to BigBB (help coding), Smatz Skidd13 and frosch for bugcatches and advices
2008-03-31(svn r12495) -Codechange: reduce the dependency on newgrf_station.h ↵rubidium
(especially because newgrf_station.h includes a lot of stuff).
2008-03-31(svn r12489) -Codechange: split station.h into station_base.h and ↵rubidium
station_func.h.