Skip to content

Conversation

@xezon
Copy link

@xezon xezon commented Oct 1, 2025

This change removes the Munkee übercomplexity and the frame spike filter from W3DDisplay::updateAverageFPS().

The spike filter ignored any frames longer than 500 ms and that does not make sense to keep around.

TODO

  • Replicate in Generals

@xezon xezon added Minor Severity: Minor < Major < Critical < Blocker Gen Relates to Generals ZH Relates to Zero Hour Refactor Edits the code with insignificant behavior changes, is never user facing labels Oct 1, 2025
Copy link

@Mauller Mauller left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, this code always looked broken when i first noticed it.

@xezon xezon force-pushed the xezon/improve-average-fps-impl branch from a6eb561 to 9085d6a Compare October 7, 2025 16:05
@xezon
Copy link
Author

xezon commented Oct 7, 2025

Replicated in Generals without conflicts.

@xezon xezon merged commit 605b9b3 into TheSuperHackers:main Oct 7, 2025
18 checks passed
@xezon xezon deleted the xezon/improve-average-fps-impl branch October 7, 2025 16:25
fbraz3 pushed a commit to fbraz3/GeneralsX that referenced this pull request Nov 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Gen Relates to Generals Minor Severity: Minor < Major < Critical < Blocker Refactor Edits the code with insignificant behavior changes, is never user facing ZH Relates to Zero Hour

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants