Skip to content

Compute frame offset count based on min data for re-encode#7853

Closed
StephenCWills wants to merge 1 commit intodiasurgical:masterfrom
StephenCWills:level-cel-lookup-size
Closed

Compute frame offset count based on min data for re-encode#7853
StephenCWills wants to merge 1 commit intodiasurgical:masterfrom
StephenCWills:level-cel-lookup-size

Conversation

@StephenCWills
Copy link
Copy Markdown
Member

This PR computes the frame offset count to avoid the assumption that there are no unused frames.

This is a simpler alternative to #7852. The downside is that there will be gaps in the pDungeonCels lookup table, so GetDunFrame(frame + 1) - GetDunFrame(frame) cannot be used reliably to compute the size of a CEL frame.

@StephenCWills StephenCWills deleted the level-cel-lookup-size branch March 17, 2025 02:42
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