News:

Use the "Forum Search"
It may help you to find anything in the forum ;).

PR#573 - Color-code the waytype

Started by Ranran, September 19, 2022, 01:17:18 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Ranran

Hi, there.
Unfortunately the typhoon gave me time to code. (´・ω・`)

The patch color-codes the waytype and makes the GUI gorgeous. It's about having the system do exactly what pak192.comic does.
The color of each waytype can be customized by describing it in simuconf.tab. If nothing is set, the default color will be used. If you don't want to use any color, set it to black, i.e. 0(#000000).

The sample is commented out in simuconf.tab, so please refer to it. Pakset should set the colors in own simuconf.tab.

Waytype colors are used as depot color, tab background color and background color of waytype symbol.
This change clarifies the difference between waytype symbols and facility symbols.
In other words, the symbol indicating that the station has a bus stop does not have a background color, but the symbol indicating that the station has a bus route has a background color.

In some UIs, the background color of the depot symbol indicates which waytype type of depot it is. You can see it on the depot list and minimap. The depot symbol on the minimap varies in size depending on its level. The color scale displays the depot color legend.

I hope this patch can add some delicious flavor to your simutrans extended.
See you again when the next typhoon hits. (´・ω・`)