-
-
Notifications
You must be signed in to change notification settings - Fork 968
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature: Extended depots #8480
base: master
Are you sure you want to change the base?
Feature: Extended depots #8480
Conversation
558e569
to
76b575b
Compare
76b575b
to
1727312
Compare
1727312
to
e23b422
Compare
e23b422
to
3bd378f
Compare
3bd378f
to
58ec51a
Compare
58ec51a
to
f02c211
Compare
Really easy to use, the ro-ro capability like station tiles is something I really needed in some games 😁 The only downside: after trying it I found that it's missing a sort of warning when you purchase too many wagons in a depot (you get it when trying to start the train), since we have the measurement lines in depot view consider to highlight the current depot max size. This patch will be amazing with a future grf support. |
f02c211
to
6c21538
Compare
Internally, it is difficult to know when adding a new wagon will make the train too long. There may be more than one platform available, and they may have different lengths and rail types. So, the only help you have now is to press X and see what happens in the depot when buying or moving vehicles. |
This feature would be excellent to have in OpenTTD. I gave this a try in the web version. I get a crash with the following depot layout and trains: This is the crash log in DevTools. Unfortunately the backtrace looks a bit incomplete; I can compile a debug version on Linux and see if that gives a more coherent log if that would be helpful.
|
Thanks for the report. That is enough to find the bug. I am still working to fix it and some other things. |
6c21538
to
06638cf
Compare
06638cf
to
a13b97c
Compare
Hi @J0anJosep, immediate crash in main menu clicking the settings menu in https://preview.openttd.org/pr8480/ or in-game. Edit: Nevermind, I've been informed this was an upstream bug. Good luck with the PR I'm looking forward to it! |
a13b97c
to
00c2d10
Compare
That was fixed some weeks ago. If you are using the binaries, they are outdated. I will ask next weekend Truebrain whether he can update them, because first I have some fixes for the PR that need to be pushed. |
…depots. # Conflicts: # src/vehicle.cpp
…train and reverse if appropriate.
As the autoreplace flag is set, only lift and tryplacing in the original command for autoreplacing and not in any recursive calls to move, buy, refit and sell commands. # Conflicts: # src/autoreplace_cmd.cpp
…h of another vehicle.
…ames with other versions of OpenTTD.
0f9efdc
to
cc5fcd2
Compare
(Depends on #9577)
Motivation / Problem
It is strange a train with a length of 6 tiles can get out from a 1-tile depot.
Or that you can have 300 road vehicles in a single tile depot.
Or that 300 ships can be stopped in the same depot tile.
Description
This PR introduces a new depot tile for rail, road and water transport: extended depots.
Standard depots are the legacy depots of OpenTTD. They should work the same as before.
Extended depots have limitations related to the amount of vehicles they can handle. It is possible to join extended depots with other extended or standard depots.
How to use it:
Limitations
This is for testing purpose.
There are several things to be improved and I need feedback: wording, functionality, implementation,...
It needs testing and feedback.
Please, expect some crashes. Report them, please.
Try also to crash it in:
To consider
Checklist for review
Some things are not automated, and forgotten often. This list is a reminder for the reviewers.
Binaries of this branch are available at https://www.openttd.org/downloads/openttd-branches/pr8480/latest.html . They might not be up-to-date with latest version of this PR, so check the date!