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"
|
2018-11-27 23:21:23 +00:00
|
|
|
#include "list_menu.h"
|
2017-10-22 22:55:07 +00:00
|
|
|
|
2018-11-27 23:21:23 +00:00
|
|
|
void sub_81DB52C(u8 *src);
|
|
|
|
void TVShowConvertInternationalString(u8 *dest, const u8 *src, int language);
|
|
|
|
int GetStringCenterAlignXOffset(int fontId, const u8 *str, int totalWidth);
|
|
|
|
int GetStringRightAlignXOffset(int fontId, const u8 *str, int totalWidth);
|
|
|
|
int GetStringCenterAlignXOffsetWithLetterSpacing(int fontId, const u8 *str, int totalWidth, int letterSpacing);
|
|
|
|
int GetStringWidthDifference(int fontId, const u8 *str, int totalWidth, int letterSpacing);
|
|
|
|
int GetMaxWidthInMenuTable(const struct MenuAction *str, int arg1);
|
|
|
|
int sub_81DB3D8(const struct MenuAction *str, const u8* arg1, int arg2);
|
2019-03-31 22:59:52 +00:00
|
|
|
int Intl_GetListMenuWidth(const struct ListMenuTemplate *listMenu);
|
2018-11-27 23:21:23 +00:00
|
|
|
void CopyMonCategoryText(int dexNum, u8 *dest);
|
2019-04-14 18:21:06 +00:00
|
|
|
u8 *sub_81DB494(u8 *str, int fontId, const u8 *str2, int totalStringWidth);
|
2018-11-27 23:21:23 +00:00
|
|
|
void PadNameString(u8 *dest, u8 padChar);
|
2018-03-19 10:27:33 +00:00
|
|
|
void sub_81DB554(u8 *, u8);
|
2018-11-25 21:32:22 +00:00
|
|
|
void sub_81DB5AC(u8 *);
|
2018-11-27 23:21:23 +00:00
|
|
|
int sub_81DB604(u8 *);
|
|
|
|
void sub_81DB620(int windowId, int columnStart, int rowStart, int numFillTiles, int numRows);
|
2017-10-13 12:47:26 +00:00
|
|
|
|
2017-10-09 13:40:08 +00:00
|
|
|
#endif // GUARD_INTERNATIONAL_STRING_UTIL_H
|