summaryrefslogtreecommitdiff
path: root/include/international_string_util.h
diff options
context:
space:
mode:
authorDizzyEggg <jajkodizzy@wp.pl>2017-10-18 23:05:55 +0200
committerDizzyEggg <jajkodizzy@wp.pl>2017-10-18 23:05:55 +0200
commit7c24b037420e8f318ad14a590846639cefcc1fe3 (patch)
treed1527a260b4c5584dab5abfc01e9dd93bfee4749 /include/international_string_util.h
parent25a9c851cf421f83054687cdf17ea5b3ca9e746b (diff)
parent0f0ba1e28c5c14bb93d403fd2df4a2d89e057a65 (diff)
Merge branch 'master' into decompile_battle_interface
Diffstat (limited to 'include/international_string_util.h')
-rw-r--r--include/international_string_util.h28
1 files changed, 18 insertions, 10 deletions
diff --git a/include/international_string_util.h b/include/international_string_util.h
index 0eb12a535..11b5c633c 100644
--- a/include/international_string_util.h
+++ b/include/international_string_util.h
@@ -1,13 +1,21 @@
-#ifndef GUARD_international_string_util_H
-#define GUARD_international_string_util_H
+#ifndef GUARD_INTERNATIONAL_STRING_UTIL_H
+#define GUARD_INTERNATIONAL_STRING_UTIL_H
-// Exported type declarations
-
-// Exported RAM declarations
-
-// Exported ROM declarations
-
-void TVShowConvertInternationalString(void *dest, const void *src, u8 language);
+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);
+s32 GetMaxWidthInMenuTable(const u8 **str, s32 arg1);
+s32 sub_81DB3D8(const u8 **str, u8* arg1, s32 arg2);
+// sub_81DB41C
+// sub_81DB468
+// sub_81DB494
+// sub_81DB4DC
+// sub_81DB52C
+// sub_81DB554
+// sub_81DB5AC
+void TVShowConvertInternationalString(u8 *dest, const u8 *src, u8 language);
u32 sub_81DB604(const u8 *);
+// sub_81DB620
-#endif //GUARD_international_string_util_H
+#endif // GUARD_INTERNATIONAL_STRING_UTIL_H