Show bridges/tunnels in "Map of world"
Moderator: OpenTTD Developers
Show bridges/tunnels in "Map of world"
In the "Map of World" screen where you can see a map of the world, tunnels and bridges don't seem to be displayed. In the case of long tunnels/bridges, this creates an appearance of broken railways/road routes. Could the tunnels/bridges be displayed in the map?
Re: Show bridges/tunnels in "Map of world"
"Maybe", the thing is that bridges and tunnels don't really exist in the map data. That is to say, the way the game code handles bridges and tunnels, it only keeps track of where the entrance and exit of each one are, and when a vehicle drives onto a bridge or into a tunnel it enters a special "warping to the other side" state.
The tiles in-between the two ends don't keep track of there being a bridge or tunnel there, so it's a bit more work than you might initially think to display them on the mini map.
The tiles in-between the two ends don't keep track of there being a bridge or tunnel there, so it's a bit more work than you might initially think to display them on the mini map.
- Emperor Jake
- Tycoon
- Posts: 3427
- Joined: 24 Apr 2007 09:37
- Skype: Discord: Emperor Jake #4106
- Location: Not Actually Japan
- Contact:
Re: Show bridges/tunnels in "Map of world"
JGR's zoomed out minimap shows bridges and tunnels as a dotted line no problem, I don't see why that functionality couldn't be extended to the base game minimap too
Re: Show bridges/tunnels in "Map of world"
Oh but they do. Check out IsBridgeAbove().
He's like, some kind of OpenTTD developer.
Who is online
Users browsing this forum: No registered users and 34 guests