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

feat(map): add MapManager #18

Merged
merged 1 commit into from
Dec 30, 2023
Merged

feat(map): add MapManager #18

merged 1 commit into from
Dec 30, 2023

Conversation

fallenoak
Copy link
Member

This PR introduces MapManager to support loading maps into a renderable format. The MapManager is able to stream area data files (.adt) into memory as the map's target is shifted. Currently, the MapManager only renders terrain. Support for doodads, detail doodads, map objects, and units will be added over time.

@codecov-commenter
Copy link

Codecov Report

Attention: 109 lines in your changes are missing coverage. Please review.

Comparison is base (710f5d5) 20.39% compared to head (aefbaf9) 18.31%.

Files Patch % Lines
src/lib/map/MapManager.ts 0.00% 100 Missing and 9 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #18      +/-   ##
==========================================
- Coverage   20.39%   18.31%   -2.08%     
==========================================
  Files          22       23       +1     
  Lines         961     1070     +109     
  Branches      196      205       +9     
==========================================
  Hits          196      196              
- Misses        662      762     +100     
- Partials      103      112       +9     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@fallenoak fallenoak merged commit f73d5b1 into main Dec 30, 2023
2 checks passed
@fallenoak fallenoak deleted the feat-map-add-MapManager branch December 30, 2023 03:37
@github-actions github-actions bot mentioned this pull request Dec 30, 2023
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