Skip to content

Create /compatibility directory#51

Open
matheusvb3 wants to merge 32 commits intodevelopfrom
compat
Open

Create /compatibility directory#51
matheusvb3 wants to merge 32 commits intodevelopfrom
compat

Conversation

@matheusvb3
Copy link
Owner

@matheusvb3 matheusvb3 commented Jan 10, 2026

This PR does the following:

  • moves /rct1, /rct2 and /rct12 to a /compatibility directory
  • renames /rct12 to /shared since that makes more semantic sense
  • creates FlagHoldersFwd.h which contains forwards declarations for all flag holders that are shared between RCT1.h, RCT2.h and RCT12.h

Right now it only contains BannerFlags and RideInvalidateFlags but will grow as more FlagHolder conversions happen.

For reviewers: I'm unsure if I should actually include FlagHolder.hpp in FlagHoldersFwd.h or I should also forward declare the FlagHolder type in that file (like it was being done in RCT2.h) to avoid importing FlagHolder.hpp into RCT1.h, RCT2.h and RCT12.h as well?

@matheusvb3 matheusvb3 force-pushed the compat branch 2 times, most recently from b42ca10 to b30475d Compare January 10, 2026 13:28
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.

1 participant