diff options
| author | fusion32 <marcopuzziello@gmail.com> | 2025-05-29 22:52:10 -0300 |
|---|---|---|
| committer | fusion32 <marcopuzziello@gmail.com> | 2025-05-29 22:52:10 -0300 |
| commit | f6c8c67094de3fe19f1e7871a7e78a91fb9bf3dd (patch) | |
| tree | 16d4bf88e2a3cc37a160d768fa26b82390796cb7 /src/common.hh | |
| parent | e5b60ae075e571a29868993a5f0d191d91f8d266 (diff) | |
| download | game-f6c8c67094de3fe19f1e7871a7e78a91fb9bf3dd.tar.gz game-f6c8c67094de3fe19f1e7871a7e78a91fb9bf3dd.zip | |
finish `strings.cc` impl
Diffstat (limited to 'src/common.hh')
| -rw-r--r-- | src/common.hh | 10 |
1 files changed, 10 insertions, 0 deletions
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; |
