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

Nikki lacrima oc_rlvsuite bitmaphandling 241013 #1113

Conversation

NikkiLacrima
Copy link
Contributor

@NikkiLacrima NikkiLacrima commented Oct 13, 2024

Correct off by one bitshift and improve bitpos and bitvalue handling for restriction bitmaps.
Removed float llPow and llLog10 from bitmask calculations and use bitshift operators instead.
Consistently use bit numberings starting from 0, bit number always equals bitshift, corresponding to a value of 1<<bit or 2^bit.
Corrected bitmask values for Stray.

Ref issue #1099

Correct off by one bitshift and improve bitpos and bitvalue handling for restriction bitmaps. 
Removed float llPow and llLog10 from bitmask calculations and use bitshift operators instead.
Consistently use bit numberings starting from 0, bit number always equals bitshift, corresponding to a value of 1<<bit or 2^bit.
Corrected bitmask values for Stray.
@SilkieSabra SilkieSabra merged commit 517c4cc into OpenCollarTeam:main Oct 19, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants