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

Part of #21421: replace define with constexpr #21705

Closed

Conversation

janclod
Copy link
Contributor

@janclod janclod commented Apr 1, 2024

Part of #21421

Different refactor (mostly few lines of code per replaced define), some unused #define deleted, one define (ADD_CLAMP_BODY) replaced with a template function.

I realize that this PR may be too big to review at once, please let me know if I should split it.

Copy link
Member

@tupaschoal tupaschoal left a comment

Choose a reason for hiding this comment

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

PRs getting a bit big, please keep to around 10 commits (it's not science, 10 commits might still be big, but you get the idea)

src/openrct2/network/network.h Show resolved Hide resolved
src/openrct2/management/Finance.cpp Show resolved Hide resolved
src/openrct2/management/Finance.h Show resolved Hide resolved
src/openrct2/localisation/Currency.cpp Show resolved Hide resolved
src/openrct2/network/NetworkBase.cpp Show resolved Hide resolved
@janclod janclod closed this Apr 9, 2024
@janclod janclod deleted the replace-define-with-constexpr-fixvalue branch April 9, 2024 12:17
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

2 participants