Skip to content
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

Detection of all kinds of costal tiles. #3404

Closed
DorpsGek opened this issue Dec 22, 2009 · 1 comment
Closed

Detection of all kinds of costal tiles. #3404

DorpsGek opened this issue Dec 22, 2009 · 1 comment
Labels
component: AI/Game script (squirrel) This issue is related to Squirrel (Scripting language) flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)

Comments

@DorpsGek
Copy link
Member

terjesc opened the ticket and wrote:

A way to detect all coastal tiles, not only non-tree ones, in order to find dock locations. May also be used for following coastlines or other purposes.

AITile::IsCoastTile() is in my opinion, from an AI writer's point of view, a very misleading name, since the method doesn't detect costal tiles with trees on. This seems to reflect the internal structure of openttd maps, but it can be very confusing if you don't know the internal workings of the game. I am in other words looking for a method that does what the name IsCoastTile suggests.

Reported version: trunk
Operating system: All


This issue was imported from FlySpray: https://bugs.openttd.org/task/3404
@DorpsGek
Copy link
Member Author

DorpsGek commented Jan 3, 2010

Yexo closed the ticket.

Reason for closing: Fixed

In r18696.


This comment was imported from FlySpray: https://bugs.openttd.org/task/3404

@DorpsGek DorpsGek closed this as completed Jan 3, 2010
@DorpsGek DorpsGek added flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) enhancement component: AI/Game script (squirrel) This issue is related to Squirrel (Scripting language) labels Apr 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: AI/Game script (squirrel) This issue is related to Squirrel (Scripting language) flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)
Projects
None yet
Development

No branches or pull requests

1 participant