Skip to content

Commit

Permalink
add fields to ride type descriptor
Browse files Browse the repository at this point in the history
  • Loading branch information
spacek531 committed May 2, 2024
1 parent 17920b6 commit b98d2cd
Show file tree
Hide file tree
Showing 90 changed files with 204 additions and 93 deletions.
24 changes: 20 additions & 4 deletions src/openrct2/ride/RideData.h
Original file line number Diff line number Diff line change
Expand Up @@ -199,14 +199,26 @@ struct RideOperatingSettings
{
uint8_t MinValue;
uint8_t MaxValue;
uint8_t MaxBrakesSpeed;
uint8_t PoweredLiftAcceleration;
uint8_t BoosterAcceleration;
int8_t BoosterSpeedFactor; // The factor to shift the raw booster speed with
uint16_t AccelerationFactor = 12;
uint16_t AccelerationFactor = 12; // the amount to right-shift the launch speed for powered launch from a station
uint8_t OperatingSettingMultiplier = 1; // Used for the Ride window, cosmetic only.
};

struct RideTrackSpeedSettings
{
int8_t BrakesMaxSpeed = 30;
int8_t BoosterMaxSpeed = 30;
};

struct RideLegacyBoosterSettings
// These are values that must be kept for backwards compatibility and should not be used for new work
{
uint8_t PoweredLiftAcceleration = 0; // PoweredLiftAcceleration value before unified-speed update
uint8_t BoosterAcceleration = 0; // BoosterAcceleration value before unified-speed update
int8_t BoosterSpeedFactor = 0; // The factor to shift the raw booster speed with
};

struct RatingsModifier
{
RatingsModifierType Type;
Expand Down Expand Up @@ -317,6 +329,8 @@ struct RideTypeDescriptor
RideMode DefaultMode{};
/** rct2: 0x0097CF40 */
RideOperatingSettings OperatingSettings{};
RideTrackSpeedSettings TrackSpeedSettings{};
RideLegacyBoosterSettings LegacyBoosterSettings{};
RideNaming Naming{};
RideNameConvention NameConvention{};
const char* EnumName{};
Expand Down Expand Up @@ -538,7 +552,9 @@ constexpr RideTypeDescriptor DummyRTD =
.Flags = 0,
.RideModes = EnumsToFlags(RideMode::ContinuousCircuit),
.DefaultMode = RideMode::ContinuousCircuit,
.OperatingSettings = { 0, 0, 0, 0, 0, 0 },
.OperatingSettings = { 0, 0, 0, 0, 12, 1 },
.TrackSpeedSettings = { 30, 30 },
.LegacyBoosterSettings = {0, 0, 0},
.Naming = { STR_UNKNOWN_RIDE, STR_RIDE_DESCRIPTION_UNKNOWN },
.NameConvention = { RideComponentType::Train, RideComponentType::Track, RideComponentType::Station },
.EnumName = "(INVALID)",
Expand Down
4 changes: 3 additions & 1 deletion src/openrct2/ride/coaster/meta/AirPoweredVerticalCoaster.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ constexpr RideTypeDescriptor AirPoweredVerticalCoasterRTD =
.Flags = RIDE_TYPE_FLAGS_TRACK_HAS_3_COLOURS | RIDE_TYPE_FLAGS_COMMON_COASTER | RIDE_TYPE_FLAGS_COMMON_COASTER_NON_ALT | RIDE_TYPE_FLAG_PEEP_CHECK_GFORCES,
.RideModes = EnumsToFlags(RideMode::PoweredLaunchPasstrough, RideMode::PoweredLaunch),
.DefaultMode = RideMode::PoweredLaunchPasstrough,
.OperatingSettings = { 30, 50, 30, 40, 40, 0, 13 },
.OperatingSettings = { 30, 50, 40, 40, 13 },
.TrackSpeedSettings = { 60, 60 },
.LegacyBoosterSettings = { 40, 40, 0 },
.Naming = { STR_RIDE_NAME_AIR_POWERED_VERTICAL_COASTER, STR_RIDE_DESCRIPTION_AIR_POWERED_VERTICAL_COASTER },
.NameConvention = { RideComponentType::Train, RideComponentType::Track, RideComponentType::Station },
.EnumName = nameof(RIDE_TYPE_AIR_POWERED_VERTICAL_COASTER),
Expand Down
4 changes: 3 additions & 1 deletion src/openrct2/ride/coaster/meta/AlpineCoaster.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@ constexpr RideTypeDescriptor AlpineCoasterRTD =
RIDE_TYPE_FLAG_NO_TEST_MODE | RIDE_TYPE_FLAG_ALLOW_MORE_VEHICLES_THAN_STATION_FITS | RIDE_TYPE_FLAG_UP_INCLINE_REQUIRES_LIFT,
.RideModes = EnumsToFlags(RideMode::ContinuousCircuit),
.DefaultMode = RideMode::ContinuousCircuit,
.OperatingSettings = { 0, 0, 0, 0, 0, 0 },
.OperatingSettings = { 0, 0, 0, 0 },
.TrackSpeedSettings = { 10, 10 },
.LegacyBoosterSettings = { 0, 0, 0 },
.Naming = { STR_RIDE_NAME_ALPINE_COASTER, STR_RIDE_DESCRIPTION_ALPINE_COASTER },
.NameConvention = { RideComponentType::Car, RideComponentType::Track, RideComponentType::Station },
.EnumName = nameof(RIDE_TYPE_ALPINE_ROLLER_COASTER),
Expand Down
3 changes: 2 additions & 1 deletion src/openrct2/ride/coaster/meta/BobsleighCoaster.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ constexpr RideTypeDescriptor BobsleighCoasterRTD =
RIDE_TYPE_FLAG_ALLOW_MULTIPLE_CIRCUITS,
.RideModes = EnumsToFlags(RideMode::ContinuousCircuit, RideMode::ContinuousCircuitBlockSectioned),
.DefaultMode = RideMode::ContinuousCircuit,
.OperatingSettings = { 0, 0, 0, 0, 0, 0 },
.OperatingSettings = { 0, 0, 0, 0 },
.LegacyBoosterSettings = { 0, 0, 0 },
.Naming = { STR_RIDE_NAME_BOBSLEIGH_COASTER, STR_RIDE_DESCRIPTION_BOBSLEIGH_COASTER },
.NameConvention = { RideComponentType::Train, RideComponentType::Track, RideComponentType::Station },
.EnumName = nameof(RIDE_TYPE_BOBSLEIGH_COASTER),
Expand Down
3 changes: 2 additions & 1 deletion src/openrct2/ride/coaster/meta/ClassicMiniRollerCoaster.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ constexpr RideTypeDescriptor ClassicMiniRollerCoasterRTD =
RIDE_TYPE_FLAG_ALLOW_REVERSED_TRAINS,
.RideModes = EnumsToFlags(RideMode::ContinuousCircuit, RideMode::ContinuousCircuitBlockSectioned, RideMode::ReverseInclineLaunchedShuttle),
.DefaultMode = RideMode::ContinuousCircuit,
.OperatingSettings = { 0, 0, 0, 17, 16, -1 },
.OperatingSettings = { 0, 0, 17, 16 },
.LegacyBoosterSettings = { 0, 0, -1 },
.Naming = { STR_RIDE_NAME_CLASSIC_MINI_ROLLER_COASTER, STR_RIDE_DESCRIPTION_CLASSIC_MINI_COASTER },
.NameConvention = { RideComponentType::Train, RideComponentType::Track, RideComponentType::Station },
.EnumName = nameof(RIDE_TYPE_CLASSIC_MINI_ROLLER_COASTER),
Expand Down
3 changes: 2 additions & 1 deletion src/openrct2/ride/coaster/meta/ClassicStandUpRollerCoaster.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ constexpr RideTypeDescriptor ClassicStandUpRollerCoasterRTD =
RIDE_TYPE_FLAG_ALLOW_REVERSED_TRAINS,
.RideModes = EnumsToFlags(RideMode::ContinuousCircuit, RideMode::ContinuousCircuitBlockSectioned, RideMode::ReverseInclineLaunchedShuttle, RideMode::PoweredLaunchPasstrough, RideMode::PoweredLaunch),
.DefaultMode = RideMode::ContinuousCircuit,
.OperatingSettings = { 7, 27, 0, 0, 0, 0 },
.OperatingSettings = { 7, 27, 0, 0 },
.LegacyBoosterSettings = { 0, 0, 0 },
.Naming = { STR_RIDE_NAME_CLASSIC_STAND_UP_ROLLER_COASTER, STR_RIDE_DESCRIPTION_CLASSIC_STAND_UP_ROLLER_COASTER },
.NameConvention = { RideComponentType::Train, RideComponentType::Track, RideComponentType::Station },
.EnumName = nameof(RIDE_TYPE_CLASSIC_STAND_UP_ROLLER_COASTER),
Expand Down
3 changes: 2 additions & 1 deletion src/openrct2/ride/coaster/meta/ClassicWoodenRollerCoaster.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ constexpr RideTypeDescriptor ClassicWoodenRollerCoasterRTD =
RIDE_TYPE_FLAG_ALLOW_REVERSED_TRAINS,
.RideModes = EnumsToFlags(RideMode::ContinuousCircuit, RideMode::ContinuousCircuitBlockSectioned),
.DefaultMode = RideMode::ContinuousCircuit,
.OperatingSettings = { 0, 0, 0, 0, 68, 0 },
.OperatingSettings = { 0, 0, 0, 68 },
.LegacyBoosterSettings = { 0, 68, 0 },
.Naming = { STR_RIDE_NAME_CLASSIC_WOODEN_ROLLER_COASTER, STR_RIDE_DESCRIPTION_CLASSIC_WOODEN_ROLLER_COASTER },
.NameConvention = { RideComponentType::Train, RideComponentType::Track, RideComponentType::Station },
.EnumName = nameof(RIDE_TYPE_CLASSIC_WOODEN_ROLLER_COASTER),
Expand Down
3 changes: 2 additions & 1 deletion src/openrct2/ride/coaster/meta/CompactInvertedCoaster.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ constexpr RideTypeDescriptor CompactInvertedCoasterRTD =
RIDE_TYPE_FLAG_PEEP_CHECK_GFORCES | RIDE_TYPE_FLAG_ALLOW_MULTIPLE_CIRCUITS | RIDE_TYPE_FLAG_IS_SUSPENDED,
.RideModes = EnumsToFlags(RideMode::ContinuousCircuit, RideMode::ContinuousCircuitBlockSectioned, RideMode::ReverseInclineLaunchedShuttle),
.DefaultMode = RideMode::ContinuousCircuit,
.OperatingSettings = { 7, 27, 0, 0, 0, 0 },
.OperatingSettings = { 7, 27, 0, 0 },
.LegacyBoosterSettings = { 0, 0, 0 },
.Naming = { STR_RIDE_NAME_COMPACT_INVERTED_COASTER, STR_RIDE_DESCRIPTION_COMPACT_INVERTED_COASTER },
.NameConvention = { RideComponentType::Train, RideComponentType::Track, RideComponentType::Station },
.EnumName = nameof(RIDE_TYPE_COMPACT_INVERTED_COASTER),
Expand Down
3 changes: 2 additions & 1 deletion src/openrct2/ride/coaster/meta/CorkscrewRollerCoaster.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ constexpr RideTypeDescriptor CorkscrewRollerCoasterRTD =
RIDE_TYPE_FLAG_ALLOW_REVERSED_TRAINS,
.RideModes = EnumsToFlags(RideMode::ContinuousCircuit, RideMode::ContinuousCircuitBlockSectioned, RideMode::PoweredLaunchPasstrough, RideMode::PoweredLaunch, RideMode::ReverseInclineLaunchedShuttle),
.DefaultMode = RideMode::ContinuousCircuit,
.OperatingSettings = { 10, 27, 30, 25, 25, 0 },
.OperatingSettings = { 10, 27, 25, 25 },
.LegacyBoosterSettings = { 25, 25, 0 },
.Naming = { STR_RIDE_NAME_CORKSCREW_ROLLER_COASTER, STR_RIDE_DESCRIPTION_CORKSCREW_ROLLER_COASTER },
.NameConvention = { RideComponentType::Train, RideComponentType::Track, RideComponentType::Station },
.EnumName = nameof(RIDE_TYPE_CORKSCREW_ROLLER_COASTER),
Expand Down
3 changes: 2 additions & 1 deletion src/openrct2/ride/coaster/meta/FlyingRollerCoaster.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ constexpr RideTypeDescriptor FlyingRollerCoasterRTD =
RIDE_TYPE_FLAG_ALLOW_MULTIPLE_CIRCUITS | RIDE_TYPE_FLAG_START_CONSTRUCTION_INVERTED,
.RideModes = EnumsToFlags(RideMode::ContinuousCircuit, RideMode::ContinuousCircuitBlockSectioned),
.DefaultMode = RideMode::ContinuousCircuit,
.OperatingSettings = { 10, 27, 30, 25, 25, 0 },
.OperatingSettings = { 10, 27, 25, 25 },
.LegacyBoosterSettings = { 25, 25, 0 },
.Naming = { STR_RIDE_NAME_FLYING_ROLLER_COASTER, STR_RIDE_DESCRIPTION_FLYING_ROLLER_COASTER },
.NameConvention = { RideComponentType::Train, RideComponentType::Track, RideComponentType::Station },
.EnumName = nameof(RIDE_TYPE_FLYING_ROLLER_COASTER),
Expand Down
4 changes: 3 additions & 1 deletion src/openrct2/ride/coaster/meta/GigaCoaster.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@ constexpr RideTypeDescriptor GigaCoasterRTD =
RIDE_TYPE_FLAG_ALLOW_REVERSED_TRAINS,
.RideModes = EnumsToFlags(RideMode::ContinuousCircuit, RideMode::ContinuousCircuitBlockSectioned),
.DefaultMode = RideMode::ContinuousCircuit,
.OperatingSettings = { 10, 27, 30, 17, 68, 1 },
.OperatingSettings = { 10, 27, 17, 68 },
.TrackSpeedSettings = { 60, 60 }
.LegacyBoosterSettings = { 17, 68, 1 },

Check failure on line 36 in src/openrct2/ride/coaster/meta/GigaCoaster.h

View workflow job for this annotation

GitHub Actions / Windows (win32)

syntax error: '.' [D:\a\OpenRCT2\OpenRCT2\src\openrct2\libopenrct2.vcxproj]

Check failure on line 36 in src/openrct2/ride/coaster/meta/GigaCoaster.h

View workflow job for this annotation

GitHub Actions / Windows (win32)

syntax error: missing ';' before '{' [D:\a\OpenRCT2\OpenRCT2\src\openrct2\libopenrct2.vcxproj]

Check failure on line 36 in src/openrct2/ride/coaster/meta/GigaCoaster.h

View workflow job for this annotation

GitHub Actions / Windows (win32)

'{': missing function header (old-style formal list?) [D:\a\OpenRCT2\OpenRCT2\src\openrct2\libopenrct2.vcxproj]

Check failure on line 36 in src/openrct2/ride/coaster/meta/GigaCoaster.h

View workflow job for this annotation

GitHub Actions / Windows (win32)

syntax error: ',' [D:\a\OpenRCT2\OpenRCT2\src\openrct2\libopenrct2.vcxproj]

Check failure on line 36 in src/openrct2/ride/coaster/meta/GigaCoaster.h

View workflow job for this annotation

GitHub Actions / Windows (x64)

syntax error: '.' [D:\a\OpenRCT2\OpenRCT2\src\openrct2\libopenrct2.vcxproj]

Check failure on line 36 in src/openrct2/ride/coaster/meta/GigaCoaster.h

View workflow job for this annotation

GitHub Actions / Windows (x64)

syntax error: missing ';' before '{' [D:\a\OpenRCT2\OpenRCT2\src\openrct2\libopenrct2.vcxproj]

Check failure on line 36 in src/openrct2/ride/coaster/meta/GigaCoaster.h

View workflow job for this annotation

GitHub Actions / Windows (x64)

'{': missing function header (old-style formal list?) [D:\a\OpenRCT2\OpenRCT2\src\openrct2\libopenrct2.vcxproj]

Check failure on line 36 in src/openrct2/ride/coaster/meta/GigaCoaster.h

View workflow job for this annotation

GitHub Actions / Windows (x64)

syntax error: ',' [D:\a\OpenRCT2\OpenRCT2\src\openrct2\libopenrct2.vcxproj]

Check failure on line 36 in src/openrct2/ride/coaster/meta/GigaCoaster.h

View workflow job for this annotation

GitHub Actions / Windows (arm64)

syntax error: '.' [D:\a\OpenRCT2\OpenRCT2\src\openrct2\libopenrct2.vcxproj]

Check failure on line 36 in src/openrct2/ride/coaster/meta/GigaCoaster.h

View workflow job for this annotation

GitHub Actions / Windows (arm64)

syntax error: missing ';' before '{' [D:\a\OpenRCT2\OpenRCT2\src\openrct2\libopenrct2.vcxproj]

Check failure on line 36 in src/openrct2/ride/coaster/meta/GigaCoaster.h

View workflow job for this annotation

GitHub Actions / Windows (arm64)

'{': missing function header (old-style formal list?) [D:\a\OpenRCT2\OpenRCT2\src\openrct2\libopenrct2.vcxproj]

Check failure on line 36 in src/openrct2/ride/coaster/meta/GigaCoaster.h

View workflow job for this annotation

GitHub Actions / Windows (arm64)

syntax error: ',' [D:\a\OpenRCT2\OpenRCT2\src\openrct2\libopenrct2.vcxproj]

Check failure on line 36 in src/openrct2/ride/coaster/meta/GigaCoaster.h

View workflow job for this annotation

GitHub Actions / macOS (arm64) using CMake

expected '}'

Check failure on line 36 in src/openrct2/ride/coaster/meta/GigaCoaster.h

View workflow job for this annotation

GitHub Actions / macOS (x64) using CMake

expected '}'

Check failure on line 36 in src/openrct2/ride/coaster/meta/GigaCoaster.h

View workflow job for this annotation

GitHub Actions / Windows (win32) using mingw

expected ‘}’ before ‘.’ token

Check failure on line 36 in src/openrct2/ride/coaster/meta/GigaCoaster.h

View workflow job for this annotation

GitHub Actions / Windows (win32) using mingw

expected ‘,’ or ‘;’ before ‘.’ token

Check failure on line 36 in src/openrct2/ride/coaster/meta/GigaCoaster.h

View workflow job for this annotation

GitHub Actions / Windows (win32) using mingw

expected unqualified-id before ‘,’ token

Check failure on line 36 in src/openrct2/ride/coaster/meta/GigaCoaster.h

View workflow job for this annotation

GitHub Actions / Ubuntu Linux (jammy, debug, [http, network, flac, vorbis OpenGL] disabled) using clang

expected '}'

Check failure on line 36 in src/openrct2/ride/coaster/meta/GigaCoaster.h

View workflow job for this annotation

GitHub Actions / Ubuntu Linux (jammy, debug, [http, network, flac, vorbis OpenGL] disabled) using clang

expected '}'

Check failure on line 36 in src/openrct2/ride/coaster/meta/GigaCoaster.h

View workflow job for this annotation

GitHub Actions / Ubuntu Linux (debug) using clang, coverage enabled

expected '}'

Check failure on line 36 in src/openrct2/ride/coaster/meta/GigaCoaster.h

View workflow job for this annotation

GitHub Actions / Ubuntu Linux (debug) using clang, coverage enabled

expected '}'

Check failure on line 36 in src/openrct2/ride/coaster/meta/GigaCoaster.h

View workflow job for this annotation

GitHub Actions / Ubuntu Linux (jammy, x86_64, portable)

expected '}' before '.' token

Check failure on line 36 in src/openrct2/ride/coaster/meta/GigaCoaster.h

View workflow job for this annotation

GitHub Actions / Ubuntu Linux (jammy, x86_64, portable)

expected ',' or ';' before '.' token

Check failure on line 36 in src/openrct2/ride/coaster/meta/GigaCoaster.h

View workflow job for this annotation

GitHub Actions / Ubuntu Linux (jammy, x86_64, portable)

expected unqualified-id before ',' token

Check failure on line 36 in src/openrct2/ride/coaster/meta/GigaCoaster.h

View workflow job for this annotation

GitHub Actions / Ubuntu Linux (jammy, i686, portable)

expected '}' before '.' token

Check failure on line 36 in src/openrct2/ride/coaster/meta/GigaCoaster.h

View workflow job for this annotation

GitHub Actions / Ubuntu Linux (jammy, i686, portable)

expected ',' or ';' before '.' token

Check failure on line 36 in src/openrct2/ride/coaster/meta/GigaCoaster.h

View workflow job for this annotation

GitHub Actions / Ubuntu Linux (jammy, i686, portable)

expected unqualified-id before ',' token
.Naming = { STR_RIDE_NAME_GIGA_COASTER, STR_RIDE_DESCRIPTION_GIGA_COASTER },

Check failure on line 37 in src/openrct2/ride/coaster/meta/GigaCoaster.h

View workflow job for this annotation

GitHub Actions / Windows (win32)

syntax error: missing ';' before '{' [D:\a\OpenRCT2\OpenRCT2\src\openrct2\libopenrct2.vcxproj]

Check failure on line 37 in src/openrct2/ride/coaster/meta/GigaCoaster.h

View workflow job for this annotation

GitHub Actions / Windows (win32)

'{': missing function header (old-style formal list?) [D:\a\OpenRCT2\OpenRCT2\src\openrct2\libopenrct2.vcxproj]

Check failure on line 37 in src/openrct2/ride/coaster/meta/GigaCoaster.h

View workflow job for this annotation

GitHub Actions / Windows (win32)

syntax error: ',' [D:\a\OpenRCT2\OpenRCT2\src\openrct2\libopenrct2.vcxproj]

Check failure on line 37 in src/openrct2/ride/coaster/meta/GigaCoaster.h

View workflow job for this annotation

GitHub Actions / Windows (x64)

syntax error: missing ';' before '{' [D:\a\OpenRCT2\OpenRCT2\src\openrct2\libopenrct2.vcxproj]

Check failure on line 37 in src/openrct2/ride/coaster/meta/GigaCoaster.h

View workflow job for this annotation

GitHub Actions / Windows (x64)

'{': missing function header (old-style formal list?) [D:\a\OpenRCT2\OpenRCT2\src\openrct2\libopenrct2.vcxproj]

Check failure on line 37 in src/openrct2/ride/coaster/meta/GigaCoaster.h

View workflow job for this annotation

GitHub Actions / Windows (x64)

syntax error: ',' [D:\a\OpenRCT2\OpenRCT2\src\openrct2\libopenrct2.vcxproj]

Check failure on line 37 in src/openrct2/ride/coaster/meta/GigaCoaster.h

View workflow job for this annotation

GitHub Actions / Windows (arm64)

syntax error: missing ';' before '{' [D:\a\OpenRCT2\OpenRCT2\src\openrct2\libopenrct2.vcxproj]

Check failure on line 37 in src/openrct2/ride/coaster/meta/GigaCoaster.h

View workflow job for this annotation

GitHub Actions / Windows (arm64)

'{': missing function header (old-style formal list?) [D:\a\OpenRCT2\OpenRCT2\src\openrct2\libopenrct2.vcxproj]

Check failure on line 37 in src/openrct2/ride/coaster/meta/GigaCoaster.h

View workflow job for this annotation

GitHub Actions / Windows (arm64)

syntax error: ',' [D:\a\OpenRCT2\OpenRCT2\src\openrct2\libopenrct2.vcxproj]

Check failure on line 37 in src/openrct2/ride/coaster/meta/GigaCoaster.h

View workflow job for this annotation

GitHub Actions / Windows (win32) using mingw

expected unqualified-id before ‘.’ token

Check failure on line 37 in src/openrct2/ride/coaster/meta/GigaCoaster.h

View workflow job for this annotation

GitHub Actions / Windows (win32) using mingw

expected unqualified-id before ‘,’ token

Check failure on line 37 in src/openrct2/ride/coaster/meta/GigaCoaster.h

View workflow job for this annotation

GitHub Actions / Ubuntu Linux (jammy, x86_64, portable)

expected unqualified-id before '.' token

Check failure on line 37 in src/openrct2/ride/coaster/meta/GigaCoaster.h

View workflow job for this annotation

GitHub Actions / Ubuntu Linux (jammy, x86_64, portable)

expected unqualified-id before ',' token

Check failure on line 37 in src/openrct2/ride/coaster/meta/GigaCoaster.h

View workflow job for this annotation

GitHub Actions / Ubuntu Linux (jammy, i686, portable)

expected unqualified-id before '.' token

Check failure on line 37 in src/openrct2/ride/coaster/meta/GigaCoaster.h

View workflow job for this annotation

GitHub Actions / Ubuntu Linux (jammy, i686, portable)

expected unqualified-id before ',' token
.NameConvention = { RideComponentType::Train, RideComponentType::Track, RideComponentType::Station },

Check failure on line 38 in src/openrct2/ride/coaster/meta/GigaCoaster.h

View workflow job for this annotation

GitHub Actions / Windows (win32)

syntax error: missing ';' before '{' [D:\a\OpenRCT2\OpenRCT2\src\openrct2\libopenrct2.vcxproj]

Check failure on line 38 in src/openrct2/ride/coaster/meta/GigaCoaster.h

View workflow job for this annotation

GitHub Actions / Windows (win32)

'{': missing function header (old-style formal list?) [D:\a\OpenRCT2\OpenRCT2\src\openrct2\libopenrct2.vcxproj]

Check failure on line 38 in src/openrct2/ride/coaster/meta/GigaCoaster.h

View workflow job for this annotation

GitHub Actions / Windows (win32)

syntax error: ',' [D:\a\OpenRCT2\OpenRCT2\src\openrct2\libopenrct2.vcxproj]

Check failure on line 38 in src/openrct2/ride/coaster/meta/GigaCoaster.h

View workflow job for this annotation

GitHub Actions / Windows (x64)

syntax error: missing ';' before '{' [D:\a\OpenRCT2\OpenRCT2\src\openrct2\libopenrct2.vcxproj]

Check failure on line 38 in src/openrct2/ride/coaster/meta/GigaCoaster.h

View workflow job for this annotation

GitHub Actions / Windows (x64)

'{': missing function header (old-style formal list?) [D:\a\OpenRCT2\OpenRCT2\src\openrct2\libopenrct2.vcxproj]

Check failure on line 38 in src/openrct2/ride/coaster/meta/GigaCoaster.h

View workflow job for this annotation

GitHub Actions / Windows (arm64)

syntax error: missing ';' before '{' [D:\a\OpenRCT2\OpenRCT2\src\openrct2\libopenrct2.vcxproj]

Check failure on line 38 in src/openrct2/ride/coaster/meta/GigaCoaster.h

View workflow job for this annotation

GitHub Actions / Windows (arm64)

'{': missing function header (old-style formal list?) [D:\a\OpenRCT2\OpenRCT2\src\openrct2\libopenrct2.vcxproj]

Check failure on line 38 in src/openrct2/ride/coaster/meta/GigaCoaster.h

View workflow job for this annotation

GitHub Actions / Windows (arm64)

syntax error: ',' [D:\a\OpenRCT2\OpenRCT2\src\openrct2\libopenrct2.vcxproj]

Check failure on line 38 in src/openrct2/ride/coaster/meta/GigaCoaster.h

View workflow job for this annotation

GitHub Actions / Windows (win32) using mingw

expected unqualified-id before ‘.’ token

Check failure on line 38 in src/openrct2/ride/coaster/meta/GigaCoaster.h

View workflow job for this annotation

GitHub Actions / Windows (win32) using mingw

expected unqualified-id before ‘,’ token

Check failure on line 38 in src/openrct2/ride/coaster/meta/GigaCoaster.h

View workflow job for this annotation

GitHub Actions / Ubuntu Linux (jammy, x86_64, portable)

expected unqualified-id before '.' token

Check failure on line 38 in src/openrct2/ride/coaster/meta/GigaCoaster.h

View workflow job for this annotation

GitHub Actions / Ubuntu Linux (jammy, x86_64, portable)

expected unqualified-id before ',' token

Check failure on line 38 in src/openrct2/ride/coaster/meta/GigaCoaster.h

View workflow job for this annotation

GitHub Actions / Ubuntu Linux (jammy, i686, portable)

expected unqualified-id before '.' token

Check failure on line 38 in src/openrct2/ride/coaster/meta/GigaCoaster.h

View workflow job for this annotation

GitHub Actions / Ubuntu Linux (jammy, i686, portable)

expected unqualified-id before ',' token
.EnumName = nameof(RIDE_TYPE_GIGA_COASTER),

Check failure on line 39 in src/openrct2/ride/coaster/meta/GigaCoaster.h

View workflow job for this annotation

GitHub Actions / Windows (win32) using mingw

expected unqualified-id before ‘.’ token

Check failure on line 39 in src/openrct2/ride/coaster/meta/GigaCoaster.h

View workflow job for this annotation

GitHub Actions / Ubuntu Linux (jammy, x86_64, portable)

expected unqualified-id before '.' token

Check failure on line 39 in src/openrct2/ride/coaster/meta/GigaCoaster.h

View workflow job for this annotation

GitHub Actions / Ubuntu Linux (jammy, i686, portable)

expected unqualified-id before '.' token
Expand Down
3 changes: 2 additions & 1 deletion src/openrct2/ride/coaster/meta/HeartlineTwisterCoaster.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ constexpr RideTypeDescriptor HeartlineTwisterCoasterRTD =
RIDE_TYPE_FLAG_ALLOW_REVERSED_TRAINS,
.RideModes = EnumsToFlags(RideMode::ContinuousCircuit),
.DefaultMode = RideMode::ContinuousCircuit,
.OperatingSettings = { 10, 27, 30, 25, 25, 0 },
.OperatingSettings = { 10, 27, 25, 25 },
.LegacyBoosterSettings = { 25, 25, 0 },
.Naming = { STR_RIDE_NAME_HEARTLINE_TWISTER_COASTER, STR_RIDE_DESCRIPTION_HEARTLINE_TWISTER_COASTER },
.NameConvention = { RideComponentType::Car, RideComponentType::Track, RideComponentType::Station },
.EnumName = nameof(RIDE_TYPE_HEARTLINE_TWISTER_COASTER),
Expand Down
3 changes: 2 additions & 1 deletion src/openrct2/ride/coaster/meta/HybridCoaster.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ constexpr RideTypeDescriptor HybridCoasterRTD =
RIDE_TYPE_FLAG_PEEP_CHECK_GFORCES | RIDE_TYPE_FLAG_ALLOW_MULTIPLE_CIRCUITS | RIDE_TYPE_FLAG_ALLOW_REVERSED_TRAINS,
.RideModes = EnumsToFlags(RideMode::ContinuousCircuit, RideMode::ContinuousCircuitBlockSectioned),
.DefaultMode = RideMode::ContinuousCircuit,
.OperatingSettings = { 0, 0, 30, 15, 52, 0 },
.OperatingSettings = { 0, 0, 15, 52 },
.LegacyBoosterSettings = { 15, 52, 0 },
.Naming = { STR_RIDE_NAME_HYBRID_COASTER, STR_RIDE_DESCRIPTION_HYBRID_COASTER },
.NameConvention = { RideComponentType::Train, RideComponentType::Track, RideComponentType::Station },
.EnumName = nameof(RIDE_TYPE_HYBRID_COASTER),
Expand Down
4 changes: 3 additions & 1 deletion src/openrct2/ride/coaster/meta/HyperTwister.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@ constexpr RideTypeDescriptor HyperTwisterRTD =
RIDE_TYPE_FLAG_ALLOW_REVERSED_TRAINS,
.RideModes = EnumsToFlags(RideMode::ContinuousCircuit, RideMode::ContinuousCircuitBlockSectioned),
.DefaultMode = RideMode::ContinuousCircuit,
.OperatingSettings = { 10, 27, 30, 17, 68, 0 },
.OperatingSettings = { 10, 27, 17, 68 },
.TrackSpeedSettings = { 60, 60 },
.LegacyBoosterSettings = { 17, 68, 0 },
.Naming = { STR_RIDE_NAME_HYPER_TWISTER, STR_RIDE_DESCRIPTION_HYPER_TWISTER },
.NameConvention = { RideComponentType::Train, RideComponentType::Track, RideComponentType::Station},
.EnumName = nameof(RIDE_TYPE_HYPER_TWISTER),
Expand Down
4 changes: 3 additions & 1 deletion src/openrct2/ride/coaster/meta/Hypercoaster.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ constexpr RideTypeDescriptor HypercoasterRTD =
RIDE_TYPE_FLAG_ALLOW_REVERSED_TRAINS,
.RideModes = EnumsToFlags(RideMode::ContinuousCircuit, RideMode::ContinuousCircuitBlockSectioned, RideMode::PoweredLaunchPasstrough, RideMode::PoweredLaunch, RideMode::ReverseInclineLaunchedShuttle),
.DefaultMode = RideMode::ContinuousCircuit,
.OperatingSettings = { 10, 27, 30, 25, 25, 0 },
.OperatingSettings = { 10, 27, 25, 25 },
.TrackSpeedSettings = { 60, 60 },
.LegacyBoosterSettings = { 25, 25, 0 },
.Naming = { STR_RIDE_NAME_HYPERCOASTER, STR_RIDE_DESCRIPTION_HYPERCOASTER },
.NameConvention = { RideComponentType::Train, RideComponentType::Track, RideComponentType::Station },
.EnumName = nameof(RIDE_TYPE_HYPERCOASTER),
Expand Down
3 changes: 2 additions & 1 deletion src/openrct2/ride/coaster/meta/InvertedHairpinCoaster.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ constexpr RideTypeDescriptor InvertedHairpinCoasterRTD =
RIDE_TYPE_FLAG_IS_SUSPENDED,
.RideModes = EnumsToFlags(RideMode::ContinuousCircuit, RideMode::ContinuousCircuitBlockSectioned),
.DefaultMode = RideMode::ContinuousCircuit,
.OperatingSettings = { 0, 0, 0, 0, 0, 0 },
.OperatingSettings = { 0, 0, 0, 0 },
.LegacyBoosterSettings = { 0, 0, 0 },
.Naming = { STR_RIDE_NAME_INVERTED_HAIRPIN_COASTER, STR_RIDE_DESCRIPTION_INVERTED_HAIRPIN_COASTER },
.NameConvention = { RideComponentType::Car, RideComponentType::Track, RideComponentType::Station },
.EnumName = nameof(RIDE_TYPE_INVERTED_HAIRPIN_COASTER),
Expand Down
3 changes: 2 additions & 1 deletion src/openrct2/ride/coaster/meta/InvertedImpulseCoaster.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ constexpr RideTypeDescriptor InvertedImpulseCoasterRTD =
RIDE_TYPE_FLAG_ALLOW_REVERSED_TRAINS,
.RideModes = EnumsToFlags(RideMode::PoweredLaunchPasstrough, RideMode::PoweredLaunch),
.DefaultMode = RideMode::PoweredLaunchPasstrough,
.OperatingSettings = { 10, 33, 30, 25, 25, 0 },
.OperatingSettings = { 10, 33, 25, 25 },
.LegacyBoosterSettings = { 25, 25, 0 },
.Naming = { STR_RIDE_NAME_INVERTED_IMPULSE_COASTER, STR_RIDE_DESCRIPTION_INVERTED_IMPULSE_COASTER },
.NameConvention = { RideComponentType::Train, RideComponentType::Track, RideComponentType::Station },
.EnumName = nameof(RIDE_TYPE_INVERTED_IMPULSE_COASTER),
Expand Down
3 changes: 2 additions & 1 deletion src/openrct2/ride/coaster/meta/InvertedRollerCoaster.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ constexpr RideTypeDescriptor InvertedRollerCoasterRTD =
RIDE_TYPE_FLAG_ALLOW_REVERSED_TRAINS,
.RideModes = EnumsToFlags(RideMode::ContinuousCircuit, RideMode::ContinuousCircuitBlockSectioned, RideMode::PoweredLaunchPasstrough, RideMode::PoweredLaunch),
.DefaultMode = RideMode::ContinuousCircuit,
.OperatingSettings = { 7, 27, 0, 0, 38, 0 },
.OperatingSettings = { 7, 27, 0, 38 },
.LegacyBoosterSettings = { 0, 38, 0 },
.Naming = { STR_RIDE_NAME_INVERTED_ROLLER_COASTER, STR_RIDE_DESCRIPTION_INVERTED_ROLLER_COASTER },
.NameConvention = { RideComponentType::Train, RideComponentType::Track, RideComponentType::Station },
.EnumName = nameof(RIDE_TYPE_INVERTED_ROLLER_COASTER),
Expand Down
3 changes: 2 additions & 1 deletion src/openrct2/ride/coaster/meta/JuniorRollerCoaster.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ constexpr RideTypeDescriptor JuniorRollerCoasterRTD =
RIDE_TYPE_FLAG_ALLOW_REVERSED_TRAINS,
.RideModes = EnumsToFlags(RideMode::ContinuousCircuit, RideMode::ContinuousCircuitBlockSectioned),
.DefaultMode = RideMode::ContinuousCircuit,
.OperatingSettings = { 0, 0, 0, 17, 16, -1 },
.OperatingSettings = { 0, 0, 17, 16 },
.LegacyBoosterSettings = { 17, 16, 0-1 },
.Naming = { STR_RIDE_NAME_JUNIOR_ROLLER_COASTER, STR_RIDE_DESCRIPTION_JUNIOR_ROLLER_COASTER },
.NameConvention = { RideComponentType::Train, RideComponentType::Track, RideComponentType::Station },
.EnumName = nameof(RIDE_TYPE_JUNIOR_ROLLER_COASTER),
Expand Down
3 changes: 2 additions & 1 deletion src/openrct2/ride/coaster/meta/LIMLaunchedRollerCoaster.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ constexpr RideTypeDescriptor LIMLaunchedRollerCoasterRTD =
RIDE_TYPE_FLAG_ALLOW_REVERSED_TRAINS,
.RideModes = EnumsToFlags(RideMode::PoweredLaunchPasstrough, RideMode::PoweredLaunch, RideMode::PoweredLaunchBlockSectioned),
.DefaultMode = RideMode::PoweredLaunchPasstrough,
.OperatingSettings = { 10, 31, 26, 18, 52, 0 },
.OperatingSettings = { 10, 31, 18, 52 },
.LegacyBoosterSettings = { 18, 52, 0 },
.Naming = { STR_RIDE_NAME_LIM_LAUNCHED_ROLLER_COASTER, STR_RIDE_DESCRIPTION_LIM_LAUNCHED_ROLLER_COASTER },
.NameConvention = { RideComponentType::Train, RideComponentType::Track, RideComponentType::Station },
.EnumName = nameof(RIDE_TYPE_LIM_LAUNCHED_ROLLER_COASTER),
Expand Down
3 changes: 2 additions & 1 deletion src/openrct2/ride/coaster/meta/LayDownRollerCoaster.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ constexpr RideTypeDescriptor LayDownRollerCoasterRTD =
RIDE_TYPE_FLAG_HAS_ALTERNATIVE_TRACK_TYPE | RIDE_TYPE_FLAG_PEEP_CHECK_GFORCES | RIDE_TYPE_FLAG_ALLOW_MULTIPLE_CIRCUITS,
.RideModes = EnumsToFlags(RideMode::ContinuousCircuit, RideMode::ContinuousCircuitBlockSectioned),
.DefaultMode = RideMode::ContinuousCircuit,
.OperatingSettings = { 10, 27, 30, 25, 25, 0 },
.OperatingSettings = { 10, 27, 25, 25 },
.LegacyBoosterSettings = { 25, 25, 0 },
.Naming = { STR_RIDE_NAME_LAY_DOWN_ROLLER_COASTER, STR_RIDE_DESCRIPTION_LAY_DOWN_ROLLER_COASTER },
.NameConvention = { RideComponentType::Train, RideComponentType::Track, RideComponentType::Station },
.EnumName = nameof(RIDE_TYPE_LAY_DOWN_ROLLER_COASTER),
Expand Down
3 changes: 2 additions & 1 deletion src/openrct2/ride/coaster/meta/LoopingRollerCoaster.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ constexpr RideTypeDescriptor LoopingRollerCoasterRTD =
RIDE_TYPE_FLAG_ALLOW_REVERSED_TRAINS,
.RideModes = EnumsToFlags(RideMode::ContinuousCircuit, RideMode::ContinuousCircuitBlockSectioned, RideMode::ReverseInclineLaunchedShuttle, RideMode::PoweredLaunchPasstrough, RideMode::PoweredLaunch),
.DefaultMode = RideMode::ContinuousCircuit,
.OperatingSettings = { 10, 27, 26, 18, 18, 0 },
.OperatingSettings = { 10, 27, 18, 18 },
.LegacyBoosterSettings = { 18, 18, 0 },
.Naming = { STR_RIDE_NAME_LOOPING_ROLLER_COASTER, STR_RIDE_DESCRIPTION_LOOPING_ROLLER_COASTER },
.NameConvention = { RideComponentType::Train, RideComponentType::Track, RideComponentType::Station },
.EnumName = nameof(RIDE_TYPE_LOOPING_ROLLER_COASTER),
Expand Down
3 changes: 2 additions & 1 deletion src/openrct2/ride/coaster/meta/MineRide.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ constexpr RideTypeDescriptor MineRideRTD =
RIDE_TYPE_FLAG_ALLOW_REVERSED_TRAINS,
.RideModes = EnumsToFlags(RideMode::ContinuousCircuit),
.DefaultMode = RideMode::ContinuousCircuit,
.OperatingSettings = { 0, 0, 0, 0, 0, 0 },
.OperatingSettings = { 0, 0, 0, 0 },
.LegacyBoosterSettings = { 0, 0, 0 },
.Naming = { STR_RIDE_NAME_MINE_RIDE, STR_RIDE_DESCRIPTION_MINE_RIDE },
.NameConvention = { RideComponentType::Train, RideComponentType::Track, RideComponentType::Station },
.EnumName = nameof(RIDE_TYPE_MINE_RIDE),
Expand Down
3 changes: 2 additions & 1 deletion src/openrct2/ride/coaster/meta/MineTrainCoaster.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ constexpr RideTypeDescriptor MineTrainCoasterRTD =
RIDE_TYPE_FLAG_ALLOW_REVERSED_TRAINS,
.RideModes = EnumsToFlags(RideMode::ContinuousCircuit, RideMode::ContinuousCircuitBlockSectioned),
.DefaultMode = RideMode::ContinuousCircuit,
.OperatingSettings = { 0, 0, 0, 0, 0, 0 },
.OperatingSettings = { 0, 0, 0, 0 },
.LegacyBoosterSettings = { 0, 0, 0 },
.Naming = { STR_RIDE_NAME_MINE_TRAIN_COASTER, STR_RIDE_DESCRIPTION_MINE_TRAIN_COASTER },
.NameConvention = { RideComponentType::Train, RideComponentType::Track, RideComponentType::Station },
.EnumName = nameof(RIDE_TYPE_MINE_TRAIN_COASTER),
Expand Down
3 changes: 2 additions & 1 deletion src/openrct2/ride/coaster/meta/MiniRollerCoaster.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ constexpr RideTypeDescriptor MiniRollerCoasterRTD =
RIDE_TYPE_FLAG_ALLOW_REVERSED_TRAINS,
.RideModes = EnumsToFlags(RideMode::ContinuousCircuit, RideMode::ContinuousCircuitBlockSectioned),
.DefaultMode = RideMode::ContinuousCircuit,
.OperatingSettings = { 0, 0, 0, 0, 68, 1 },
.OperatingSettings = { 0, 0, 0, 68 },
.LegacyBoosterSettings = { 0, 68, 1 },
.Naming = { STR_RIDE_NAME_MINI_ROLLER_COASTER, STR_RIDE_DESCRIPTION_MINI_ROLLER_COASTER },
.NameConvention = { RideComponentType::Car, RideComponentType::Track, RideComponentType::Station },
.EnumName = nameof(RIDE_TYPE_MINI_ROLLER_COASTER),
Expand Down
3 changes: 2 additions & 1 deletion src/openrct2/ride/coaster/meta/MiniSuspendedCoaster.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ constexpr RideTypeDescriptor MiniSuspendedCoasterRTD =
RIDE_TYPE_FLAG_PEEP_CHECK_GFORCES | RIDE_TYPE_FLAG_IS_SUSPENDED,
.RideModes = EnumsToFlags(RideMode::ContinuousCircuit),
.DefaultMode = RideMode::ContinuousCircuit,
.OperatingSettings = { 0, 0, 0, 0, 0, 0 },
.OperatingSettings = { 0, 0, 0, 0 },
.LegacyBoosterSettings = { 0, 0, 0 },
.Naming = { STR_RIDE_NAME_MINI_SUSPENDED_COASTER, STR_RIDE_DESCRIPTION_MINI_SUSPENDED_COASTER },
.NameConvention = { RideComponentType::Car, RideComponentType::Track, RideComponentType::Station },
.EnumName = nameof(RIDE_TYPE_MINI_SUSPENDED_COASTER),
Expand Down
Loading

0 comments on commit b98d2cd

Please sign in to comment.