1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-22 22:34:33 +01:00

Change openrct2/ride methods to UpperCamelCase, part 1

This commit is contained in:
Stephan Spengler
2023-01-17 01:32:54 +01:00
committed by GitHub
parent b4480b344e
commit 76b918e7ed
121 changed files with 1146 additions and 1148 deletions

View File

@@ -317,26 +317,26 @@ std::unique_ptr<ITrackDesignRepository> CreateTrackDesignRepository(const std::s
return std::make_unique<TrackDesignRepository>(env);
}
void track_repository_scan()
void TrackRepositoryScan()
{
ITrackDesignRepository* repo = GetContext()->GetTrackDesignRepository();
repo->Scan(LocalisationService_GetCurrentLanguage());
}
bool track_repository_delete(const u8string& path)
bool TrackRepositoryDelete(const u8string& path)
{
ITrackDesignRepository* repo = GetContext()->GetTrackDesignRepository();
return repo->Delete(path);
}
bool track_repository_rename(const u8string& path, const u8string& newName)
bool TrackRepositoryRename(const u8string& path, const u8string& newName)
{
ITrackDesignRepository* repo = GetContext()->GetTrackDesignRepository();
std::string newPath = repo->Rename(path, newName);
return !newPath.empty();
}
bool track_repository_install(const u8string& srcPath, const u8string& name)
bool TrackRepositoryInstall(const u8string& srcPath, const u8string& name)
{
ITrackDesignRepository* repo = GetContext()->GetTrackDesignRepository();
std::string newPath = repo->Install(srcPath, name);