1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-26 00:04:43 +01:00

Rename snake_case functions in openrct2/src folder

Co-authored-by: duncanspumpkin <duncans_pumpkin@hotmail.co.uk>
This commit is contained in:
Hielke Morsink
2023-01-17 13:24:51 +01:00
committed by GitHub
parent bf5f7e8e71
commit 6b7dc8fcdb
227 changed files with 1040 additions and 1040 deletions

View File

@@ -50,7 +50,7 @@ GameActions::Result SignSetStyleAction::Query() const
auto banner = GetBanner(_bannerIndex);
if (banner == nullptr)
{
log_error("Invalid banner id. id = ", _bannerIndex);
LOG_ERROR("Invalid banner id. id = ", _bannerIndex);
return GameActions::Result(GameActions::Status::InvalidParameters, STR_CANT_REPAINT_THIS, STR_NONE);
}
@@ -59,12 +59,12 @@ GameActions::Result SignSetStyleAction::Query() const
TileElement* tileElement = BannerGetTileElement(_bannerIndex);
if (tileElement == nullptr)
{
log_warning("Invalid game command for setting sign style, banner id '%d' not found", _bannerIndex);
LOG_WARNING("Invalid game command for setting sign style, banner id '%d' not found", _bannerIndex);
return GameActions::Result(GameActions::Status::InvalidParameters, STR_CANT_REPAINT_THIS, STR_NONE);
}
if (tileElement->GetType() != TileElementType::LargeScenery)
{
log_warning("Invalid game command for setting sign style, banner id '%d' is not large", _bannerIndex);
LOG_WARNING("Invalid game command for setting sign style, banner id '%d' is not large", _bannerIndex);
return GameActions::Result(GameActions::Status::InvalidParameters, STR_CANT_REPAINT_THIS, STR_NONE);
}
}
@@ -74,7 +74,7 @@ GameActions::Result SignSetStyleAction::Query() const
if (wallElement == nullptr)
{
log_warning("Invalid game command for setting sign style, banner id '%d' not found", _bannerIndex);
LOG_WARNING("Invalid game command for setting sign style, banner id '%d' not found", _bannerIndex);
return GameActions::Result(GameActions::Status::InvalidParameters, STR_CANT_REPAINT_THIS, STR_NONE);
}
}
@@ -87,7 +87,7 @@ GameActions::Result SignSetStyleAction::Execute() const
auto banner = GetBanner(_bannerIndex);
if (banner == nullptr)
{
log_error("Invalid banner id. id = ", _bannerIndex);
LOG_ERROR("Invalid banner id. id = ", _bannerIndex);
return GameActions::Result(GameActions::Status::InvalidParameters, STR_CANT_REPAINT_THIS, STR_NONE);
}