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

custom/default foundations for stations #5337

Closed
DorpsGek opened this issue Oct 16, 2012 · 1 comment
Closed

custom/default foundations for stations #5337

DorpsGek opened this issue Oct 16, 2012 · 1 comment
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)

Comments

@DorpsGek
Copy link
Member

mb opened the ticket and wrote:

I have multi-tile stations where some of the tiles need custom foundations, but some should show the default foundations.

Now, the spec for action0 stations, prop13 says:

"3 8 Use custom foundations on sloped tiles (the lowest byte of var. 10 is 2 for foundation sprites) [...]
Bit 3 works somewhat similarly to bit 0: your sprite selection will be called again, with 2 in the lowest BYTE of variable 10. If the chain ends on a callback result, TTDPatch will assume the foundation selection has failed and will use the default foundaton sprites. [...]"

This doesn´t seem to work in OTTD. Instead, some random sprite is shown for chains ending on a callback result, instead displaying the default foundation.

3385 * 0 02 04 10 81 10 00 FF 01
01 80 02 02 // default foundation
98 00 // building sprite

3386 * 0 02 04 11 81 10 00 FF 01
80 00 02 02 // custom foundation
98 00 // building sprite

3387 * 0 02 04 12 81 41 08 0F 01
11 00 00 00 // use custom foundation
10 00 // building, default foundation

3388 * 0 02 04 0a 85 0C 00 FF FF 01
09 00 14 00 14 00 // layout
12 00 // graphics

Attachments

Reported version: trunk
Operating system: Windows


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

frosch closed the ticket.

Reason for closing: Fixed

in r24714


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

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

No branches or pull requests

1 participant