News:

Simutrans Tools
Know our tools that can help you to create add-ons, install and customize Simutrans.

Schedule dialog & map interaction

Started by Fabio, January 27, 2012, 10:33:15 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Fabio


This request has been split from here: http://forum.simutrans.com/index.php?topic=9072.msg84571#msg84571
When schedule dialog is open, all TILES marked as stops or way points should be highlighted in red on the map, and a label is shown on the tile with the stop number in schedule.

This would make enormously easier selecting complicated routes and even more editing them afterward.

Fabio

I split this post and put it back in Extension Requests, as it seems it has been overlooked.

Is it doable? It would be a great improvement in settin up lines and schedules.

prissi

It was not too hard for way tiles on land. Water will not really work well with this.

Fabio

So also this is done? Amazing, I didn't realize it. I'll try next nightlies...

Fabio

I'm afraid I didn' see any highlighting in rev. 5158:



Dwachs

There is an option in the display settings ...
Parsley, sage, rosemary, and maggikraut.

Fabio

Thanks, I overlooked it. And rightfully it's checked by dafault.

BUT I don't see any effect, having it checked or unchecked...

Dwachs

Bug: does not work for railroad yet. It is working for road vehicles.
Parsley, sage, rosemary, and maggikraut.

Fabio

Wow, thank you for discovering.

For which way types should it work in its final form?

Roads
Tracks, tram tracks, monorails, etc
Airports?
Sea, canals and rivers?

Prissi said it doesn't look good on water, otoh for consistency it should be added also there...

Fabio

Sorry for the double post.

I tried now the roads, it works like charm!

I'm requesting one more thing: the stop/waypoint currently selecte in schedule dialog should be highlighted in a different color (e.g. orange vs red) so I can see before which one I'm inserting a new stop and so on.

Numbering would have been great too, but maybe too hard to implement. At least with orange highlighting of the selected stop, I can click on the schedule list and see which is which.

prissi

This is not so easy possible, as I used up all available bits. I could put a marker there.

Fabio

A marker on every stop with the number (eg: 4) and number + something else for the selected one (eg: 4 *)?

This would be awesome!

prissi

fabio, just to note: Thou have become greedy. I will henceforth ignore your not so humble requests for a fortnight ;)

Fabio

You know: when discussion and actual work are started on a topic, I like to hammer the iron till it's hot ;)

Dwachs

Highlighted ways cannot be seen if the stop is on a station tile. Maybe highlkight the station graphics, too?
Parsley, sage, rosemary, and maggikraut.

Fabio

It seems logical...

I think these schedule dialog changes will improve lines management dramatically..Thank you all for looking into this.

prissi

One could everything non-moving on a tile. Easy.

Fabio

I tested it again today:


Quote
Revision 5164
2012-01-30 Revision 5164 2012-01-30 23:10:17
prissi modified 6 items in /simutrans/trunk
   gui/fahrplan_gui.h
   dings/baum.cc
   dings/baum.h
   simdings.cc
   boden/boden.cc
   gui/fahrplan_gui.cc
FIX: better highliting of schedule on tracks


It's awesome, I think it's one of the best additions for UI in a while!


I still need to report a couple of issues:





The stop sign doesn't dirty the tile above, so when you move it, a part of it remains there (graphic glitch)


This however doesn't happen on sea, beacuse of its animation ;)





Stop sign gets hidden by the roof of the station, if any. I'm afraid this can't be helped.







Finally, if all not moving objects get highlighted, why here only the way and not the station as well?






Anyway, many screenshots to show the wonders of this change!!!


Than you very much, Prissi!

prissi

On water things cannot be done much better; but now highliting everything on a tile (Be prepared for strange looking oil rigs though.)

Fabio

Thank you, I'll check in next nightly (also the glitch)

Fabio

Checked today:


The station highlighting is great! Thank you!


But the display glitch is still there:


Quote



The stop sign doesn't dirty the tile above, so when you move it, a part of it remains there (graphic glitch)

Moving the current stop in schedule list moves it on the map, but a part of the marker is left behind.

Just to report it ;)


(The screenshot is old as the problem remained, but I tested against 5185 8))

sdog


swed

Wow, great addition ! Thanks !

Here are 2 related highlight issues, from last svn revision :
- Convoi frame : click 'schedule', change line in combobox, close windows : halts stay highlighted after all windows are closed ; see screenshot1.jpg.
- Line edit frame : highlight problem in halt list ; see screenshot2.jpg.

Bye !