Skip to content

Commit

Permalink
Move MetalSupportTypeCount to Supports.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
Gymnasiast committed Oct 25, 2023
1 parent 3b074be commit d88abab
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions src/openrct2/paint/Supports.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1540,6 +1540,7 @@ bool PathBSupportsPaintSetup(
return false; // AND
}

constexpr uint8_t MetalSupportTypeCount = 13;
constexpr MetalSupportType RotatedMetalSupports[MetalSupportTypeCount][NumOrthogonalDirections] = {
{ MetalSupportType::Tubes, MetalSupportType::Tubes, MetalSupportType::Tubes, MetalSupportType::Tubes },
{ MetalSupportType::Fork, MetalSupportType::ForkAlt, MetalSupportType::Fork, MetalSupportType::ForkAlt },
Expand Down
1 change: 0 additions & 1 deletion src/openrct2/paint/Supports.h
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,6 @@ enum class MetalSupportType : uint8_t
*/
BoxedCoated,
};
constexpr uint8_t MetalSupportTypeCount = 13;

/**
* Tiles are rendered at a 45 degree angle, with the corners on the top, bottom, left and right.
Expand Down

0 comments on commit d88abab

Please sign in to comment.