summaryrefslogtreecommitdiff
path: root/src/station_cmd.cpp
AgeCommit message (Collapse)Author
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.
2013-10-12(svn r25849) -Codechange: Introduce IsTileFlat to not compute full slope ↵zuu
information for situations when we only want to know if a tile is flat or not (cirdan, LordAro)
2013-06-28(svn r25495) -Fix [FS#5553]: when addings bits to a (train) station, the ↵rubidium
train trying to stop there could overshoot the (new) stop location and not stop at all
2013-06-25(svn r25461) -Fix: MSVC compiler warningrubidium
2013-06-23(svn r25435) -Fix: reroute cargo in vehicles if station is deletedfonsinchen
2013-06-23(svn r25434) -Fix: reroute cargo staged for unloading if a link breaksfonsinchen
2013-06-17(svn r25424) -Fix: keep old flows around in an invalidated state to continue ↵fonsinchen
routing cargo if necessary
2013-06-10(svn r25391) -Fix: make ChangeShare really aware of INT_MINfonsinchen
2013-06-09(svn r25379) -Fix: avoid warning in FlowStatMap::FinalizeLocalConsumptionfonsinchen
2013-06-09(svn r25365) -Feature: show cargo by next hops and final destinations in the ↵fonsinchen
station GUI
2013-06-09(svn r25362) -Feature: consider cargo waiting at other stations for rating ↵fonsinchen
at the origin station
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-06-09(svn r25345) -Add: implementation of SharesMap and FlowStatMapfonsinchen
2013-05-19(svn r25260) -Codechange: occasionally clear dead links and compress link ↵rubidium
graphs (fonsinchen)
2013-05-19(svn r25259) -Codechange: track capacities and usage of linksrubidium
2013-05-18(svn r25251) -Fix [FS#5540]: when overbuilding a reserved track with a ↵rubidium
non-track station tile, that tile would remain reserved and eventually trigger a crash upon removal
2013-05-13(svn r25243) -Fix [FS#5546]: "No station" error was given, even when there ↵rubidium
was a station that way occupied or not yours
2013-04-13(svn r25185) -Fix [FS#5508]: Remove ambivalent functions CargoList::Empty() ↵frosch
and Count(), and replace them with VehicleCargoList::StoredCount(), TotalCount(), StationCargoList::AvailableCount() and TotalCount(). (fonsinchen)
2013-04-06(svn r25149) -Codechange: replace 'magic' 'has rating' bitcheck by ↵rubidium
descriptive function
2013-03-31(svn r25132) -Fix [FS#5510, FS#5516]: station rebuilding could leave ↵rubidium
reserved tiles which caused crashes later on
2013-02-17(svn r25016) -Fix [FS#5476]: integer overflow in UpdateStationRating ↵rubidium
(fonsinchen)
2013-02-17(svn r25008) -Codechange: Make CargoList::Truncate behave similarly to ↵rubidium
CargoList::MoveTo, i.e. pass the amount to truncate (fonsinchen)
2013-02-03(svn r24961) -Fix [FS#5362] (r23564): making occupied platforms larger would ↵rubidium
make train reserve onto the newly unreserved bit and cause crashes. Now if a platform is enlarged and there is a reservation, reserve the whole platform