summaryrefslogtreecommitdiff
path: root/src/linkgraph/linkgraph_gui.cpp
AgeCommit message (Collapse)Author
2019-01-28Codechange: [Linkgraph GUI] Replace line visibility detection algorithmJonathan G Rennison
Use an implementation of the Cohen-Sutherland line-clipping algorithm. The previous algorithm had an excessive false-positive rate. Line-rendering is sufficiently expensive that using a line-clipping algorithm with a much lower false-positive rate is a net performance benefit.
2018-10-31Doc: Lots and lots of doxymentation fixesCharles Pigott
2018-06-24Add: Hover tool-tips to cargo dest flow legend window.Jonathan G Rennison
This is to improve the usability of the window. The two-letter abbreviations are not always clear, in particular when using a large number of cargoes. The company colours can be ambiguous when there are a large number of companies.
2018-06-24Fix: Poor contrast in cargo dest flow legend window cargo labels.Jonathan G Rennison
Select foreground colour depending on the brightness of the background. Previously all cargo labels were rendered using black text, even the background cargo colour was dark/black. As an example: FIRS coal was black text on a black background.
2018-05-21Change: Add CargoTypes type for cargo masks. (#6790)PeterN
2014-09-21(svn r26891) -Codechange: Add methods to retrieve flows from a FlowStatMapfonsinchen
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-05(svn r26445) -Change [FS#5961]: Draw links to match ↵fonsinchen
_settings_game.vehicle.road_side (M3Henry)
2013-10-23(svn r25912) -Fix [FS#5676]: Draw 'shared' links (involving neutral ↵fonsinchen
stations) as dashed lines and show them in every company's link graph overlay.
2013-10-13(svn r25861) -Fix [FS#5760]: Scale linkgraph legend according to text ↵frosch
dimensions.
2013-08-18(svn r25731) -Fix [FS#5692]: Minor RTL alignment issues. (sbr)frosch
2013-06-09(svn r25364) -Add: support for flow stats to linkgraph overlayfonsinchen
2013-06-08(svn r25334) -Fix: Position the linkgraph legend window automatically like ↵frosch
most windows.
2013-05-26(svn r25290) -Add: Assign string names to notable windows.frosch
2013-05-26(svn r25287) -Codechange: Keep a reference to the WindowDesc in the Window ↵frosch
after construction.
2013-05-19(svn r25264) -Feature: linkgraph overlay over main viewport (fonsinchen)rubidium
2013-05-19(svn r25263) -Add: legend for linkgraph overlay (fonsinchen)rubidium
2013-05-19(svn r25262) -Feature: linkgraph overlay for smallmaprubidium
2013-05-19(svn r25261) -Add: abstract implementation of linkgraph overlay for GUI ↵rubidium
(fonsinchen)