frosch
9040444ebc
(svn r26595) [1.4] -Backport from trunk:
...
- Fix: Transfer stations also should have a cargo rating [FS#5989] (r26581, r26580)
- Fix: [Network] AIs would not reset certain network state information upon creation of their company [FS#6003] (r26578, r26576)
- Fix: [Network] Client of non-dedicated server was not correctly put into the first company for all state variables [FS#6001] (r26577)
2014-06-04 19:28:43 +03:00
frosch
5fd1ac47ad
(svn r26461) [1.4] -Backport from trunk:
...
- Fix: Avoid division by 0 when scaling flow values [FS#5970] (r26448)
- Feature: Draw links to match _settings_game.vehicle.road_side [FS#5961] (r26445)
- Change: Use pkg-config for libpng as well (r26435, r26433, r26432)
- Feature: Load button for heightmap list [FS#5953] (r26428)
2014-06-04 19:24:37 +03:00
fonsinchen
3570104d24
(svn r26393) -Fix: Update distances between link graph nodes when station sign is moved
2014-03-06 21:19:41 +00:00
frosch
504bd2a913
(svn r26375) -Fix [FS#5929]: Station sizes > 8 were always allowed. (adf88)
2014-02-24 19:57:18 +00:00
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
2014-02-22 19:52:13 +00:00
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.
2014-01-23 20:23:14 +00:00
fonsinchen
fea3a433b2
(svn r26166) -Fix: Scale flows only after mapping to avoid rounding errors.
2013-12-20 14:57:44 +00:00
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.
2013-11-16 17:52:00 +00:00
fonsinchen
05b50ada5c
(svn r25963) -Fix [FS#5758]: Mixtures of old and new flows could create cycles.
2013-11-10 15:18:49 +00:00
fonsinchen
b83b4ab4c2
(svn r25948) -Fix [FS#5796]: Make sure LinkRefresher doesn't delete the LinkGraph DeleteStaleLinks() is examining.
2013-11-07 20:50:03 +00:00
fonsinchen
25e40b1e5b
(svn r25915) -Fix: Unrestricted flow was counted incorrectly when invalidating flow.
2013-10-27 11:51:14 +00:00
fonsinchen
49d2cd4049
(svn r25910) -Fix: Guard against empty FlowStats in a few more places.
2013-10-23 19:04:06 +00:00
fonsinchen
fb281ce23c
(svn r25903) -Codechange: Refactor RefreshNextHopsStats into an own class LinkRefresher.
2013-10-22 18:34:10 +00:00
fonsinchen
97e1013863
(svn r25901) -Fix [FS#5675]: Check if any vehicles are still serving a link before deleting it.
2013-10-22 16:19:31 +00:00
fonsinchen
7025a145e3
(svn r25899) -Change: Restrict flows if links are restricted and don't normally pick them anymore.
2013-10-22 16:13:54 +00:00
fonsinchen
d0c610f0ec
(svn r25898) -Codechange: Add second timestamp for 'restricted links' to all edges.
2013-10-22 16:13:28 +00:00
fonsinchen
8d53e23b6c
(svn r25892) -Fix: off-by-one error in GetVia prevented certain flows from getting picked
2013-10-20 14:27:36 +00:00
fonsinchen
fff00b6460
(svn r25891) -Feature: Use smallstack to allow for multiple next hops when loading and unloading.
2013-10-20 13:47:58 +00:00
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)
2013-10-12 22:07:58 +00:00
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
2013-06-28 18:09:07 +00:00
rubidium
7134b7c8a1
(svn r25461) -Fix: MSVC compiler warning
2013-06-25 18:52:12 +00:00
fonsinchen
5733569153
(svn r25435) -Fix: reroute cargo in vehicles if station is deleted
2013-06-23 08:29:28 +00:00
fonsinchen
6ce6fd05d8
(svn r25434) -Fix: reroute cargo staged for unloading if a link breaks
2013-06-23 08:28:53 +00:00
fonsinchen
e3807ed606
(svn r25424) -Fix: keep old flows around in an invalidated state to continue routing cargo if necessary
2013-06-17 20:38:11 +00:00
fonsinchen
ed42250361
(svn r25391) -Fix: make ChangeShare really aware of INT_MIN
2013-06-10 21:53:11 +00:00
fonsinchen
07ce972211
(svn r25379) -Fix: avoid warning in FlowStatMap::FinalizeLocalConsumption
2013-06-09 14:10:33 +00:00
fonsinchen
7b2f8a885e
(svn r25365) -Feature: show cargo by next hops and final destinations in the station GUI
2013-06-09 13:08:52 +00:00
fonsinchen
1de46050f6
(svn r25362) -Feature: consider cargo waiting at other stations for rating at the origin station
2013-06-09 13:04:32 +00:00
fonsinchen
f022550df9
(svn r25361) -Feature: distribute cargo according to plan given by linkgraph
2013-06-09 13:03:48 +00:00
fonsinchen
9f49617eed
(svn r25359) -Codechange: schedule jobs when tracking capacities of links
2013-06-09 13:02:40 +00:00
fonsinchen
c45cfa22a6
(svn r25346) -Codechange: Glue between stations and flow stats
2013-06-09 12:49:47 +00:00
fonsinchen
9f54020588
(svn r25345) -Add: implementation of SharesMap and FlowStatMap
2013-06-09 12:48:42 +00:00
rubidium
0d9a8b07ec
(svn r25260) -Codechange: occasionally clear dead links and compress link graphs (fonsinchen)
2013-05-19 14:26:14 +00:00
rubidium
6b746167e4
(svn r25259) -Codechange: track capacities and usage of links
2013-05-19 14:22:04 +00:00
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
2013-05-18 18:59:06 +00:00
rubidium
026de5c3a9
(svn r25243) -Fix [FS#5546]: "No station" error was given, even when there was a station that way occupied or not yours
2013-05-13 21:04:12 +00:00
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)
2013-04-13 13:42:08 +00:00
rubidium
e0d3265546
(svn r25149) -Codechange: replace 'magic' 'has rating' bitcheck by descriptive function
2013-04-06 12:10:16 +00:00
rubidium
ea035f4804
(svn r25132) -Fix [FS#5510, FS#5516]: station rebuilding could leave reserved tiles which caused crashes later on
2013-03-31 20:07:32 +00:00
rubidium
43bc429a0d
(svn r25016) -Fix [FS#5476]: integer overflow in UpdateStationRating (fonsinchen)
2013-02-17 20:16:49 +00:00
rubidium
84ca041564
(svn r25008) -Codechange: Make CargoList::Truncate behave similarly to CargoList::MoveTo, i.e. pass the amount to truncate (fonsinchen)
2013-02-17 14:10:15 +00:00
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
2013-02-03 10:03:38 +00:00
frosch
52aaa492e7
(svn r24951) -Fix: [NewGRF] Var 10 of CB 24 missed the T part.
2013-01-31 18:34:11 +00:00
peter1138
1e10e91fde
(svn r24905) -Feature(ish): Implement station randomisation triggers.
2013-01-11 07:39:25 +00:00
planetmaker
f00d9976f9
(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow)
2013-01-08 22:46:42 +00:00
peter1138
9eadd83372
(svn r24840) -Fix: Draw NewGRF railtypes in NewGRF station previews.
2012-12-23 15:38:54 +00:00
frosch
41ecc712ec
(svn r24721) -Fix (r24715): Reallow building road stations.
2012-11-13 21:41:54 +00:00
frosch
620bc7b52d
(svn r24720) -Fix (r24715): Comparison of different height units.
2012-11-13 21:40:50 +00:00
frosch
193ee85c6f
(svn r24718) -Codechange: Rename GoodsEntry::days_since_pickup to GoodsEntry::time_since_pickup.
2012-11-12 21:59:02 +00:00
frosch
80350a9063
(svn r24715) -Fix [FS#5335]: [NewGRF] Allow stations to draw snow/desert aware ground sprites with railtype overlays.
2012-11-12 20:13:34 +00:00