-
Notifications
You must be signed in to change notification settings - Fork 26
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
Add: post about the new ship pathfinder #296
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are a few commas missing where they are needed.
Looks good to me. Nice tone, good level of detail. Do you want to mention added support for faster ships and ship acceleration too? |
5f9abf2
to
93f8874
Compare
93f8874
to
34891c1
Compare
Within each region, we identify separate patches of water. | ||
Each tile gets a label, and all tiles with the same label belong to the same patch, i.e. they are interconnected. | ||
We also identify whether a ship can travel across a region edge into any adjacent regions. | ||
Aqueducts crossing into other regions are also taken into account. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this include aqueducts that start in one region, completely skip multiple regions before ending in another, non-adjacent region?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, it can either be to adjacent regions or with regions in between, there is no limit. I chose not to go too much into detail about aqueducts, just that "they work". Getting the pathfinder to work with aqueducts was a nightmare, but I don't think I'll do anyone a favor by ranting about it in this blog post ;)
604b1a3
to
e8f0671
Compare
e8f0671
to
9c30506
Compare
My post about the new ship pathfinder for OpenTTD 14.0. I tried to explain everything without going too much into detail, I want to keep it fun to read.
I'm not a native English speaker so suggestions are much appreciated!