Mindustry
Mindustry copied to clipboard
Dynamic atlas page size
Estimates the size needed for all types of atlas pages, and applies the changes on the next game reload. Resets to default after you update the mod list.
Its just a bit cursed but i mean, it works
It still doesnt check for black atlas if out of memory though
- [x] I have read the contribution guidelines.
- [x] I have ensured that my code compiles, if applicable.
- [x] I have ensured that any new features in this PR function correctly in-game, if applicable.
maybe 5% epsilon is enough, but i put 10% just to be sure