News:

Simutrans Wiki Manual
The official on-line manual for Simutrans. Read and contribute.

traffic light info window

Started by Andarix, February 19, 2024, 06:12:47 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Andarix

Minor changes to this window that make it a little easier to understand.

The window width should be slightly larger.
I don't know why the Setting input field is a little smaller than the others.

left new, right old

traffic_light_patch.png

Ranran



Standard may be able to refer to extended code.
https://github.com/jamespetts/simutrans-extended/blob/master/gui/trafficlight_info.cc

Focus on the relevant parts, I suppose there is probably not much difference.
However, there is a difference between the expressions Yellow and Amber.

Andarix

#2
other variant

traffic_light_patch_2.png

Andarix

change object name from roadsign to object name