Skip to content

Remove AddFuncs calls in ScWidget.hpp - #27044

Open
Harry-Hopkinson wants to merge 2 commits into
OpenRCT2:developfrom
Harry-Hopkinson:remove-addfuncs-calls-ScWidget.hpp
Open

Remove AddFuncs calls in ScWidget.hpp#27044
Harry-Hopkinson wants to merge 2 commits into
OpenRCT2:developfrom
Harry-Hopkinson:remove-addfuncs-calls-ScWidget.hpp

Conversation

@Harry-Hopkinson

@Harry-Hopkinson Harry-Hopkinson commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

Description of changes

For #27043: Remove AddFuncs calls in ScWidget.hpp for Register() pattern.

Rationale behind changes

Register() pattern is faster than AddFuncs().

Suggested testing steps

Test that plugins widgets still work as expected.

Did you use AI to help find, test, or implement this issue or feature?

AI was not used.

@github-actions github-actions Bot added the plug-in Related to the plugin system of OpenRCT2. label Sep 1, 2026
@Harry-Hopkinson
Harry-Hopkinson force-pushed the remove-addfuncs-calls-ScWidget.hpp branch from 5a39897 to d4af406 Compare September 1, 2026 15:32
@Harry-Hopkinson
Harry-Hopkinson marked this pull request as ready for review September 1, 2026 15:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

plug-in Related to the plugin system of OpenRCT2.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants