Group management enhancements #7886
I changed the functions'/variables' names as you suggested.
As for the command in my opinion it's a bit clearer to reading/using the code with 2 separated commands, instead of taking care of the various bits. Like if
…eate a group with a name related to the vehicle.
There are 4 things in this PR:
So, as merge candidate:
Because is this causing desync or just looks "weird" when you compare the group list between the clients?
If you join to an existing company, you can easily recreate all of the groups. Just press the delete all groups button, than the create groups automatically button.
Anyway I see that it isn't "nice". But maybe could be there a place holder SCC_XXX code or something in the group names, and the clients could substitute them when the window is drawn. Or always get the group names from the server.
Or as easy alternative:
I know these are just workarounds, but I do think this is a useful feature. I never liked manually type in the group names.
I do not agree. I do not find #7028 too useful.
#7028 can be useful if you start the game in 2050 and you just use the same engine everywhere, and you have only 1 wagon to carry a specific cargo. For example a game without NewGRFs. In that case you do not have to replace your vehicles, the autorenew feature solves it.