Skip to content

Conversation

@spacek531
Copy link
Contributor

@spacek531 spacek531 commented Mar 12, 2023

Solves #26

Adding my sprite groups refactor to this tool. The general mode of operation is when activating or deactivating simple sprite groups, the legacy_group_implications enables additional sprite groups based on what is currently enabled, or disables sprite groups if their constituents are not enabled. After the implication phase, the new sprite groups are enabled or disabled based on legacy_group_map and the default precision in sprite_group_metadata. If the user switches from full to simple mode, the disable-enable code is run again, to prevent the project state from being different than what the options say.

Todo:

@spacek531
Copy link
Contributor Author

spacek531 commented Mar 12, 2023

For future reference:

    Slopes25Banked22,
vvvv
    Slopes8Banked45,
    Slopes16Banked22,
    Slopes16Banked45,
^^^^
    Slopes25Banked45,

@spacek531 spacek531 marked this pull request as ready for review March 16, 2023 04:13
Copy link
Member

@Gymnasiast Gymnasiast left a comment

Choose a reason for hiding this comment

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

I agree with the principle, we added those sprite groups to OpenRCT2 itself long ago and they’ve proven to be quite useful.

@spacek531 spacek531 linked an issue Oct 6, 2025 that may be closed by this pull request
@spacek531 spacek531 force-pushed the refactor/sprite-groups branch from eb764aa to a0fa5f2 Compare October 7, 2025 06:06
@spacek531 spacek531 force-pushed the refactor/sprite-groups branch from cdf259c to e6edf17 Compare October 7, 2025 06:37
@spacek531
Copy link
Contributor Author

This is updated to improve things and include the new dive loop angles (not yet tested).

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.

New method for vehicle angles

2 participants