2017-10-13 12:47:26 +00:00
|
|
|
#ifndef GUARD_INTERNATIONAL_STRING_UTIL_H
|
|
|
|
#define GUARD_INTERNATIONAL_STRING_UTIL_H
|
|
|
|
|
2017-10-22 22:55:07 +00:00
|
|
|
#include "menu.h"
|
|
|
|
|
2017-10-13 12:47:26 +00:00
|
|
|
void sub_81DB52C(const u8 *src);
|
2017-10-19 22:45:38 +00:00
|
|
|
void TVShowConvertInternationalString(u8 *dest, const u8 *src, u8 language);
|
2017-10-09 13:40:08 +00:00
|
|
|
s32 GetStringCenterAlignXOffset(s32 fontId, const u8 *str, s32 totalWidth);
|
|
|
|
s32 GetStringRightAlignXOffset(s32 fontId, const u8 *str, s32 totalWidth);
|
|
|
|
s32 GetStringCenterAlignXOffsetWithLetterSpacing(s32 fontId, const u8 *str, s32 totalWidth, s32 letterSpacing);
|
|
|
|
s32 GetStringWidthDifference(s32 fontId, const u8 *str, s32 totalWidth, s32 letterSpacing);
|
2017-10-22 22:55:07 +00:00
|
|
|
s32 GetMaxWidthInMenuTable(const struct MenuAction *str, s32 arg1);
|
2018-03-19 10:27:33 +00:00
|
|
|
s32 sub_81DB3D8(const struct MenuAction *str, const u8* arg1, s32 arg2);
|
2017-10-09 13:40:08 +00:00
|
|
|
// sub_81DB41C
|
2017-11-08 17:05:47 +00:00
|
|
|
// CopyMonCategoryText
|
2017-10-09 13:40:08 +00:00
|
|
|
// sub_81DB494
|
2017-12-03 18:19:11 +00:00
|
|
|
void PadNameString(u8 *dst, u8 padWith);
|
2018-03-19 10:27:33 +00:00
|
|
|
void sub_81DB554(u8 *, u8);
|
2017-10-09 13:40:08 +00:00
|
|
|
// sub_81DB5AC
|
2017-10-13 15:09:36 +00:00
|
|
|
u32 sub_81DB604(const u8 *);
|
2017-10-09 13:40:08 +00:00
|
|
|
// sub_81DB620
|
2017-10-13 12:47:26 +00:00
|
|
|
|
2017-10-09 13:40:08 +00:00
|
|
|
#endif // GUARD_INTERNATIONAL_STRING_UTIL_H
|