1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-30 18:25:16 +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

@@ -504,13 +504,13 @@ namespace Platform
bool FindApp(std::string_view app, std::string* output)
{
log_warning("FindApp() not implemented for Windows!");
LOG_WARNING("FindApp() not implemented for Windows!");
return false;
}
int32_t Execute(std::string_view command, std::string* output)
{
log_warning("Execute() not implemented for Windows!");
LOG_WARNING("Execute() not implemented for Windows!");
return -1;
}
@@ -798,7 +798,7 @@ namespace Platform
HANDLE mutex = CreateMutexW(nullptr, FALSE, SINGLE_INSTANCE_MUTEX_NAME);
if (mutex == nullptr)
{
log_error("unable to create mutex");
LOG_ERROR("unable to create mutex");
return true;
}
else if (GetLastError() == ERROR_ALREADY_EXISTS)
@@ -861,7 +861,7 @@ namespace Platform
bool SetupUriProtocol()
{
log_verbose("Setting up URI protocol...");
LOG_VERBOSE("Setting up URI protocol...");
// [HKEY_CURRENT_USER\Software\Classes]
HKEY hRootKey;
@@ -895,7 +895,7 @@ namespace Platform
RegSetKeyValueW(hMuiCacheKey, nullptr, buffer, REG_SZ, L"OpenRCT2", sizeof(L"OpenRCT2"));
}
log_verbose("URI protocol setup successful");
LOG_VERBOSE("URI protocol setup successful");
return true;
}
}
@@ -903,7 +903,7 @@ namespace Platform
}
}
log_verbose("URI protocol setup failed");
LOG_VERBOSE("URI protocol setup failed");
return false;
}