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

Add support for decoding fog parameters to the FileFormats library #354

Merged
merged 5 commits into from
Jan 31, 2024

Conversation

rdw-software
Copy link
Member

First part of the vertex fog feature; since the data is readily available in the GRF archive, might as well use it directly.

These are required in order to decode the fog parameters table.
Much easier to debug if it doesn't just display the default "cdata" representation.
The code is ancient; it was part of the now-archived RagnarokTools repository. I didn't change too much about it so it's still questionable, but I suppose that's really not a problem here. Only minor adjustments were made to make use of the Color metatype and to make the code more testable.
Extremely unlikely to change, so this minimal test case should suffice.
@rdw-software rdw-software merged commit a53889e into main Jan 31, 2024
5 checks passed
@rdw-software rdw-software deleted the 132-decode-fog-parameters branch January 31, 2024 15:20
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