From f6c8c67094de3fe19f1e7871a7e78a91fb9bf3dd Mon Sep 17 00:00:00 2001 From: fusion32 Date: Thu, 29 May 2025 22:52:10 -0300 Subject: finish `strings.cc` impl --- src/common.hh | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/common.hh') diff --git a/src/common.hh b/src/common.hh index 33fd694..8bf7fca 100644 --- a/src/common.hh +++ b/src/common.hh @@ -125,6 +125,16 @@ void CleanupDynamicStrings(void); void InitStrings(void); void ExitStrings(void); +bool IsCountable(const char *s); +const char *Plural(const char *s, int Count); +const char *SearchForWord(const char *Pattern, const char *Text); +const char *SearchForNumber(int Count, const char *Text); +bool MatchString(const char *Pattern, const char *String); +void AddSlashes(char *Destination, const char *Source); +void Trim(char *Text); +void Trim(char *Destination, const char *Source); +char *Capitals(char *Text); + // time.cc // ============================================================================= extern uint32 RoundNr; -- cgit v1.2.3