Skip to content

Clean up UndertaleSequence#2123

Merged
colinator27 merged 4 commits intomasterfrom
sequence-refactors
Jun 17, 2025
Merged

Clean up UndertaleSequence#2123
colinator27 merged 4 commits intomasterfrom
sequence-refactors

Conversation

@colinator27
Copy link
Copy Markdown
Member

@colinator27 colinator27 commented May 13, 2025

Description

Cleans up UndertaleSequence, changing out some technically undefined behavior of Dictionary to use regular lists, and also adding some basic documentation (though still incomplete for certain fields that I don't fully understand).

Caveats

Potential incompatibility with existing code relying on sequence structures, although these changes should be easy to adapt to. This has been tested on my regular set of games for save/load regressions.

Notes

I also modified the Align methods in UndertaleReader/UndertaleWriter to no longer accept a padding byte other than 0, because it was unused and had some incorrect logic associated.

Support was also added for GMAudioEffectTrack, which acts just like a track with real keyframes for our purposes.

@colinator27
Copy link
Copy Markdown
Member Author

Also forgot to mention, but this also resolves #2079.

@github-actions
Copy link
Copy Markdown

github-actions bot commented May 13, 2025

@colinator27
Copy link
Copy Markdown
Member Author

Going to merge this in now as it seems low-risk (tested save/load on my suite of test games), and so that dependent PRs won't have conflict issues down the line.

@colinator27 colinator27 merged commit 300b930 into master Jun 17, 2025
5 checks passed
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.

1 participant