Mass orders/grouping interface
Moderator: OpenTTD Developers
-
- Traffic Manager
- Posts: 146
- Joined: 27 Dec 2004 19:37
- Location: Home of the Big Cat
Tried to compile diff r8288 with nightly r8288 getting a load of errors see attached
- Attachments
-
- Group.txt
- (3.96 KiB) Downloaded 268 times
-
- Traffic Manager
- Posts: 146
- Joined: 27 Dec 2004 19:37
- Location: Home of the Big Cat
Hello,
I updated the patch against r8332.
Now the group are working with all vehicles type.
I updated the patch against r8332.
Now the group are working with all vehicles type.
- Attachments
-
- group_interface_r8332.diff
- (90.34 KiB) Downloaded 313 times
-
- La SNCF, 13th Nov 2008 #1.png (52.67 KiB) Viewed 6451 times
-
- Nycom & Co, 6th Jan 2078.png (65.61 KiB) Viewed 6447 times
I think there could be a possible problem with the create rename delete buttons now as they are small and it may be hard to fit translations into the smaller space.
A possible way to fix this is to have an Options menu either at the top or bottom of the gui with Create Rename and Delete.
Another idea is to have the other Manage List changed into a Manage Group(?) so it would be possible to Delete and/or Rename the Group for the other menu.
Edit: The All Trains group doesn't stand out that much from all the other group so maybe the other groups could be tabbed in so that All trains is clearly the main group with all the other vehicles subgroups.
That brings me onto my next idea Groups for Groups and the so it would act much like a tree where you can expand the group out each time adding a tab to the next subgroup. This will have to wait till Groups get included into the trunk and it is already a large enough patch as it is.
Btw Great Patch.
A possible way to fix this is to have an Options menu either at the top or bottom of the gui with Create Rename and Delete.
Another idea is to have the other Manage List changed into a Manage Group(?) so it would be possible to Delete and/or Rename the Group for the other menu.
Edit: The All Trains group doesn't stand out that much from all the other group so maybe the other groups could be tabbed in so that All trains is clearly the main group with all the other vehicles subgroups.
That brings me onto my next idea Groups for Groups and the so it would act much like a tree where you can expand the group out each time adding a tab to the next subgroup. This will have to wait till Groups get included into the trunk and it is already a large enough patch as it is.
Btw Great Patch.
-
- Traffic Manager
- Posts: 146
- Joined: 27 Dec 2004 19:37
- Location: Home of the Big Cat
Have now managed to compile latest diff r8332 with nightly r8332 by manually editing source list, i think this should be in diff file.
I am still getting a few errors, i think this as to do with this patch.
Compiled this diff ONLY with trunk, see attached.
I am still getting a few errors, i think this as to do with this patch.
Compiled this diff ONLY with trunk, see attached.
- Attachments
-
- Group1.txt
- (2.82 KiB) Downloaded 233 times
At first awesome patch!!!
EDIT: cause double posts are not nice!
I tried to compile the patch with trunk on my Linux (gcc-4.1) and got those lines.
EDIT2: I forgot to add "group_cmd.cpp,group.h,group_gui.h,group_gui.cpp" in the "source.list"
1st row: ignore this
2nd row: create group
3rd row: delete group
4th row: (re)name group
5th row: replace protection off
6th row: replace protection on
EDIT: cause double posts are not nice!
I tried to compile the patch with trunk on my Linux (gcc-4.1) and got those lines.
Code: Select all
...
What about some icons?l_Blue_l wrote:I think there could be a possible problem with the create rename delete buttons now as they are small and it may be hard to fit translations into the smaller space.
1st row: ignore this
2nd row: create group
3rd row: delete group
4th row: (re)name group
5th row: replace protection off
6th row: replace protection on
- Attachments
-
- group_if.png (3.08 KiB) Viewed 6323 times
Last edited by skidd13 on 22 Jan 2007 19:21, edited 1 time in total.
What does that mean - the circumstances? I determine what circumstances prevail. -- Napoleon Bonaparte
---
If we cannot end now our differences, at least we can help make the world safe for diversity. -- John F. Kennedy
---
Our problems are man-made, therefore they may be solved by man. No problem of human destiny is beyond human beings. -- John F. Kennedy
---
If we cannot end now our differences, at least we can help make the world safe for diversity. -- John F. Kennedy
---
Our problems are man-made, therefore they may be solved by man. No problem of human destiny is beyond human beings. -- John F. Kennedy
You have to add group_cmd.ccp and group_gui.cpp to the source.list file
Your icons looks great. Maybe you can use the replace icon (in the depot gui) for the replace protection button.
I update the gui to have an idea. I think it's the final gui of my patch.
Your icons looks great. Maybe you can use the replace icon (in the depot gui) for the replace protection button.
I update the gui to have an idea. I think it's the final gui of my patch.
- Attachments
-
- La SNCF, 13th Nov 2008 #2.png (43.22 KiB) Viewed 6278 times
Did that and added the header also.nycom wrote:You have to add group_cmd.ccp and group_gui.cpp to the source.list file


Thanks, I thought over something like the attached mockup. Besides, the funny thing is you use icon's also drawn by me.nycom wrote:Your icons looks great. Maybe you can use the replace icon (in the depot gui) for the replace protection button. I update the gui to have an idea. I think it's the final gui of my patch.

Edit: Added the redrawn replace icons!
- Attachments
-
- mockup
- la_sncf_13th_nov_2008_2_160.png (40.37 KiB) Viewed 6266 times
-
- group_if2.png (1.84 KiB) Viewed 6248 times
What does that mean - the circumstances? I determine what circumstances prevail. -- Napoleon Bonaparte
---
If we cannot end now our differences, at least we can help make the world safe for diversity. -- John F. Kennedy
---
Our problems are man-made, therefore they may be solved by man. No problem of human destiny is beyond human beings. -- John F. Kennedy
---
If we cannot end now our differences, at least we can help make the world safe for diversity. -- John F. Kennedy
---
Our problems are man-made, therefore they may be solved by man. No problem of human destiny is beyond human beings. -- John F. Kennedy
For constancy it should stay the same. Either the shield or the replace arrow. It is OTTD Style to keep things in same style, that was also the reason why the dynamite was replaced by the multiple trains in the depot-gui.nycom wrote:Why not mix the replace icon with a shield ?
What does that mean - the circumstances? I determine what circumstances prevail. -- Napoleon Bonaparte
---
If we cannot end now our differences, at least we can help make the world safe for diversity. -- John F. Kennedy
---
Our problems are man-made, therefore they may be solved by man. No problem of human destiny is beyond human beings. -- John F. Kennedy
---
If we cannot end now our differences, at least we can help make the world safe for diversity. -- John F. Kennedy
---
Our problems are man-made, therefore they may be solved by man. No problem of human destiny is beyond human beings. -- John F. Kennedy
I would suggest putting the shield in the top left of the icon. Players will still recognise the up arrow as being Replace These Now, and the shield then lets you know it is Protected. I really like these icons.
OTTD NewGRF_ports. Add an airport design via newgrf.Superceded by Yexo's NewGrf Airports 2
Want to organise your trains? Try Routemarkers.
--- ==== --- === --- === ---
Firework Photography
Want to organise your trains? Try Routemarkers.
--- ==== --- === --- === ---
Firework Photography
Nice idea.richk67 wrote:I would suggest putting the shield in the top left of the icon. Players will still recognise the up arrow as being Replace These Now, and the shield then lets you know it is Protected. I really like these icons.

- Attachments
-
- group_if3_preview.png (1.94 KiB) Viewed 6120 times
-
- group_if3.png (1.94 KiB) Viewed 6118 times
What does that mean - the circumstances? I determine what circumstances prevail. -- Napoleon Bonaparte
---
If we cannot end now our differences, at least we can help make the world safe for diversity. -- John F. Kennedy
---
Our problems are man-made, therefore they may be solved by man. No problem of human destiny is beyond human beings. -- John F. Kennedy
---
If we cannot end now our differences, at least we can help make the world safe for diversity. -- John F. Kennedy
---
Our problems are man-made, therefore they may be solved by man. No problem of human destiny is beyond human beings. -- John F. Kennedy
Here is the grf and a png so you don't have to extract it to check the order.nycom wrote:Can you please make a grf with your icons ?
- Attachments
-
- group.png (2.66 KiB) Viewed 6109 times
-
- group.grf
- (5.57 KiB) Downloaded 264 times
What does that mean - the circumstances? I determine what circumstances prevail. -- Napoleon Bonaparte
---
If we cannot end now our differences, at least we can help make the world safe for diversity. -- John F. Kennedy
---
Our problems are man-made, therefore they may be solved by man. No problem of human destiny is beyond human beings. -- John F. Kennedy
---
If we cannot end now our differences, at least we can help make the world safe for diversity. -- John F. Kennedy
---
Our problems are man-made, therefore they may be solved by man. No problem of human destiny is beyond human beings. -- John F. Kennedy
Nice... I can just imagine the autoreplace toggling between enabled (arrow is yellow - no shield), and disabled (arrow is grey, with shield). It should be an obvious toggle, and immediately apparent as an on/off.
Only possible confusion is the "normal" autoreplace button is identical to the Do Autoreplace in the depot gui. So people may think "I click this to make these go for autoreplace", whereas I think the idea is to say "autoreplace is active for this list".
Maybe have the shield icon on the "normal" version, but with the shield in grey (and red cross?). This would then clearly be slightly different to the "Do Autoreplace" button, and would hopefully say "Shield or Do Not Shield the AutoReplace"... which is the meaning we want.
Look great though... I must say I LOVE the icons in the depot. Makes so much more sense than dustbins and explosions.
Only possible confusion is the "normal" autoreplace button is identical to the Do Autoreplace in the depot gui. So people may think "I click this to make these go for autoreplace", whereas I think the idea is to say "autoreplace is active for this list".
Maybe have the shield icon on the "normal" version, but with the shield in grey (and red cross?). This would then clearly be slightly different to the "Do Autoreplace" button, and would hopefully say "Shield or Do Not Shield the AutoReplace"... which is the meaning we want.
Look great though... I must say I LOVE the icons in the depot. Makes so much more sense than dustbins and explosions.
OTTD NewGRF_ports. Add an airport design via newgrf.Superceded by Yexo's NewGrf Airports 2
Want to organise your trains? Try Routemarkers.
--- ==== --- === --- === ---
Firework Photography
Want to organise your trains? Try Routemarkers.
--- ==== --- === --- === ---
Firework Photography
They are not the same, but similar. The vehicles behind the top one are grey.richk67 wrote:Only possible confusion is the "normal" autoreplace button is identical to the Do Autoreplace in the depot gui. So people may think "I click this to make these go for autoreplace", whereas I think the idea is to say "autoreplace is active for this list".

Thanks, take a cookie.richk67 wrote:Look great though... I must say I LOVE the icons in the depot. Makes so much more sense than dustbins and explosions.
- Attachments
-
- group_if4.png (1.68 KiB) Viewed 6094 times
What does that mean - the circumstances? I determine what circumstances prevail. -- Napoleon Bonaparte
---
If we cannot end now our differences, at least we can help make the world safe for diversity. -- John F. Kennedy
---
Our problems are man-made, therefore they may be solved by man. No problem of human destiny is beyond human beings. -- John F. Kennedy
---
If we cannot end now our differences, at least we can help make the world safe for diversity. -- John F. Kennedy
---
Our problems are man-made, therefore they may be solved by man. No problem of human destiny is beyond human beings. -- John F. Kennedy
Hello,
Here you can find the lastest update of my patch (r8375).
Features :
- Add a vehicle to a group : on the right side, click on a train and drag and drop over a group.
- Delete a vehicle from a group : on the right side, click on a train, and drag and drop over the group "All trains" or "All Road Vehicles"...
- Change a vehicle from a group : on the right side, click on a train and drag and drop over an other group.
- When you click on a group name, you can see all vehicles which are in this group (screenshot).
- You can't rename or delete the group "All trains" or "All Road Vehicles" or "All Ships" or "All Aircrafts".
- The groups are load/save.
- You can set an autoreplace which only affect the vehicles of the group. The global autoreplace override this feature unless you set "replace protection" to on (4th button on the left side)
- On the left side :
Thanks to skidd13 for the icons and grf.
Here you can find the lastest update of my patch (r8375).
Features :
- Add a vehicle to a group : on the right side, click on a train and drag and drop over a group.
- Delete a vehicle from a group : on the right side, click on a train, and drag and drop over the group "All trains" or "All Road Vehicles"...
- Change a vehicle from a group : on the right side, click on a train and drag and drop over an other group.
- When you click on a group name, you can see all vehicles which are in this group (screenshot).
- You can't rename or delete the group "All trains" or "All Road Vehicles" or "All Ships" or "All Aircrafts".
- The groups are load/save.
- You can set an autoreplace which only affect the vehicles of the group. The global autoreplace override this feature unless you set "replace protection" to on (4th button on the left side)
- On the left side :
- - Create a group : press the "create" button.
- Delete a group : select a group and press the "delete" button.
- Rename a group : select the group you want to rename, then press the "rename" button.
- Replace Protection, if on, global autoreplace have no effect on the group.
- - Start all Click on the green flags to start all
vehicles of the current group.
- Stop all Click on the red flags to stop all vehicles of the current group.
- Manage list :- - Send to depot all vehicles of a group.
- Send for servicing all vehicles of a group.
- Add Shared Vehicles to a group : add all shared vehicles of all vehicles of the group.
- Remove all Vehicles from a group : Remove all vehicles from the current group.
- Replace Vehicles : replace management
- - Send to depot all vehicles of a group.
Thanks to skidd13 for the icons and grf.
- Attachments
-
- group_interface_v1.0_r8375.diff
- (95.83 KiB) Downloaded 235 times
-
- Aircraft group with replace protection set to on
- Nycom & Co, 6th Jan 2078 #2.png (78.86 KiB) Viewed 6420 times
-
- Train group with replace protection set to off
- La SNCF, 13th Nov 2008 #4.png (57.99 KiB) Viewed 6419 times
Who is online
Users browsing this forum: No registered users and 0 guests