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
Roadtype catenary not shown over bridges #7958
Comments
I looked at this, and it will require an annoyingly large refactor of DrawRoadTypeCatenary to make it usable for bridge surfaces too. Lines 1370 to 1427 in e340934
The part in DrawBridgeRoadBit doesn't seem to have everything ready at least, and several of the parameters to DrawRoadTypeCatenary would have to be synthesized in some way. OpenTTD/src/tunnelbridge_cmd.cpp Lines 1167 to 1190 in e340934
|
…ont or back is overridden
…ont or back is overridden
…ont or back is overridden
…ont or back is overridden
…ont or back is overridden
…ont or back is overridden
…ont or back is overridden
…ont or back is overridden
Version of OpenTTD
20200124-master-gf88ac83408
Expected result
If a road type provides catenary graphics, they should be shown instead of default catenary.
Actual result
The new catenary graphics are shown on normal tiles but not on bridge tiles. Instead, the default catenary is shown on bridges.
Steps to reproduce
The attached grf defines catenary for ROAD (just a large red square) which shows the behaviour.
catenarytest.grf.zip
The text was updated successfully, but these errors were encountered: