Skip to content

Conversation

@xezon
Copy link

@xezon xezon commented Sep 21, 2025

This change simplifies W3DTreeDraw related code a bit.

It took me a while to understand what is going on. With the new code changes it is a bit clearer, plus it gets rid of the setOrientation(), setPosition() call order dependency. Originally the functions had the be called in this order for the tree register to work correctly, now it no longer matters.

User facing nothing should change.

TODO

  • Replicate in Generals

@xezon xezon added Minor Severity: Minor < Major < Critical < Blocker Refactor Edits the code with insignificant behavior changes, is never user facing labels Sep 21, 2025
Copy link

@Skyaero42 Skyaero42 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

@xezon xezon force-pushed the xezon/refactor-tree-draw branch from 463b613 to f74a163 Compare September 23, 2025 07:02
@xezon
Copy link
Author

xezon commented Sep 23, 2025

For Zero Hour only. Not replicated in Generals.

@xezon xezon added the ZH Relates to Zero Hour label Sep 23, 2025
@xezon xezon removed the ZH Relates to Zero Hour label Sep 23, 2025
@xezon
Copy link
Author

xezon commented Sep 23, 2025

But the bridge refactor side quest can be replicated in Generals.

@xezon xezon merged commit 80cc300 into TheSuperHackers:main Sep 23, 2025
18 checks passed
@xezon xezon deleted the xezon/refactor-tree-draw branch September 23, 2025 08:12
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

Minor Severity: Minor < Major < Critical < Blocker Refactor Edits the code with insignificant behavior changes, is never user facing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants