The International Simutrans Forum

Development => Patches & Projects => Incorporated Patches and Solved Bug Reports => Topic started by: RESTRICTED ACCOUNT on March 02, 2022, 10:57:57 AM

Title: Minimap does not show multiple factory links at the same time
Post by: RESTRICTED ACCOUNT on March 02, 2022, 10:57:57 AM
I think the factory chain display in minimap should be the current on top factory dialog or last one, not all the factories where the dialog is open. In other words, the factory link display is always based on one factory.
This is the same as the behavior of line and convoy. Why would only factories refer to all dialogs? Is there any special reason?
In my opinion, I would like to have multiple factory dialogs open, but since they are all displayed in minimap, I have to close the factory dialog when I want to examine a link from a particular factory.
It would require additional effort to open that factory dialog again.
I think that if many factory links are displayed at the same time, the information is difficult to grasp due to the many displays.
Title: Re: Minimap does not show multiple factory links at the same time
Post by: RESTRICTED ACCOUNT on March 09, 2022, 12:10:42 PM
Well, I was lazy, so I didn't try to implement it and thought it was much effort to implement.
It was possible just by looping from the opposite and escaping the loop the first time it was found. (´・ω・`)
This simplicity is like Japanese instant noodles...

I don't know if you think this is desirable, but the code is here (https://github.com/Ranran-the-JuicyPork/simutrans-extended/commit/fae1da9756be63ce943becc9087048f6e7d6409a).
Title: Re: Minimap does not show multiple factory links at the same time
Post by: prissi on June 02, 2022, 03:48:36 AM
Incorporated in r10653, thank you.
Title: Re: Minimap does not show multiple factory links at the same time
Post by: Yona-TYT on June 02, 2022, 04:02:59 AM
QuoteQuote from: Ranran on 9/3/2022, 8:10:42This simplicity is like Japanese instant noodles...

I understand that our esteemed @prissi loves Japanese culture. 👍