Skip to content

Conversation

@Hecklezz
Copy link
Contributor

@Hecklezz Hecklezz commented Dec 12, 2025

Issue: #5155

Note: Probably best to wait for Rye's other PR to be merged first and then I'll rebase this one, as there will be a couple conflicts with him deleting source files- #5153 Merged

Simply cleans up usages of fake bools where a regular bool is more appropriate, or where function declarations expect a regular bool but a fake bool was used instead.

Fake bool usages in existing APIs such as WinAPI or gtk and others were left untouched as to follow the standards of those libraries.

I also didn't update the fake bool usage for LLPathingLib::createPhysicsCapsuleRep because this would require a change in the LL Havok library to avoid any implicit conversions.

Copy link
Contributor

Choose a reason for hiding this comment

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

This header seems to be unused.

Copy link
Contributor

Choose a reason for hiding this comment

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

This header seems to be unused, too.

Copy link
Contributor

Choose a reason for hiding this comment

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

This file also seems to be unused.

@Hecklezz Hecklezz force-pushed the refactor/fake_bool_cleanup branch from ac4d7c1 to 9543002 Compare December 12, 2025 15:18
@Hecklezz
Copy link
Contributor Author

Dealing with the unused files if they are wanted to be removed is probably best done in another PR as it is out of scope of the current issue. No harm in fixing the fake bools in them in this one though even if unused.

@akleshchev
Copy link
Contributor

Probably best to wait for Rye's other PR

Pulled that one in, looks like there are conflicts in this PR now.

@akleshchev akleshchev linked an issue Dec 15, 2025 that may be closed by this pull request
@Hecklezz Hecklezz force-pushed the refactor/fake_bool_cleanup branch from 9543002 to 55cc966 Compare December 15, 2025 17:47
@Hecklezz
Copy link
Contributor Author

Probably best to wait for Rye's other PR

Pulled that one in, looks like there are conflicts in this PR now.

All done, should be no conflicts now.

@akleshchev akleshchev merged commit 59088a4 into secondlife:develop-linux Dec 15, 2025
14 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Dec 15, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cleanup fake bool usage where they are unnecessary or incorrect

3 participants