2017-10-13 14:47:26 +02:00
|
|
|
#ifndef GUARD_INTERNATIONAL_STRING_UTIL_H
|
|
|
|
#define GUARD_INTERNATIONAL_STRING_UTIL_H
|
|
|
|
|
2017-10-23 00:55:07 +02:00
|
|
|
#include "menu.h"
|
2018-11-28 00:21:23 +01:00
|
|
|
#include "list_menu.h"
|
2017-10-23 00:55:07 +02:00
|
|
|
|
2018-11-28 00:21:23 +01: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-04-01 00:59:52 +02:00
|
|
|
int Intl_GetListMenuWidth(const struct ListMenuTemplate *listMenu);
|
2018-11-28 00:21:23 +01:00
|
|
|
void CopyMonCategoryText(int dexNum, u8 *dest);
|
|
|
|
u8 *sub_81DB494(u8 *str, int fontId, u8 *str2, int totalStringWidth);
|
|
|
|
void PadNameString(u8 *dest, u8 padChar);
|
2018-03-19 11:27:33 +01:00
|
|
|
void sub_81DB554(u8 *, u8);
|
2018-11-25 22:32:22 +01:00
|
|
|
void sub_81DB5AC(u8 *);
|
2018-11-28 00:21:23 +01:00
|
|
|
int sub_81DB604(u8 *);
|
|
|
|
void sub_81DB620(int windowId, int columnStart, int rowStart, int numFillTiles, int numRows);
|
2017-10-13 14:47:26 +02:00
|
|
|
|
2017-10-09 15:40:08 +02:00
|
|
|
#endif // GUARD_INTERNATIONAL_STRING_UTIL_H
|