Skip to content

Commit

Permalink
add doc-block to GetUnifiedSpeed
Browse files Browse the repository at this point in the history
  • Loading branch information
spacek531 committed Nov 5, 2024
1 parent b4928d9 commit cb48423
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/openrct2/ride/RideData.h
Original file line number Diff line number Diff line change
Expand Up @@ -524,6 +524,10 @@ struct RideTypeDescriptor
bool SupportsTrackGroup(const TrackGroup trackGroup) const;
ResearchCategory GetResearchCategory() const;
bool SupportsRideMode(RideMode rideMode) const;
/**
* Converts booster speed from the ride type's speed regime (Junior, Default, Giga) to to the unified values used by the
* vehicle. See https://github.com/OpenRCT2/OpenRCT2/discussions/23119 for more information about unified speed.
*/
int32_t GetUnifiedBoosterSpeed(int32_t relativeSpeed) const;
};

Expand Down

0 comments on commit cb48423

Please sign in to comment.