diff options
author | Marijn van der Werf <marijn.vanderwerf@gmail.com> | 2016-12-01 03:51:24 +0100 |
---|---|---|
committer | YamaArashi <YamaArashi@users.noreply.github.com> | 2016-11-30 18:51:24 -0800 |
commit | 4258e60771aa9fdabd678930eca534423bd371b8 (patch) | |
tree | ecca2ee7641abc0562f39b6c7dd907af2184e102 /src/save_menu_util.c | |
parent | 831f8cd4fd94613d6b52d87df1b4903bedfaa717 (diff) |
Declare more non-static functions in header files (#111)
* Declare more non-static functions in header files
* Use `(void)` for functions without arguments.
* Move global-included data to seperate headers
* Don't import types or global in header
* Fix fieldmap imports
* Revert in-code changes
* Add missing newlines
Diffstat (limited to 'src/save_menu_util.c')
-rw-r--r-- | src/save_menu_util.c | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/src/save_menu_util.c b/src/save_menu_util.c index c811f5244..c315acda5 100644 --- a/src/save_menu_util.c +++ b/src/save_menu_util.c @@ -1,23 +1,15 @@ #include "global.h" +#include "save_menu_util.h" #include "menu.h" #include "flag.h" +#include "string_util.h" +#include "pokedex.h" extern u8 gOtherText_Player[]; extern u8 gOtherText_Badges[]; extern u8 gOtherText_Pokedex[]; extern u8 gOtherText_PlayTime[]; -extern void ConvertIntToDecimalStringN(u8 *dest, u32 value, int mode, u8 n); - -u8 sub_809473C(void); -u8 GetBadgeCount(void); - -void PrintSavePlayerName(s16 x, s16 y); -void PrintSaveMapName(s16 x, s16 y); -void PrintSaveBadges(s16 x, s16 y); -void PrintSavePokedexCount(s16 x, s16 y); -void PrintSavePlayTime(s16 x, s16 y); - void HandleDrawSaveWindowInfo(s16 left, s16 top) { u32 width = 12; |