summaryrefslogtreecommitdiff
path: root/src/station_cmd.cpp
AgeCommit message (Collapse)Author
2019-02-21Change: Owner of vehicle with exclusive transport rights may now load cargo ↵SamuXarick
from neutral stations (#7256)
2019-02-18Codechange: Move some common code after adding/removing tiles to a station ↵Juanjo
to its own function.
2019-01-19Change: Add path cache for ships.Peter Nelson
2019-01-17Fix: Some code and comment typosnikolas
Found with codespell
2019-01-11Add: when placing non-rectangular airport, consider airport tile table tiles ↵Johannes E. Krause
only (patch by adf88, #6613)
2018-10-31Fix: Only possible to build station next to competitors by using CTRL+clickJoost Hopmans
Fix by checking only for stations owned by the current company when inspecting if there are multiple adjoining stations to the one being built. When building next to 2 or more owned stations we don't know which station should be extended. For other companies' stations that's not a problem since our station won't merge with theirs anyway. Calling to BuildStationPart should never have another company's station as a parameter to attach to unless the client is malicious, so just returning a generic error in that case.
2018-10-31Doc: Lots and lots of doxymentation fixesCharles Pigott
2018-07-26Change: Extend rail types to 64 (6 bit storage)Peter Nelson
2018-06-06Fix: One-way roads could be over-built by road stops (regardless of road owner.)Peter Nelson
2018-05-21Change: Add CargoTypes type for cargo masks. (#6790)PeterN
2017-08-13(svn r27893) -Codechange: Use fallthrough attribute. (LordAro)frosch
2017-03-20(svn r27810) -Change: Factor out reservation-handling code in station_cmd.cpppeter1138
Code dealing with freeing and restoring track reservations is duplicated in CmdBuildRailStation and RemoveFromRailBaseStation; make separate functions for it. (cirdan)
2016-12-09(svn r27686) -Change: List railtype of rail tiles explicitly in the tile ↵frosch
info window.
2016-12-04(svn r27682) -Fix: Don't check if links are alive for manually routed cargofonsinchen
2016-12-04(svn r27681) -Fix: When deleting stale links, iterate through order lists ↵fonsinchen
before iterating through vehicles
2016-11-05(svn r27676) -Codechange: Rename catenary functions, so that they refer ↵frosch
unambiguously to either RoadCatenary or RailCatenary.
2015-06-21(svn r27311) -Fix: Mark infrastructure window dirty in more cases. (marcole)frosch
2015-06-20(svn r27308) -Fix [FS#6283]: Prevent breaking of tram-reversal points by ↵frosch
adding more road pieces. (adf88)
2015-04-26(svn r27256) -Change [FS#6165]: Do not consider cargo that is already being ↵frosch
loaded as waiting cargo wrt. the station rating.
2015-04-26(svn r27251) -Feature [FS#6252]: Make Ctrl+Remove-Roadstop also remove the ↵frosch
road, just like for rail stations. (adf88)
2015-04-25(svn r27246) -Codechange: Deduplicate code between removing part of a rail ↵frosch
station and removing the whole rail station. (adf88)
2015-04-25(svn r27245) -Fix [FS#6251]: Removing a rail waypoint used the ↵frosch
remove-rail-station cost. (adf88)
2015-04-11(svn r27225) -Change [FS#6262]: Be more lenient about road stop removal when ↵planetmaker
at least one stop could be removed (afd88)
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-09-21(svn r26879) -Codechange: remove most MayHaveBridgeAbove calls since the ↵rubidium
data is now always accessible
2014-06-14(svn r26646) -Fix [FS#6041]: Save locations instead of distances in link ↵fonsinchen
graphs to reduce size.
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)
2014-05-01(svn r26549) -Change: better estimation for link capacities during full loadfonsinchen
2014-04-25(svn r26509) -Codechange: replace strdup with stredup (the latter ensures ↵rubidium
the return is not NULL)
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-04-12(svn r26458) -Doc: Correct a few spelling mistakes (__ln__)planetmaker
2014-04-08(svn r26448) -Fix [FS#5970]: Avoid division by 0 when scaling flow values.fonsinchen
2014-03-06(svn r26393) -Fix: Update distances between link graph nodes when station ↵fonsinchen
sign is moved
2014-02-24(svn r26375) -Fix [FS#5929]: Station sizes > 8 were always allowed. (adf88)frosch
2014-02-22(svn r26363) -Codechange [FS#5894]: make it clearer that drive through road ↵rubidium
stops need an Axis in CmdBuildRoadStop and the non drive through stops need a DiagDir
2014-01-23(svn r26275) -Fix: If NewGRF provided the same station name for different ↵frosch
industry types, stations would end up with same name. So also consider the provided name, not only the industry type.
2013-12-20(svn r26166) -Fix: Scale flows only after mapping to avoid rounding errors.fonsinchen
2013-11-16(svn r26013) -Revert (r25495) [FS#5684]: Having trains miss a platform that ↵fonsinchen
is just being modified is less of a problem than having trains stop twice without moving.
2013-11-10(svn r25963) -Fix [FS#5758]: Mixtures of old and new flows could create cycles.fonsinchen
2013-11-07(svn r25948) -Fix [FS#5796]: Make sure LinkRefresher doesn't delete the ↵fonsinchen
LinkGraph DeleteStaleLinks() is examining.
2013-10-27(svn r25915) -Fix: Unrestricted flow was counted incorrectly when ↵fonsinchen
invalidating flow.
2013-10-23(svn r25910) -Fix: Guard against empty FlowStats in a few more places.fonsinchen
2013-10-22(svn r25903) -Codechange: Refactor RefreshNextHopsStats into an own class ↵fonsinchen
LinkRefresher.
2013-10-22(svn r25901) -Fix [FS#5675]: Check if any vehicles are still serving a link ↵fonsinchen
before deleting it.
2013-10-22(svn r25899) -Change: Restrict flows if links are restricted and don't ↵fonsinchen
normally pick them anymore.
2013-10-22(svn r25898) -Codechange: Add second timestamp for 'restricted links' to all ↵fonsinchen
edges.
2013-10-20(svn r25892) -Fix: off-by-one error in GetVia prevented certain flows from ↵fonsinchen
getting picked
2013-10-20(svn r25891) -Feature: Use smallstack to allow for multiple next hops when ↵fonsinchen
loading and unloading.