News:

Simutrans Sites
Know our official sites. Find tools and resources for Simutrans.

Signals on diagonals have wrong direction info

Started by Vladki, June 23, 2018, 12:07:42 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Vladki

Hello,

I have noticed that signals on diagonal track have a but weird direction info. It should show the direction of exit from the tile, bit it shows the entry direction. See the screenshot here:

The signal on left (choose signal) should have direction south, and the signal on right (distant) direction west.

jamespetts

I am not sure whether this is really solvable: Simutrans does not really have diagonals: what appear to be diagonals are actually treated in the game as a series of straight lines in a step formation, and the underlying directional information is based on this.
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.

Vladki

I thought just using a different value from the ribi might be enough, but I do not know enough about this par of code.