mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-30 10:15:36 +01:00
Rename snake_case functions in openrct2/src folder
Co-authored-by: duncanspumpkin <duncans_pumpkin@hotmail.co.uk>
This commit is contained in:
@@ -163,7 +163,7 @@ PluginMetadata Plugin::GetMetadata(const DukValue& dukMetadata)
|
||||
}
|
||||
else
|
||||
{
|
||||
log_error(
|
||||
LOG_ERROR(
|
||||
u8"Plug-in “%s” does not specify a target API version or specifies it incorrectly. Emulating deprecated APIs.",
|
||||
metadata.Name.c_str());
|
||||
}
|
||||
@@ -200,7 +200,7 @@ PluginType Plugin::ParsePluginType(std::string_view type)
|
||||
void Plugin::CheckForLicence(const DukValue& dukLicence, std::string_view pluginName)
|
||||
{
|
||||
if (dukLicence.type() != DukValue::Type::STRING || dukLicence.as_string().empty())
|
||||
log_error("Plugin %s does not specify a licence", std::string(pluginName).c_str());
|
||||
LOG_ERROR("Plugin %s does not specify a licence", std::string(pluginName).c_str());
|
||||
}
|
||||
|
||||
int32_t Plugin::GetTargetAPIVersion() const
|
||||
|
||||
Reference in New Issue
Block a user