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

Update the map on init, add palette #3

Merged
merged 3 commits into from
Jan 9, 2022
Merged

Conversation

kvark
Copy link
Contributor

@kvark kvark commented Jan 8, 2022

Depends on kvark/vange-rs#174 (last commit about the palette)
Follows up on #2 to fix the silly mistake of using PACK_ROW_LENGTH instead of UNPACK_ROW_LENGTH.

Enables the original map update on init. The FFI expects that any visible map region is updated before it's rendered, so this initial call is needed.

@kvark kvark changed the title Update the map on init Update the map on init, add palette Jan 9, 2022
@lpenguin
Copy link
Owner

lpenguin commented Jan 9, 2022

Nice!

@lpenguin lpenguin merged commit 89d0af2 into lpenguin:master Jan 9, 2022
@kvark kvark deleted the unpack branch January 9, 2022 06:55
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