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

[game] improve loading #1049

Merged
merged 3 commits into from
Jan 7, 2022
Merged

[game] improve loading #1049

merged 3 commits into from
Jan 7, 2022

Conversation

water111
Copy link
Collaborator

@water111 water111 commented Jan 3, 2022

this makes the fr3 files smaller and improves loading so there aren't dropped frames when switching levels. Previously there was >100 ms pauses on load.

The lava tube fr3 went from 50 MB to 15 MB. I just used zstd and I think we could do even better with a smarter packer, but this is probably good enough.

@coveralls
Copy link

Pull Request Test Coverage Report for Build 1647770979

  • 0 of 317 (0.0%) changed or added relevant lines in 6 files are covered.
  • 9 unchanged lines in 5 files lost coverage.
  • Overall coverage decreased (-0.08%) to 53.166%

Changes Missing Coverage Covered Lines Changed/Added Lines %
game/graphics/opengl_renderer/tfrag/Tfrag3.h 0 1 0.0%
game/graphics/opengl_renderer/tfrag/Tie3.h 0 1 0.0%
decompiler/level_extractor/extract_level.cpp 0 5 0.0%
game/graphics/opengl_renderer/Loader.cpp 0 37 0.0%
game/graphics/opengl_renderer/tfrag/Tfrag3.cpp 0 122 0.0%
game/graphics/opengl_renderer/tfrag/Tie3.cpp 0 151 0.0%
Files with Coverage Reduction New Missed Lines %
decompiler/level_extractor/extract_tie.cpp 1 0%
game/graphics/opengl_renderer/Loader.cpp 1 0%
game/graphics/opengl_renderer/tfrag/Tie3.cpp 1 0%
game/graphics/opengl_renderer/tfrag/Tfrag3.cpp 3 0%
goalc/listener/Listener.cpp 3 84.35%
Totals Coverage Status
Change from base Build 1647396460: -0.08%
Covered Lines: 40850
Relevant Lines: 76835

💛 - Coveralls

@water111 water111 merged commit 3c42d22 into master Jan 7, 2022
@water111 water111 deleted the w/loader-better branch January 7, 2022 16:52
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