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

Add zlib compression for save games #96

merged 13 commits into from Mar 15, 2019


None yet
2 participants
Copy link

commented Mar 13, 2019

Add zlib and compression for savegames.

Savegames are now about 90kb in size instead of 2MB.
Also added a variable for storing savegame version to savegame to upgrade savegames if format changes.

JimmySnails added some commits Mar 10, 2019

Only search RuntimeLib in repository to prevent wrong zlib library fr…
…om other sources like git get included.
Rename function loadSaveGame to loadGame, add a wrapper in engine cla…
…ss for saveGame() and change savegame extension to .cts

@JimmySnails JimmySnails self-assigned this Mar 13, 2019

@JimmySnails JimmySnails added the core label Mar 13, 2019

JimmySnails added some commits Mar 13, 2019

@JimmySnails JimmySnails requested a review from utilForever Mar 14, 2019

Copy link

left a comment

LGTM. Note that the order of the header files should be considered.
I order project header files -> 3rd-party library header files -> C++ standard header files.

@utilForever utilForever merged commit c24f638 into master Mar 15, 2019

7 checks passed

Codacy/PR Quality Review Up to standards. A positive pull request.
LGTM analysis: C/C++ No new or fixed alerts
LGTM analysis: JavaScript No code changes detected
Travis CI - Branch Build Passed
Travis CI - Pull Request Build Passed
continuous-integration/travis-ci/pr The Travis CI build passed
continuous-integration/travis-ci/push The Travis CI build passed

@JimmySnails JimmySnails deleted the compressSaveGames branch Mar 16, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.