mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-31 02:35:46 +01:00
Rename snake_case functions in openrct2/src folder
Co-authored-by: duncanspumpkin <duncans_pumpkin@hotmail.co.uk>
This commit is contained in:
@@ -199,7 +199,7 @@ bool ViewportInteractionLeftClick(const ScreenCoordsXY& screenCoords)
|
||||
}
|
||||
case EntityType::Balloon:
|
||||
{
|
||||
if (game_is_not_paused())
|
||||
if (GameIsNotPaused())
|
||||
{
|
||||
auto balloonPress = BalloonPressAction(entity->sprite_index);
|
||||
GameActions::Execute(&balloonPress);
|
||||
@@ -208,7 +208,7 @@ bool ViewportInteractionLeftClick(const ScreenCoordsXY& screenCoords)
|
||||
break;
|
||||
case EntityType::Duck:
|
||||
{
|
||||
if (game_is_not_paused())
|
||||
if (GameIsNotPaused())
|
||||
{
|
||||
auto duck = entity->As<Duck>();
|
||||
if (duck != nullptr)
|
||||
@@ -444,7 +444,7 @@ InteractionInfo ViewportInteractionGetItemRight(const ScreenCoordsXY& screenCoor
|
||||
break;
|
||||
}
|
||||
|
||||
if (!(input_test_flag(INPUT_FLAG_6)) || !(input_test_flag(INPUT_FLAG_TOOL_ACTIVE)))
|
||||
if (!(InputTestFlag(INPUT_FLAG_6)) || !(InputTestFlag(INPUT_FLAG_TOOL_ACTIVE)))
|
||||
{
|
||||
if (WindowFindByClass(WindowClass::RideConstruction) == nullptr && WindowFindByClass(WindowClass::Footpath) == nullptr)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user