mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-29 01:35:06 +01:00
Change Tool members to new codestyle
This commit is contained in:
@@ -256,18 +256,18 @@ enum class GuestListFilterType : int32_t
|
||||
|
||||
enum class Tool
|
||||
{
|
||||
Arrow = 0,
|
||||
UpArrow = 2,
|
||||
UpDownArrow = 3,
|
||||
Picker = 7,
|
||||
Crosshair = 12,
|
||||
PathDown = 17,
|
||||
DigDown = 18,
|
||||
WaterDown = 19,
|
||||
WalkDown = 22,
|
||||
PaintDown = 23,
|
||||
EntranceDown = 24,
|
||||
Bulldozer = 27,
|
||||
arrow = 0,
|
||||
upArrow = 2,
|
||||
upDownArrow = 3,
|
||||
picker = 7,
|
||||
crosshair = 12,
|
||||
pathDown = 17,
|
||||
digDown = 18,
|
||||
waterDown = 19,
|
||||
walkDown = 22,
|
||||
paintDown = 23,
|
||||
entranceDown = 24,
|
||||
bulldozer = 27,
|
||||
};
|
||||
|
||||
namespace OpenRCT2
|
||||
|
||||
@@ -879,7 +879,7 @@ static bool ride_modify_entrance_or_exit(const CoordsXYE& tileElement)
|
||||
ToolSet(
|
||||
*constructionWindow,
|
||||
entranceType == ENTRANCE_TYPE_RIDE_ENTRANCE ? WC_RIDE_CONSTRUCTION__WIDX_ENTRANCE : WC_RIDE_CONSTRUCTION__WIDX_EXIT,
|
||||
Tool::Crosshair);
|
||||
Tool::crosshair);
|
||||
gRideEntranceExitPlaceType = entranceType;
|
||||
gRideEntranceExitPlaceRideIndex = rideIndex;
|
||||
gRideEntranceExitPlaceStationIndex = stationIndex;
|
||||
@@ -907,7 +907,7 @@ static bool ride_modify_entrance_or_exit(const CoordsXYE& tileElement)
|
||||
: WC_RIDE_CONSTRUCTION__WIDX_EXIT;
|
||||
|
||||
ToolCancel();
|
||||
ToolSet(*constructionWindow, newToolWidgetIndex, Tool::Crosshair);
|
||||
ToolSet(*constructionWindow, newToolWidgetIndex, Tool::crosshair);
|
||||
});
|
||||
|
||||
GameActions::Execute(&rideEntranceExitRemove);
|
||||
@@ -1072,7 +1072,7 @@ int32_t RideInitialiseConstructionWindow(Ride& ride)
|
||||
|
||||
w = ride_create_or_find_construction_window(ride.id);
|
||||
|
||||
ToolSet(*w, WC_RIDE_CONSTRUCTION__WIDX_CONSTRUCT, Tool::Crosshair);
|
||||
ToolSet(*w, WC_RIDE_CONSTRUCTION__WIDX_CONSTRUCT, Tool::crosshair);
|
||||
InputSetFlag(INPUT_FLAG_6, true);
|
||||
|
||||
_currentlySelectedTrack = ride.GetRideTypeDescriptor().StartTrackPiece;
|
||||
|
||||
Reference in New Issue
Block a user