mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-12-26 19:54:21 +01:00
25 lines
1.2 KiB
C
25 lines
1.2 KiB
C
#ifndef GUARD_INTERNATIONAL_STRING_UTIL_H
|
|
#define GUARD_INTERNATIONAL_STRING_UTIL_H
|
|
|
|
#include "menu.h"
|
|
#include "list_menu.h"
|
|
|
|
void ConvertInternationalPlayerName(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);
|
|
int Intl_GetListMenuWidth(const struct ListMenuTemplate *listMenu);
|
|
void CopyMonCategoryText(int dexNum, u8 *dest);
|
|
u8 *sub_81DB494(u8 *str, int fontId, const u8 *str2, int totalStringWidth);
|
|
void PadNameString(u8 *dest, u8 padChar);
|
|
void ConvertInternationalPlayerNameStripChar(u8 *, u8);
|
|
void sub_81DB5AC(u8 *);
|
|
int sub_81DB604(u8 *);
|
|
void sub_81DB620(int windowId, int columnStart, int rowStart, int numFillTiles, int numRows);
|
|
|
|
#endif // GUARD_INTERNATIONAL_STRING_UTIL_H
|