Add RMC track sounds

This commit is contained in:
Karst 2022-09-24 15:04:44 -05:00 committed by Gymnasiast
parent e0bff8ef82
commit 319276dc0e
No known key found for this signature in database
GPG key ID: DBFFF47AB2CA3EDD
4 changed files with 5 additions and 2 deletions

View file

@ -127,6 +127,8 @@ namespace OpenRCT2::Audio
DoorClose,
Portcullis,
CrowdAmbience,
LiftRMC,
TrackFrictionRMC,
NoScream = 254,
Null = 255
};

View file

@ -507,6 +507,7 @@ enum
FRICTION_SOUND_WATERSLIDE = 32,
FRICTION_SOUND_WOOD_LARGE = 54,
FRICTION_SOUND_STEEL_SMOOTH = 57,
FRICTION_SOUND_HYBRID = 65,
FRICTION_SOUND_NONE = 255
};

View file

@ -34,7 +34,7 @@ constexpr const RideTypeDescriptor HybridCoasterRTD =
SET_FIELD(AvailableBreakdowns, (1 << BREAKDOWN_SAFETY_CUT_OUT) | (1 << BREAKDOWN_RESTRAINTS_STUCK_CLOSED) | (1 << BREAKDOWN_RESTRAINTS_STUCK_OPEN) | (1 << BREAKDOWN_VEHICLE_MALFUNCTION) | (1 << BREAKDOWN_BRAKES_FAILURE)),
SET_FIELD(Heights, { 43, 24, 13, 13}),
SET_FIELD(MaxMass, 18),
SET_FIELD(LiftData, { OpenRCT2::Audio::SoundId::LiftClassic, 5, 8 }),
SET_FIELD(LiftData, { OpenRCT2::Audio::SoundId::LiftRMC, 5, 8 }),
SET_FIELD(RatingsCalculationFunction, ride_ratings_calculate_hybrid_coaster),
SET_FIELD(RatingsMultipliers, { 52, 36, 10 }),
SET_FIELD(UpkeepCosts, { 40, 20, 80, 10, 3, 10 }),

View file

@ -34,7 +34,7 @@ constexpr const RideTypeDescriptor SingleRailRollerCoasterRTD =
SET_FIELD(AvailableBreakdowns, (1 << BREAKDOWN_SAFETY_CUT_OUT) | (1 << BREAKDOWN_RESTRAINTS_STUCK_CLOSED) | (1 << BREAKDOWN_RESTRAINTS_STUCK_OPEN) | (1 << BREAKDOWN_VEHICLE_MALFUNCTION) | (1 << BREAKDOWN_BRAKES_FAILURE)),
SET_FIELD(Heights, { 28, 24, 5, 7}),
SET_FIELD(MaxMass, 18),
SET_FIELD(LiftData, { OpenRCT2::Audio::SoundId::LiftClassic, 5, 8 }),
SET_FIELD(LiftData, { OpenRCT2::Audio::SoundId::LiftRMC, 5, 8 }),
SET_FIELD(RatingsCalculationFunction, ride_ratings_calculate_single_rail_roller_coaster),
SET_FIELD(RatingsMultipliers, { 52, 36, 10 }),
SET_FIELD(UpkeepCosts, { 40, 20, 80, 10, 3, 10 }),