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

Flexible LOD scale factors #8

Merged
merged 3 commits into from
Jul 10, 2023
Merged

Flexible LOD scale factors #8

merged 3 commits into from
Jul 10, 2023

Conversation

BC46
Copy link
Collaborator

@BC46 BC46 commented Jul 9, 2023

Instead of having to rely on hard coded float constants in Freelancer.exe, the lod_scale option now supports arbitrary float values. For example, when entering values such as 42, 6.5, and 512.1337 the scale function will use that as the scale factor and it'll work just fine. I've currently set the limit to 1,000,000 as I had to draw the line somewhere.

I should mention that I haven't properly tested the new feature with GCC yet, so please check if that still works. I'm also not the best at documenting ini files, so I'll leave that up to you @CallumDev.

I've also cleaned up Common.h a little bit.

@CallumDev
Copy link
Collaborator

All looks good to me, you can merge this once the GCC build is tested 👍

@BC46
Copy link
Collaborator Author

BC46 commented Jul 10, 2023

The GCC build works. Additional documentation is still needed for the lod_scale option.

@BC46 BC46 merged commit 0656d69 into master Jul 10, 2023
@BC46 BC46 deleted the feature/flexible-lod-scale branch July 10, 2023 08:31
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.

2 participants