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

wrong road crossing graphics alignment in \ direction (BB problem) #5307

Closed
DorpsGek opened this issue Sep 23, 2012 · 3 comments
Closed

wrong road crossing graphics alignment in \ direction (BB problem) #5307

DorpsGek opened this issue Sep 23, 2012 · 3 comments
Labels
component: NewGRF This issue is related to NewGRFs flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)

Comments

@DorpsGek
Copy link
Member

George opened the ticket and wrote:

r24510

GRF with crossing is located here http://forums.ttdrussia.net/download/file.php?id=7811

On road crossing when a road is in / direction and rail is in \ direction the road crossing barrier graphics is drawn above road vehicles
Suggested solution:
Change the BB size and position for road crossing barrier graphics - make it 2 px wide and move to the train (rail)

Attachments

Reported version: trunk
Operating system: All


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

frosch wrote:

NewGRF railtypes specifically provide 4 sprites / bounding boxes for level crossings. On each side of the rail track one is drawn in front and one behind the vehicle.

The NewGRF has to cut the sprite correctly.


This comment was imported from FlySpray: https://bugs.openttd.org/task/5307#comment11685

@DorpsGek
Copy link
Member Author

frosch closed the ticket.

Reason for closing: Bug in NewGRF

incorrect cutting of sprites


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

@DorpsGek
Copy link
Member Author

frosch wrote:

The example sprites in the specs will be fixed at some point.


This comment was imported from FlySpray: https://bugs.openttd.org/task/5307#comment11686

@DorpsGek DorpsGek added flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) component: NewGRF This issue is related to NewGRFs bug labels Apr 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: NewGRF This issue is related to NewGRFs flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)
Projects
None yet
Development

No branches or pull requests

1 participant