The International Simutrans Forum

Development => Patches & Projects => Incorporated Patches and Solved Bug Reports => Topic started by: Andarix on January 20, 2022, 09:33:53 PM

Title: r10379 - not add halt to schedule
Post by: Andarix on January 20, 2022, 09:33:53 PM
New vehicle schedule or new line schedule can not add halts.
Title: Re: r10379 - not add halt to schedule
Post by: prissi on January 21, 2022, 02:25:56 AM
r10382 allows schedule with one entry passing cleanup (which is not indended\by this routine though)..

And cleaning up schedules during draw can lead also to changing the first or last entry. I think some more work is needed, so I leave this open.
Title: Re: r10379 - not add halt to schedule
Post by: Dwachs on January 21, 2022, 08:00:01 AM
Added an extra button to clear up double entries. Also moving entries up/down does correctly modify current-stop index. Please test r10385
Title: Re: r10379 - not add halt to schedule
Post by: prissi on January 21, 2022, 12:22:24 PM
I do not see the button, but I like the red color for illegal entries and the cleaning up of them after closing.
Title: Re: r10379 - not add halt to schedule
Post by: Dwachs on January 21, 2022, 12:40:35 PM
The button replaces the 'copy backward/mirror' button if there is an invalid entry.
Title: Re: r10379 - not add halt to schedule
Post by: prissi on January 21, 2022, 12:44:03 PM
Oh, maybe this button needs to become red as well ...  Also I think I will translate it to "Repair Schedule" in the tranlator.

Anyway, the visual highlite is very good. Thank you.
Title: Re: r10379 - not add halt to schedule
Post by: Yona-TYT on January 25, 2022, 04:52:08 AM
If a vehicle cannot find the route, is it possible to visually highlight the waypoint in red in the schedule list?, I think it can be useful.
I apologize for not creating a new topic.  :-[ 
Title: Re: r10379 - not add halt to schedule
Post by: prissi on January 25, 2022, 05:08:50 AM
The target waypoint is selected anyway in the schedule.