I have TileIndex
I need x,y-coordinate.
I tried to find it in NoAI API, but without results.
How to get that coordinates?
Thanks for answer
I need reverse function to AIMap::GetTileIndex (answered)
Moderator: OpenTTD Developers
Re: I need reverse function to AIMap::GetTileIndex
AIMap::GetTileX and AIMap::GetTileY would do the trick.
Re: I need reverse function to AIMap::GetTileIndex
Speaking of which, maybe AIMap and AITile should be condensed in 0.8.0? AIMap doesn't have much and it's somewhat redundant with AITile.Rubidium wrote:AIMap::GetTileX and AIMap::GetTileY would do the trick.
Who is online
Users browsing this forum: No registered users and 7 guests