-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Unlimited map memory #47253
Merged
I-am-Erk
merged 26 commits into
CleverRaven:master
from
kevingranade:unlimited-map-memory
Jul 9, 2021
Merged
Unlimited map memory #47253
Changes from 1 commit
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
6212398
Encapsulate map::drawsq() arguments and clarify their meaning
olanti-p e8246ac
Split map memory into submap-sized chunks
olanti-p 4702785
Optimize map memory access
olanti-p 3e2c7d2
Save/load memorized submaps; migrate old mm file
olanti-p 126e690
Remove leftovers from map memory limit
olanti-p 0812916
Some map memory cleanup
olanti-p b8a0661
Don't save empty mm submaps
olanti-p 8f16ab2
Deallocate far-away mm submaps on save; report save failure
olanti-p 7f10ccb
Rework tests for map memory
olanti-p 88d99e5
Don't re-allocate region if old region contains required submaps
olanti-p ae99411
Remove map_memory.h from avatar.h
olanti-p 1b215c2
Rename memorized_submap -> mm_submap
olanti-p 925e94e
Rename mm_submap::clean -> mm_submap::empty, add comments.
olanti-p c22ac53
Improve drawsq_params interface
olanti-p c4c46ff
Remove map_memory.h from lru_cache.cpp
olanti-p c079162
Add function for rectangle overlapping
olanti-p 9cdd446
Save mm_submaps in regions
olanti-p 670a5c7
Fix save/load not using avatar's global pos, improve docs.
olanti-p 261c594
When saving, compress mm_submaps using RLE
olanti-p 1de9048
Simplify map rendering in ascii mode
olanti-p 632076d
Memorize off-screen tiles in ascii mode
olanti-p 7525076
Fix copypasted code
olanti-p 59593a9
Fix tile memory saving code, minor cleanup.
olanti-p b29f5a1
Add debug logging for tile memory operations
olanti-p b8fe4ba
Fix broken saving for tile memory submaps with z != 0
olanti-p 89a1240
Lazy allocation for tile memory submaps
olanti-p File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Add function for rectangle overlapping
- Loading branch information
commit c079162f4279822dfa752c6e3007c87075dd448e
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I feel like these are cases where you could happily use
point_zero
. But if you really don't want to, then I think theseNOLINT
comments won't work when on the next line like this (maybe they do; looks like the error hasn't occurred yet).