1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-25 07:44:38 +01:00

Refactor format tokens

This commit is contained in:
Ted John
2020-10-16 00:13:52 +01:00
parent 157c984d4c
commit b6a688e540
38 changed files with 445 additions and 1749 deletions

View File

@@ -771,18 +771,6 @@ namespace String
return res;
#endif
}
bool ContainsColourCode(const std::string& string)
{
for (unsigned char c : string)
{
if (c >= FORMAT_COLOUR_CODE_START && c <= FORMAT_COLOUR_CODE_END)
{
return true;
}
}
return false;
}
} // namespace String
char32_t CodepointView::iterator::GetNextCodepoint(const char* ch, const char** next)