News:

Want to praise Simutrans?
Your feedback is important for us ;D.

Unidirectional End of Choose sign

Started by freddyhayward, September 15, 2019, 04:06:51 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

freddyhayward

Given current priorities, would it take much work to allow the unidirectional placement of end of choose signs? This would allow sections of track to only be excluded from choose signals in one direction. It would also be useful in creating passing loops using bi-directional tracks as previously discussed here: https://forum.simutrans.com/index.php/topic,18557.msg176176.html#msg176176

jamespetts

I do not know the answer from memory - it would actually take quite a considerable amount of work to answer the question. I suspect that it would require some significant work in the code, but whether "significant" here means adding a half dozen lines of very carefully worked out code to calculate directionality in one place or whether it means altering a very large number of bits of code scattered all about the codebase that would take a huge amount of work to track down and work out the correct way of changing I would not be able to tell without undertaking a very large amount of work.
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.