Archive Mode - #282
Draft
riperiperi wants to merge 386 commits into
Draft
Conversation
Removes some unnecessary allocations and ref passing.
Some of these bugs have been here the whole time...
- Lighting duplicating over lot boundaries for rain/snow - Rain/snow disappearing below the ground aligned with the camera (when looking down a hill)
Don't run this or it'll instantly crash
This will prevent crashes in case I missed anything (or a packet is lost somehow)
This can use the index instead of exhaustively checking all lots in the table.
Dictionary `.ElementAt` is not fast, just iterate KeyValuePairs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Large scale changes to the client and server to support running in "archive mode", a mode that uses a local sqlite database cloned from a live server to provide a simple self-hosted exploration experience for users. It's a bit like those videos of abandoned shopping malls, except the houses don't grow vines, fall apart or generate their own copy of the backrooms.
There are a lot of additional changes that improve game performance and fix bugs. Obviously it's still in progress.
Right now this PR doesn't support running with a regular server - it's just here to keep track of diffs vs master. At some point, I would like to make it possible to build the game both in archive mode (with the embedded server) and in its normal form (without the embedded server, so shouldn't bundle with sqlite etc).