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

Resolution-tuned weapon sprite 1 pixel height adjustment for compatibility with bit-shifting hires forks #1189

Merged
merged 1 commit into from
Aug 1, 2024

Conversation

SoDOOManiac
Copy link
Collaborator

@SoDOOManiac SoDOOManiac commented Mar 24, 2024

Use FRACUNIT/(2<<crispy->hires) instead of FRACUNIT/constant.

Sorry @JNechaevsky, flexible solutions are usually better.

@fabiangreffrath
Copy link
Owner

Sorry @JNechaevsky, flexible solutions are usually better.

Why "sorry", did @JNechaevsky suggest a different approach?

@SoDOOManiac
Copy link
Collaborator Author

Why "sorry", did @JNechaevsky suggest a different approach?

Yes, the previous fix was if not suggested then at least bugreported by her:
a788f63

@fabiangreffrath
Copy link
Owner

I see. And your approach works for normal, double and quad resolution?

@SoDOOManiac
Copy link
Collaborator Author

I see. And your approach works for normal, double and quad resolution?

Yes, quite right :)

Copy link
Owner

@fabiangreffrath fabiangreffrath left a comment

Choose a reason for hiding this comment

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

Alright, thanks.

@JNechaevsky
Copy link
Collaborator

Actually, I can confirm this issue exist, but not happening in Crispy's 1x/2x resolutions. Here's my approach, where vid_resolution is rendering resolution multipler, works fine with all 1x..6x.

But which one is better and fits better for Crispy - honestly, no idea, so I didn't suggest it.

@SoDOOManiac SoDOOManiac merged commit d81d233 into master Aug 1, 2024
5 checks passed
@SoDOOManiac SoDOOManiac deleted the weapon-sprite-pixel-adjustment branch August 8, 2024 16:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants