Jonathan G Rennison
c6854afcef
Pause the game instead of blocking when link graph jobs lag.
...
Check if the job is still running one date fract tick before it
is due to join and if so pause the game until its done.
This avoids the main thread being blocked on a thread join.
Show if pause is due to link graph job in status bar, update network
messages.
This does not apply for network clients.
2015-09-03 18:36:30 +01:00
frosch
a14b836bf2
(svn r27178) -Fix [FS#5969]: Data race due to lazy initialisation of objects.
2015-03-07 18:27:01 +00:00
rubidium
0c2f4bdc2b
(svn r27020) -Cleanup: some coding style consistency improvements (mostly spaces)
2014-10-15 18:31:37 +00:00
rubidium
26574124b1
(svn r27002) -Fix-ish: replace some non-ASCII characters with ASCII characters, e.g. @þaram to @param
2014-10-12 18:26:54 +00:00
fonsinchen
78df68e695
(svn r26891) -Codechange: Add methods to retrieve flows from a FlowStatMap
2014-09-21 16:19:52 +00:00
fonsinchen
ce9d75f517
(svn r26889) -Feature: Predict links for station-autorefitting vehicles
2014-09-21 14:22:32 +00:00
fonsinchen
ef2caa02b2
(svn r26646) -Fix [FS#6041]: Save locations instead of distances in link graphs to reduce size.
2014-06-14 13:35:39 +00:00
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)
2014-05-11 18:02:11 +00:00
fonsinchen
b8381b6b25
(svn r26549) -Change: better estimation for link capacities during full load
2014-05-01 14:50:52 +00:00
fonsinchen
547e8233be
(svn r26484) -Change: Remove demand calculation based on tiles.
2014-04-23 20:23:22 +00:00
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
2014-04-23 20:13:33 +00:00
fonsinchen
8395c08738
(svn r26448) -Fix [FS#5970]: Avoid division by 0 when scaling flow values.
2014-04-08 19:28:14 +00:00
fonsinchen
d6097956a5
(svn r26445) -Change [FS#5961]: Draw links to match _settings_game.vehicle.road_side (M3Henry)
2014-04-05 14:28:55 +00:00
fonsinchen
e4385f1423
(svn r26411) -Change [FS#5941]: Use better distance metric for link graph (MildaIV)
2014-03-17 20:33:26 +00: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
fonsinchen
ebcba0c0e3
(svn r26347) -Fix [FS#5898]: Make sure link graph jobs can delete themselves after SLA_NULL.
2014-02-16 18:42:59 +00:00
fonsinchen
537975b794
(svn r26341) -Fix [FS#5902]: Reroute cargo when automatic distribution is switched off.
2014-02-16 11:17:17 +00:00
fonsinchen
86ebb981f1
(svn r26331) -Fix: some inconsistencies regarding link graph (job) IDs.
2014-02-10 20:13:07 +00:00
fonsinchen
b31a1119fb
(svn r26286) -Fix: Thoroughly erase dead flows.
2014-01-29 19:55:29 +00:00
fonsinchen
21a5571d07
(svn r26283) -Fix [FS#5878]: Prevent infinite recursion also in RefreshLinks.
2014-01-28 19:49:43 +00:00
fonsinchen
cd68a2d8a5
(svn r26276) -Fix [FS#5874]: Don't spawn link graph jobs for link graphs with only one node
2014-01-24 21:39:07 +00:00
fonsinchen
ced1bfa60f
(svn r26266) -Fix [FS#5860]: Update smallmap overlay if player joins different company and make sure company masks are valid
2014-01-19 09:26:56 +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
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
frosch
795e94c87b
(svn r25934) -Fix [FS#5793]: Do not access items from other pools in pool item destructors during pool cleaning.
2013-10-31 20:31:10 +00:00
fonsinchen
532744d9ee
(svn r25912) -Fix [FS#5676]: Draw 'shared' links (involving neutral stations) as dashed lines and show them in every company's link graph overlay.
2013-10-23 19:42:17 +00:00
fonsinchen
3ebe7e3ef9
(svn r25909) -Fix (r25906): That simplification was a bit too much.
2013-10-23 17:11:34 +00:00
fonsinchen
9596352830
(svn r25908) -Fix: Some documentation for constructors of LinkRefresher::Hop.
2013-10-22 19:25:29 +00:00
fonsinchen
a7f07d50b7
(svn r25906) -Fix: Simplify condition logic in link refresher.
2013-10-22 18:46:58 +00:00
fonsinchen
ca0486e410
(svn r25905) -Codechange: A more robust way of detecting loops during order prediction.
2013-10-22 18:46:20 +00:00
fonsinchen
8ef95222c9
(svn r25904) -Fix: add forgotten files
2013-10-22 18:45:55 +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
6580fd4b8f
(svn r25885) -Codechange: Keep paths sorted so that the ones with flow == 0 are in the back and don't have to be iterated over so often.
2013-10-19 17:15:19 +00:00
fonsinchen
75cff48a5d
(svn r25867) -Fix [FS#5764]: Shift dates on link graphs when using scenario editor date tool.
2013-10-15 17:32:31 +00:00
frosch
ec68541fb8
(svn r25861) -Fix [FS#5760]: Scale linkgraph legend according to text dimensions.
2013-10-13 13:44:58 +00:00
fonsinchen
8d50c98ef9
(svn r25741) -Fix: shift join dates of link graph jobs when using the date cheat
2013-08-23 18:37:45 +00:00
frosch
0284db1a31
(svn r25731) -Fix [FS#5692]: Minor RTL alignment issues. (sbr)
2013-08-18 19:30:25 +00:00
fonsinchen
c1d043f516
(svn r25637) -Fix: don't keep minimal routing information if automatic distribution has been disabled
2013-07-30 19:03:56 +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
72f464e6b5
(svn r25423) -Fix: integer overflows in MCF solver
2013-06-17 20:37:31 +00:00
fonsinchen
450834a8ff
(svn r25422) -Fix: properly initialize base capacity for paths
2013-06-17 20:37:07 +00:00
rubidium
5eac8ba705
(svn r25387) -Fix: "typos" in @file filename
2013-06-09 18:58:36 +00:00
fonsinchen
5cd8240544
(svn r25364) -Add: support for flow stats to linkgraph overlay
2013-06-09 13:07:53 +00:00
fonsinchen
94baba190e
(svn r25357) -Add: flow mapper for link graph
2013-06-09 13:01:23 +00:00
fonsinchen
1cc410f7bb
(svn r25356) -Add: Multi-Commodity-Flow solver for link graph
2013-06-09 13:00:41 +00:00
fonsinchen
aa393a8ee9
(svn r25355) -Add: demand handler for link graph
2013-06-09 12:59:51 +00:00
fonsinchen
97a9908b0e
(svn r25354) -Add: link graph schedule and typedefs for LinkGraph and related classes
2013-06-09 12:58:37 +00:00