Skip to content
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

Remove custom_info pointer #20480

Merged
merged 2 commits into from Jul 18, 2023

Conversation

duncanspumpkin
Copy link
Contributor

@duncanspumpkin duncanspumpkin commented Jun 26, 2023

This was slightly convoluted to remove but I think its all done safely. Would be good to verify with a few plugins that i haven't broken anything.

I removed the initialize function so the custom info doesn't need dynamic allocated and all of the pointer part of it isn't required.

Related to #20429

@ZehMatt ZehMatt added this to the v0.4.6 milestone Jun 26, 2023
Copy link
Member

@ZehMatt ZehMatt left a comment

Choose a reason for hiding this comment

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

Tested with a few plugins that have UI, looks good.

@duncanspumpkin duncanspumpkin merged commit ce86aa0 into OpenRCT2:develop Jul 18, 2023
21 checks passed
@duncanspumpkin duncanspumpkin deleted the removeCustomInfo branch July 18, 2023 05:24
@Sadret
Copy link
Contributor

Sadret commented Jul 18, 2023

Tested with a few plugins that have UI, looks good.

Did you test with a plugin that has a tabbed window?

mrmbernardi pushed a commit to mrmbernardi/OpenRCT2 that referenced this pull request Jul 22, 2023
* Remove custom_info pointer

* Formatting
X123M3-256 pushed a commit to X123M3-256/OpenRCT2 that referenced this pull request Jul 23, 2023
* Remove custom_info pointer

* Formatting
Realsteel89 pushed a commit to Realsteel89/OpenRCT2 that referenced this pull request Oct 10, 2023
* Remove custom_info pointer

* Formatting
AT41 pushed a commit to AT41/OpenRCT2 that referenced this pull request Dec 24, 2023
* Remove custom_info pointer

* Formatting
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.

None yet

3 participants