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

vehicle length not taken into account #165

Closed
DorpsGek opened this issue May 10, 2006 · 5 comments
Closed

vehicle length not taken into account #165

DorpsGek opened this issue May 10, 2006 · 5 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

bobingabout opened the ticket and wrote:

when pressing CTRL and clicking a truck or engine to reverse it, the length isn't actually taken into account.

Attachments

Reported version: 0.4.7
Operating system: All


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

Bjarni wrote:

I think I hardcoded it to full wagon length when I wrote the code to flip the units, but I'm not sure. I'm pretty sure that this is only a display bug even though it looks a bit annoying


This comment was imported from FlySpray: https://bugs.openttd.org/task/165#comment291

@DorpsGek
Copy link
Member Author

DorpsGek commented Sep 4, 2006

Bjarni wrote:

I have been looking at this one and I have no idea on how to fix this :(
It appears that it's pretty hard to do, maybe even impossible with the current design


This comment was imported from FlySpray: https://bugs.openttd.org/task/165#comment512

@DorpsGek
Copy link
Member Author

DorpsGek commented Nov 2, 2006

Darkvater wrote:

This needs a lot more than simply flipping v->u.rail.flags. It's flipping v->u.rail.flags AND fixing the x-offsets of the sprites, if that is possible in-situ for newgrf.

Peter, what do you think?


This comment was imported from FlySpray: https://bugs.openttd.org/task/165#comment556

@DorpsGek
Copy link
Member Author

peter1138 wrote:

Yes, the sprite offsets in the GRF files are probably "not quite right"

You can actually see the same thing by turning the whole train around. It shifts slightly.


This comment was imported from FlySpray: https://bugs.openttd.org/task/165#comment657

@DorpsGek
Copy link
Member Author

peter1138 closed the ticket.

Reason for closing: Won't fix

Seems to be a NewGRF offset bug


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

@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 6, 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