Skip to content

[GEN] Bring ShaderClass::Apply more in line with Zero Hour #776

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

Merged
merged 1 commit into from
Apr 30, 2025

Conversation

tomsons26
Copy link

No actual functionality changes but makes diffing to ZH's simpler

@xezon
Copy link

xezon commented Apr 28, 2025

To me the Generals code looks better than the Zero Hour edit. How about we copy Generals to Zero Hour instead?

Unless Zero Hour will change more that requires this refactor?

@xezon xezon added Generals Related Generals only Refactor Improves the structure of the code, with negligible changes in function. Unify Unifies code between Generals and Zero Hour labels Apr 28, 2025
@xezon xezon added this to the Code foundation build up milestone Apr 28, 2025
@tomsons26
Copy link
Author

tomsons26 commented Apr 30, 2025

To me the Generals code looks better than the Zero Hour edit. How about we copy Generals to Zero Hour instead?

Unless Zero Hour will change more that requires this refactor?

ZH changes more, Gen code isn't compatible with ZH, ZH adds new shader types
The goal of this PR is to make it a lot easier to understand how they differ

@xezon xezon changed the title [GEN] Brings ShaderClass more in line with ZHs [GEN] Bring ShaderClass::Apply more in line with Zero Hour Apr 30, 2025
@xezon xezon merged commit 44fee19 into TheSuperHackers:main Apr 30, 2025
12 checks passed
@tomsons26 tomsons26 deleted the shader branch May 1, 2025 09:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Generals Related Generals only Refactor Improves the structure of the code, with negligible changes in function. Unify Unifies code between Generals and Zero Hour
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants