diff options
author | PikalaxALT <pikalaxalt@gmail.com> | 2021-09-05 08:52:18 -0400 |
---|---|---|
committer | PikalaxALT <pikalaxalt@gmail.com> | 2021-09-05 08:52:18 -0400 |
commit | 66f4bf3667e407edfac6754a81bf48faffc0802e (patch) | |
tree | c19894339e6ebb8438d4b02de6ab22df442bdce0 /include/string16.h | |
parent | 9aaac32d700191262926a9495a2e5927cdb9e1bd (diff) |
Reorganize font and string related code
Diffstat (limited to 'include/string16.h')
-rw-r--r-- | include/string16.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/string16.h b/include/string16.h index f42ff918..d1e8b250 100644 --- a/include/string16.h +++ b/include/string16.h @@ -20,8 +20,6 @@ BOOL StringCompare(struct String *, struct String *); void CopyU16ArrayToStringN(struct String *, u16 *, u32); // copy void StringSetEmpty(struct String *); // set empty struct String * StringDup(struct String *, u32 heap_id); -s32 StringGetWidth(struct FontData * r7, const u16 * arr, u32 r6); -s32 StringGetWidth_SingleLine_HandleClearToControlCode(struct FontData * r6, const u16 * arr); void String_dtor(struct String * str); void StringCopy(struct String * dest, struct String * src); void String16_FormatInteger(struct String * str, int num, u32 ndigits, int strConvMode, BOOL whichCharset); @@ -32,7 +30,10 @@ void StringGetLineN(struct String * dest, volatile struct String * src, u32 n); void CopyU16ArrayToString(struct String * str, u16 * buf); void CopyStringToU16Array(struct String * str, u16 * buf, u32 length); u16 * String_c_str(struct String * str); +void StrAddChar(struct String * str, u16 val); void StringCat(struct String * dest, struct String * src); void StrUpperFirstChar(struct String * str); +BOOL String_IsTrainerName(struct String * string); +void StringCat_HandleTrainerName(struct String * dest, struct String * src); #endif //POKEDIAMOND_STRING16_H |