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

Rename String methods to use lowerCamelCase

This commit is contained in:
Aaron van Geffen
2024-12-11 22:28:31 +01:00
parent a24dc2e60a
commit 35e117aca2
102 changed files with 587 additions and 589 deletions

View File

@@ -104,7 +104,7 @@ protected:
private:
bool IsTrackReadOnly(const std::string& path) const
{
return String::StartsWith(path, SearchPaths[0]) || String::StartsWith(path, SearchPaths[1]);
return String::startsWith(path, SearchPaths[0]) || String::startsWith(path, SearchPaths[1]);
}
};
@@ -154,7 +154,7 @@ public:
entryIsNotSeparate = true;
}
if (entryIsNotSeparate || String::IEquals(item.ObjectEntry, entry))
if (entryIsNotSeparate || String::iequals(item.ObjectEntry, entry))
{
count++;
}
@@ -188,7 +188,7 @@ public:
entryIsNotSeparate = true;
}
if (entryIsNotSeparate || String::IEquals(item.ObjectEntry, entry))
if (entryIsNotSeparate || String::iequals(item.ObjectEntry, entry))
{
TrackDesignFileRef ref;
ref.name = GetNameFromTrackPath(item.Path);
@@ -281,7 +281,7 @@ private:
{
return a.RideType < b.RideType;
}
return String::StrLogicalCmp(a.Name.c_str(), b.Name.c_str()) < 0;
return String::logicalCmp(a.Name.c_str(), b.Name.c_str()) < 0;
});
}