Age | Commit message (Collapse) | Author |
|
references. (#7431)
Linkgraph nodes require a specific order that was maintained by swapping just the last
element for the node to be removed. std::vector::erase() changed this to removing the
node is then shuffling the remain items down, which upsets other references to this
indices.
This is fixed by switching back to the original swap & pop method.
|
|
|
|
|
|
std::vector::[push|emplace]_back()
|
|
|
|
|
|
|
|
|
|
This avoids windows from needing to know or care about tooltip delay settings.
|
|
Previously the linkgraph was rebuilt before the viewport extents were finalized.
|
|
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.
|
|
|
|
Frame rate and various game loop/graphics timing measurements and graphs. Accessible via the Help menu, and can print some stats in the console via the fps command.
|
|
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.
|
|
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.
|
|
|
|
|
|
threads. (JGR)
|
|
refresher cargo capacities. (JGR)
|
|
FlowEdgeIterator. (JGR)
|
|
std::queue/vector. (JGR)
|
|
|
|
|
|
spaces)
|
|
characters, e.g. @þaram to @param
|
|
|
|
|
|
graphs to reduce size.
|
|
with actual pickup), s/acceptance_pickup/status/ (the enum isn't called GoodEntryStatus for a reason; it's not only acceptance and pickup anymore)
|
|
|
|
|
|
"unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
|
|
|
|
_settings_game.vehicle.road_side (M3Henry)
|
|
(MildaIV)
|
|
sign is moved
|
|
after SLA_NULL.
|
|
switched off.
|
|
|
|
|
|
|
|
with only one node
|
|
different company and make sure company masks are valid
|
|
|
|
|
|
LinkGraph DeleteStaleLinks() is examining.
|
|
item destructors during pool cleaning.
|
|
stations) as dashed lines and show them in every company's link graph overlay.
|
|
|
|
|