Skip to content

Add: 'tunnels' callback for road- and tramtypes#273

Merged
glx22 merged 1 commit intoOpenTTD:masterfrom
glx22:NRT_tunnel_ground
Dec 25, 2022
Merged

Add: 'tunnels' callback for road- and tramtypes#273
glx22 merged 1 commit intoOpenTTD:masterfrom
glx22:NRT_tunnel_ground

Conversation

@glx22
Copy link
Contributor

@glx22 glx22 commented Dec 13, 2022

This addition reflects OpenTTD/OpenTTD#10233

Usage is the same as railtype tunnels.

Copy link
Contributor

@FLHerne FLHerne left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't really like the vague tunnels name, but it matches the one in railtypes like most of the other roadtype names. I'd have suggested tunnel_overlay but that's already used in railtypes for portal overlays so would be much more confusing.

@glx22 glx22 merged commit efedff6 into OpenTTD:master Dec 25, 2022
@glx22 glx22 deleted the NRT_tunnel_ground branch December 25, 2022 23:12
@andythenorth
Copy link
Contributor

Added to nml spec https://newgrf-specs.tt-wiki.net/wiki/NML:Roadtypes#Roadtype_callbacks

Somebody had already add it, but commented out - thanks, saved time :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants