1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-16 19:43:06 +01:00

Use track_type_t in RideRatingCalculationData

This commit is contained in:
Gymnasiast
2021-02-07 22:08:11 +01:00
parent fc1fd60dfc
commit fedfe7d166

View File

@@ -14,6 +14,7 @@
#include "RideTypes.h"
using ride_rating = fixed16_2dp;
using track_type_t = uint16_t;
// Convenience function for writing ride ratings. The result is a 16 bit signed
// integer. To create the ride rating 3.65 type RIDE_RATING(3,65)
@@ -44,7 +45,7 @@ struct RideRatingCalculationData
CoordsXYZ ProximityStart;
ride_id_t CurrentRide;
uint8_t State;
uint16_t ProximityTrackType;
track_type_t ProximityTrackType;
uint8_t ProximityBaseHeight;
uint16_t ProximityTotal;
uint16_t ProximityScores[26];