The International Simutrans Forum

 

Author Topic: Coming feature information: new 3 list dialogs  (Read 820 times)

0 Members and 1 Guest are viewing this topic.

Offline Ranran

  • Devotee
  • *
  • Posts: 1478
  • Languages: ja
Coming feature information: new 3 list dialogs
« on: September 27, 2020, 04:59:03 PM »
Many features will be added from Standard. This is a partial advance notice.

Two list functions are added from the standard.
- Depot list
- Vehicle list

And I was inspired by them to create a Signalbox list.

A total of 3 list dialogs will be added.
These can be registered in the tool menu and also in the shortcut key.
Code: [Select]
dialog_tool[32]=,^D
dialog_tool[33]=,^V
dialog_tool[128]=,^S
Therefore, it is advisable to have icons for these lists.
Since the signalbox dialog tool is unique to extended, it is registered at number 128.

Notice the difference between the Convoy list and the vehicle list. The existing convoy list is like a train list, and the vehicle list is like a pictorial book. You can see the difference in standard.

Unfortunately, due to technical issues, the vehicle list is unable to incorporate any more commits. Therefore, it is not currently optimized for extended. (´・ω・`)
It may be better to keep it sealed by not registering shortcut keys and menus until it is optimized.
I will post the technical issues in another thread.
« Last Edit: October 24, 2020, 10:45:10 PM by Ranran »

Offline Ranran

  • Devotee
  • *
  • Posts: 1478
  • Languages: ja
Re: Coming feature information: new 3 list dialogs
« Reply #1 on: November 01, 2020, 06:43:20 AM »
Use the attached menuconf to test the three newly added dialogs.

ctrl + Ddepot list
ctrl + Vvehicle list
ctrl + Ssignalbox list

You may want to rename the existing "Vehicle List" to something like "Convoy List".
I think the depot list is one of the most useful features. It is recommended to create an icon and place it inside the list tools. (Signalbox list if possible too)
The (new) vehicle list has not yet been optimized for specifications.

Offline Vladki

  • Devotee
  • *
  • Posts: 3714
    • My addons, mostly roadsigns, pak128.cs
  • Languages: EN, CS
Re: Coming feature information: new 3 list dialogs
« Reply #2 on: November 01, 2020, 12:25:20 PM »
Depot and signalbox list are good idea. I thought that convoy list already exists. But I think that ctrl - c and ctrl - v is already used for copy&paste  (and ctrl-x for cut)

If you are at depot list, could you please look at the arrows on the top of depot window? They should list through all depots, but they do so only in one direction, and do not wrap around.

Similar arrows would be nice on signalboxes too.
Thank you.

Offline jamespetts

  • Simutrans-Extended project coordinator
  • Administrator
  • *
  • Posts: 20720
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: Coming feature information: new 3 list dialogs
« Reply #3 on: November 01, 2020, 02:14:44 PM »
This is most interesting - thank you for your work on this. Should not these new lists also be accessible from the lists dialogue in the GUI? Each pakset may need new icons for these.

Offline Freahk

  • Devotee
  • *
  • Posts: 1470
  • Languages: DE, EN
Re: Coming feature information: new 3 list dialogs
« Reply #4 on: November 01, 2020, 03:34:18 PM »
But I think that ctrl - c and ctrl - v is already used for copy&paste
I guess that's the same as with any non-ctrl hotkeys, but I didn't try.
When you have a textbox in focus, it will catch the key codes, for example b, which is block reservation, or even backspace and delete, which is close all respectively one window, so I'd exct ctrl+c to be caught by the textbox, which should not interfere with ctrl+c when no textbox is opened at all.
Again, I did not test this, but if it does interfere, I'd rather expect it to be a bug than a feature.

Offline Ranran

  • Devotee
  • *
  • Posts: 1478
  • Languages: ja
Re: Coming feature information: new 3 list dialogs
« Reply #5 on: December 06, 2020, 04:26:09 AM »
I pushed the depot list signalbox list icon and shortcut key added to my github branch, please confirm.
https://github.com/Ranran-the-JuicyPork/simutrans-pak128.britain/tree/newlists

Please adjust the key assignment. And you need to draw the assignment key on the icon as well.

About the vehicle list icon, it is similar to the convoy list so I don't know what to design. (´・ω・`)
Therefore, a temporary plain icon is currently registered.

Offline jamespetts

  • Simutrans-Extended project coordinator
  • Administrator
  • *
  • Posts: 20720
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: Coming feature information: new 3 list dialogs
« Reply #6 on: December 12, 2020, 07:21:43 PM »
For reference, these features will be part of the game from to-morrow's nightly build onwards.

Many thanks to Ranran for the splendid work in adding these.