Skip to content

Commit

Permalink
Stop large corks, medium loops, zero g being built if no train sprites
Browse files Browse the repository at this point in the history
  • Loading branch information
mixiate authored Oct 27, 2024
1 parent 2bcf24f commit e666550
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions src/openrct2/ride/Ride.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4902,10 +4902,18 @@ OpenRCT2::BitSet<EnumValue(TrackGroup::count)> RideEntryGetSupportedTrackPieces(
{}, // TrackGroup::miniGolfHole
{ SpriteGroupType::SlopeFlat, SpritePrecision::Sprites4 }, // TrackGroup::rotationControlToggle
{ SpriteGroupType::Slopes60, SpritePrecision::Sprites4 }, // TrackGroup::slopeSteepUp
{}, // TrackGroup::corkscrewLarge
{}, // TrackGroup::halfLoopMedium
{}, // TrackGroup::zeroGRoll
{}, // TrackGroup::zeroGRollLarge
{ SpriteGroupType::Corkscrews, SpritePrecision::Sprites4, SpriteGroupType::SlopeInverted,
SpritePrecision::Sprites4 }, // TrackGroup::corkscrewLarge
{ SpriteGroupType::Slopes60, SpritePrecision::Sprites4, SpriteGroupType::Slopes75, SpritePrecision::Sprites4,
SpriteGroupType::Slopes90, SpritePrecision::Sprites4, SpriteGroupType::SlopesLoop, SpritePrecision::Sprites4,
SpriteGroupType::SlopeInverted, SpritePrecision::Sprites4 }, // TrackGroup::halfLoopMedium
{ SpriteGroupType::Slopes25Banked67, SpritePrecision::Sprites4, SpriteGroupType::Slopes25Banked90,
SpritePrecision::Sprites4, SpriteGroupType::Slopes25InlineTwists,
SpritePrecision::Sprites4 }, // TrackGroup::zeroGRoll
{ SpriteGroupType::Slopes42Banked22, SpritePrecision::Sprites4, SpriteGroupType::Slopes42Banked45,
SpritePrecision::Sprites4, SpriteGroupType::Slopes42Banked67, SpritePrecision::Sprites4,
SpriteGroupType::Slopes42Banked90, SpritePrecision::Sprites4, SpriteGroupType::Slopes60Banked22,
SpritePrecision::Sprites4 }, // TrackGroup::zeroGRollLarge
{ SpriteGroupType::Slopes25, SpritePrecision::Sprites4, SpriteGroupType::Slopes60, SpritePrecision::Sprites4,
SpriteGroupType::Slopes75, SpritePrecision::Sprites4, SpriteGroupType::Slopes90,
SpritePrecision::Sprites4 }, // TrackGroup::flyingLargeHalfLoopUninvertedUp
Expand Down

0 comments on commit e666550

Please sign in to comment.