Commit Graph

698 Commits (2df038c705449aca2adcc8f694b3be9119d1cc78)

Author SHA1 Message Date
fonsinchen 78df68e695 (svn r26891) -Codechange: Add methods to retrieve flows from a FlowStatMap 10 years ago
rubidium dc2b4f2498 (svn r26879) -Codechange: remove most MayHaveBridgeAbove calls since the data is now always accessible 10 years ago
fonsinchen ef2caa02b2 (svn r26646) -Fix [FS#6041]: Save locations instead of distances in link graphs to reduce size. 10 years ago
rubidium 1b11ea80ee (svn r26582) -Feature-ish: quickly decay cargo after about 21 months of not having picked any of the cargo, and prevent houses and industries providing more cargo 11 years ago
rubidium fb9dbf30fa (svn r26580) -Codechange: s/GES_PICKUP/GES_RATING/ (it has nothing to do with actual pickup), s/acceptance_pickup/status/ (the enum isn't called GoodEntryStatus for a reason; it's not only acceptance and pickup anymore) 11 years ago
fonsinchen b8381b6b25 (svn r26549) -Change: better estimation for link capacities during full load 11 years ago
rubidium 034735a54c (svn r26509) -Codechange: replace strdup with stredup (the latter ensures the return is not NULL) 11 years ago
rubidium 2be4215f43 (svn r26482) -Codechange: add an include that allows us to undefine/redefine "unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values 11 years ago
planetmaker c10662e4cc (svn r26458) -Doc: Correct a few spelling mistakes (__ln__) 11 years ago
fonsinchen 8395c08738 (svn r26448) -Fix [FS#5970]: Avoid division by 0 when scaling flow values. 11 years ago
fonsinchen 3570104d24 (svn r26393) -Fix: Update distances between link graph nodes when station sign is moved 11 years ago
frosch 504bd2a913 (svn r26375) -Fix [FS#5929]: Station sizes > 8 were always allowed. (adf88) 11 years ago
rubidium 5f323f9967 (svn r26363) -Codechange [FS#5894]: make it clearer that drive through road stops need an Axis in CmdBuildRoadStop and the non drive through stops need a DiagDir 11 years ago
frosch 22e86e3d1a (svn r26275) -Fix: If NewGRF provided the same station name for different industry types, stations would end up with same name. So also consider the provided name, not only the industry type. 11 years ago
fonsinchen fea3a433b2 (svn r26166) -Fix: Scale flows only after mapping to avoid rounding errors. 11 years ago
fonsinchen bcc91be5b1 (svn r26013) -Revert (r25495) [FS#5684]: Having trains miss a platform that is just being modified is less of a problem than having trains stop twice without moving. 11 years ago
fonsinchen 05b50ada5c (svn r25963) -Fix [FS#5758]: Mixtures of old and new flows could create cycles. 11 years ago
fonsinchen b83b4ab4c2 (svn r25948) -Fix [FS#5796]: Make sure LinkRefresher doesn't delete the LinkGraph DeleteStaleLinks() is examining. 11 years ago
fonsinchen 25e40b1e5b (svn r25915) -Fix: Unrestricted flow was counted incorrectly when invalidating flow. 11 years ago
fonsinchen 49d2cd4049 (svn r25910) -Fix: Guard against empty FlowStats in a few more places. 11 years ago
fonsinchen fb281ce23c (svn r25903) -Codechange: Refactor RefreshNextHopsStats into an own class LinkRefresher. 11 years ago
fonsinchen 97e1013863 (svn r25901) -Fix [FS#5675]: Check if any vehicles are still serving a link before deleting it. 11 years ago
fonsinchen 7025a145e3 (svn r25899) -Change: Restrict flows if links are restricted and don't normally pick them anymore. 11 years ago
fonsinchen d0c610f0ec (svn r25898) -Codechange: Add second timestamp for 'restricted links' to all edges. 11 years ago
fonsinchen 8d53e23b6c (svn r25892) -Fix: off-by-one error in GetVia prevented certain flows from getting picked 11 years ago
fonsinchen fff00b6460 (svn r25891) -Feature: Use smallstack to allow for multiple next hops when loading and unloading. 11 years ago
zuu e124838db5 (svn r25849) -Codechange: Introduce IsTileFlat to not compute full slope information for situations when we only want to know if a tile is flat or not (cirdan, LordAro) 11 years ago
rubidium 3e03733fa6 (svn r25495) -Fix [FS#5553]: when addings bits to a (train) station, the train trying to stop there could overshoot the (new) stop location and not stop at all 11 years ago
rubidium 7134b7c8a1 (svn r25461) -Fix: MSVC compiler warning 11 years ago
fonsinchen 5733569153 (svn r25435) -Fix: reroute cargo in vehicles if station is deleted 11 years ago
fonsinchen 6ce6fd05d8 (svn r25434) -Fix: reroute cargo staged for unloading if a link breaks 11 years ago
fonsinchen e3807ed606 (svn r25424) -Fix: keep old flows around in an invalidated state to continue routing cargo if necessary 11 years ago
fonsinchen ed42250361 (svn r25391) -Fix: make ChangeShare really aware of INT_MIN 11 years ago
fonsinchen 07ce972211 (svn r25379) -Fix: avoid warning in FlowStatMap::FinalizeLocalConsumption 11 years ago
fonsinchen 7b2f8a885e (svn r25365) -Feature: show cargo by next hops and final destinations in the station GUI 11 years ago
fonsinchen 1de46050f6 (svn r25362) -Feature: consider cargo waiting at other stations for rating at the origin station 11 years ago
fonsinchen f022550df9 (svn r25361) -Feature: distribute cargo according to plan given by linkgraph 11 years ago
fonsinchen 9f49617eed (svn r25359) -Codechange: schedule jobs when tracking capacities of links 11 years ago
fonsinchen c45cfa22a6 (svn r25346) -Codechange: Glue between stations and flow stats 11 years ago
fonsinchen 9f54020588 (svn r25345) -Add: implementation of SharesMap and FlowStatMap 11 years ago
rubidium 0d9a8b07ec (svn r25260) -Codechange: occasionally clear dead links and compress link graphs (fonsinchen) 12 years ago
rubidium 6b746167e4 (svn r25259) -Codechange: track capacities and usage of links 12 years ago
rubidium 7283ec9ef5 (svn r25251) -Fix [FS#5540]: when overbuilding a reserved track with a non-track station tile, that tile would remain reserved and eventually trigger a crash upon removal 12 years ago
rubidium 026de5c3a9 (svn r25243) -Fix [FS#5546]: "No station" error was given, even when there was a station that way occupied or not yours 12 years ago
frosch c5d7445704 (svn r25185) -Fix [FS#5508]: Remove ambivalent functions CargoList::Empty() and Count(), and replace them with VehicleCargoList::StoredCount(), TotalCount(), StationCargoList::AvailableCount() and TotalCount(). (fonsinchen) 12 years ago
rubidium e0d3265546 (svn r25149) -Codechange: replace 'magic' 'has rating' bitcheck by descriptive function 12 years ago
rubidium ea035f4804 (svn r25132) -Fix [FS#5510, FS#5516]: station rebuilding could leave reserved tiles which caused crashes later on 12 years ago
rubidium 43bc429a0d (svn r25016) -Fix [FS#5476]: integer overflow in UpdateStationRating (fonsinchen) 12 years ago
rubidium 84ca041564 (svn r25008) -Codechange: Make CargoList::Truncate behave similarly to CargoList::MoveTo, i.e. pass the amount to truncate (fonsinchen) 12 years ago
rubidium 3e7d2f852e (svn r24961) -Fix [FS#5362] (r23564): making occupied platforms larger would 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 12 years ago