mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-21 22:13:07 +01:00
Refactor TrackDesignRepository to use FileIndex
This commit is contained in:
@@ -142,6 +142,11 @@ namespace String
|
||||
}
|
||||
}
|
||||
|
||||
bool StartsWith(const std::string &str, const std::string &match, bool ignoreCase)
|
||||
{
|
||||
return StartsWith(str.c_str(), match.c_str(), ignoreCase);
|
||||
}
|
||||
|
||||
size_t IndexOf(const utf8 * str, utf8 match, size_t startIndex)
|
||||
{
|
||||
const utf8 * ch = str + startIndex;
|
||||
|
||||
Reference in New Issue
Block a user