Sitelet https://web.archive.org/web/20251203110340/https://github.com/OpenRCT2/OpenRCT2/issues/16146
Skip to content

Refactor all bound_box calls to use the same structure #16146

@frutiemax

Description

@frutiemax

There are many places where a bound_box is declared for flat rides, i.e. swinging_ship_bound_box, rct_crooked_house_bound_box, etc. To avoid code duplication, a BoundBoxXY structure should be declared with CoordsXY Offset and CoordsXY Length fields.

Metadata

Metadata

Assignees

No one assigned

    Labels

    good-first-issueLow hanging fruits good for people new to open source or OpenRCT2.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions