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

Fix #7094: Back wall edge texture in water missing #11061

Merged
merged 3 commits into from
Mar 26, 2020

Conversation

Gymnasiast
Copy link
Member

First commit is a tiny refactor. Second commit contains the fix. Recommend viewing them one by one.

@Gymnasiast Gymnasiast linked an issue Mar 26, 2020 that may be closed by this pull request
2 tasks
@Umdlye
Copy link
Contributor

Umdlye commented Mar 26, 2020

Sides are drawn wrong on one rotation, others are fine:

openrct2_2020-03-26_12-27-05

@Gymnasiast
Copy link
Member Author

@Umdlye Hm, that's an original bug that resurfaced: #475

@Gymnasiast
Copy link
Member Author

@Umdlye I think I have solved that one too :)

@Umdlye
Copy link
Contributor

Umdlye commented Mar 26, 2020

Looks good now! One small issue remains, was in the original game as well. Not sure if it's outside the scope of this PR.

openrct2_2020-03-26_13-31-25

@Gymnasiast
Copy link
Member Author

Not sure if that's an issue/bug in the first place.

@pizza2004
Copy link
Contributor

No issues here, it works how you would expect when you hide the vertical faces as well.

distribution/changelog.txt Outdated Show resolved Hide resolved
Copy link
Member

@tupaschoal tupaschoal left a comment

Choose a reason for hiding this comment

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

It looks alright, other than the coords changes, was the fix mainly because of dl being incorrect?

@tupaschoal tupaschoal added this to To do in Use CoordsXY{ZD} / ScreenCoordsXY via automation Mar 26, 2020
@Gymnasiast
Copy link
Member Author

was the fix mainly because of dl being incorrect?

That and the division by 8 instead of 16. Together they ensured no back wall was ever drawn.

@Gymnasiast Gymnasiast merged commit 3570441 into OpenRCT2:develop Mar 26, 2020
Use CoordsXY{ZD} / ScreenCoordsXY automation moved this from To do to Complete Mar 26, 2020
@Gymnasiast Gymnasiast deleted the fix/7094 branch March 26, 2020 20:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Back wall edge texture in water missing
4 participants