mirror of
https://github.com/pret/pmd-red.git
synced 2025-02-17 03:48:09 +00:00
More externs
This commit is contained in:
parent
7076a22ea4
commit
fa98819e1d
@ -4,6 +4,8 @@
|
||||
#include "input.h"
|
||||
|
||||
void ReadKeyInput(Inputs *);
|
||||
void xxx_call_update_bg_sound_input(void);
|
||||
|
||||
void sub_800CB20(void);
|
||||
|
||||
#endif // GUARD_CODE_800D090_H
|
@ -16,6 +16,7 @@ extern void sub_8014114(void);
|
||||
extern void sub_80141B4(const u8 *, u32, OpenedFile **, u32);
|
||||
extern void sub_8014248(const u8 *, u32, u32, const MenuItem *, void *, u32, u32, OpenedFile **, u32);
|
||||
extern s32 sub_80144A4(s32 *);
|
||||
extern void xxx_draw_string_80144C4(void);
|
||||
extern void xxx_format_and_draw(u32, u32, const u8 *, u32, u32);
|
||||
|
||||
#endif // GUARD_CODE_80130A8_H
|
@ -75,11 +75,14 @@ MainMenu *GetMainMenu(void);
|
||||
void InitMainMenu(void);
|
||||
void SetMenuItems(MenuStruct *, UnkTextStruct2 *, s32, const UnkTextStruct2 *, const MenuItem *, u8, u32, u32);
|
||||
void SetUpMenu(void);
|
||||
s32 UpdateMenu(void);
|
||||
|
||||
void sub_8035CC0(UnkTextStruct2 *, u32);
|
||||
void sub_8035CF4(MenuStruct*, u32, bool8);
|
||||
s16 sub_8035D3C(void);
|
||||
s32 sub_8035D74(void);
|
||||
unkStruct_8035D94 *sub_8035D94(void);
|
||||
void sub_8035DA0(void);
|
||||
bool8 sub_80363E0(void);
|
||||
s32 UpdateMenu(void);
|
||||
|
||||
#endif // GUARD_MAIN_MENU_H
|
||||
|
@ -5,6 +5,7 @@
|
||||
#include "code_8009804.h"
|
||||
#include "code_800C9CC.h"
|
||||
#include "code_80118A4.h"
|
||||
#include "code_80130A8.h"
|
||||
#include "code_8094F88.h"
|
||||
#include "code_8097670.h"
|
||||
#include "constants/bg_music.h"
|
||||
@ -45,11 +46,9 @@ extern s32 GetFirstIndexofMailType(u8);
|
||||
extern void nullsub_33(void);
|
||||
extern u32 sub_80009D0(u32);
|
||||
|
||||
extern void xxx_draw_string_80144C4(void);
|
||||
extern void nullsub_8(u32);
|
||||
extern void sub_80060EC(void);
|
||||
extern void xxx_call_update_bg_vram(void);
|
||||
extern void xxx_call_update_bg_sound_input(void);
|
||||
|
||||
extern u32 gUnknown_203B03C;
|
||||
extern u16 gUnknown_2026E4E;
|
||||
|
@ -40,7 +40,6 @@ EWRAM_DATA s16 gUnknown_202DE24;
|
||||
|
||||
void nullsub_8(u32);
|
||||
extern void xxx_call_update_bg_vram(void);
|
||||
extern void xxx_call_update_bg_sound_input(void);
|
||||
extern bool8 sub_80111C4();
|
||||
extern void sub_8010F28();
|
||||
|
||||
|
@ -4,14 +4,13 @@
|
||||
#include "code_8009804.h"
|
||||
#include "code_800C9CC.h"
|
||||
#include "code_80118A4.h"
|
||||
#include "code_80130A8.h"
|
||||
#include "game_options.h"
|
||||
#include "input.h"
|
||||
#include "sprite.h"
|
||||
|
||||
extern void xxx_draw_string_80144C4();
|
||||
extern void nullsub_8(u8);
|
||||
extern void xxx_call_update_bg_vram();
|
||||
extern void xxx_call_update_bg_sound_input();
|
||||
|
||||
extern GameOptions *gGameOptionsRef;
|
||||
|
||||
|
@ -18,7 +18,6 @@ extern struct FileArchive gDungeonFileArchive;
|
||||
extern OpenedFile *gUnknown_202EE04;
|
||||
|
||||
extern void sub_803F7BC(void);
|
||||
extern void xxx_call_update_bg_sound_input(void);
|
||||
|
||||
extern void sub_803F580(u32);
|
||||
extern void sub_8049ED4();
|
||||
|
@ -44,7 +44,6 @@ extern void sub_809B638();
|
||||
extern void nullsub_106();
|
||||
extern void sub_80A73EC();
|
||||
extern void sub_8099750();
|
||||
extern void xxx_call_update_bg_sound_input();
|
||||
extern void sub_80A6E68();
|
||||
extern void GroundMap_Action();
|
||||
extern void nullsub_124();
|
||||
|
@ -4,6 +4,7 @@
|
||||
#include "code_8009804.h"
|
||||
#include "code_800C9CC.h"
|
||||
#include "code_80118A4.h"
|
||||
#include "code_80130A8.h"
|
||||
#include "constants/communication_error_codes.h"
|
||||
#include "dungeon_global_data.h"
|
||||
#include "input.h"
|
||||
@ -20,14 +21,13 @@ EWRAM_DATA_2 unkStruct_203B35C *sUnknown_203B35C = {0};
|
||||
|
||||
#include "data/other_menus1.h"
|
||||
|
||||
extern void sub_8037900(void);
|
||||
extern void xxx_call_update_bg_vram();
|
||||
extern void xxx_call_update_bg_sound_input();
|
||||
// other_menus1.s
|
||||
extern void sub_8037810(void);
|
||||
extern void sub_8037900(void);
|
||||
// text.s
|
||||
extern void xxx_call_update_bg_vram();
|
||||
// other_menus2.s
|
||||
extern s32 sub_8037B28(u32);
|
||||
s32 sub_8035D3C(void);
|
||||
extern s32 sub_8035D74(void);
|
||||
extern void xxx_draw_string_80144C4(void);
|
||||
|
||||
static void sub_80371B8(void);
|
||||
static void sub_8037400(void);
|
||||
|
@ -20,14 +20,15 @@ extern struct UnkStruct_203B184 *gUnknown_203B184;
|
||||
|
||||
#include "data/other_menus2.h"
|
||||
|
||||
extern void sub_800D494(void);
|
||||
// code_800D090.s
|
||||
extern s32 sub_800D33C(void);
|
||||
extern void sub_800D520(void);
|
||||
extern u8 sub_800D600(void);
|
||||
extern void sub_800D59C(s32 *, u32);
|
||||
extern void sub_800D570(void);
|
||||
extern void sub_800D494(void);
|
||||
extern void sub_800D510(void);
|
||||
extern void sub_800D520(void);
|
||||
extern void sub_800D570(void);
|
||||
extern u8 sub_800D588(void);
|
||||
extern void sub_800D59C(s32 *, u32);
|
||||
extern u8 sub_800D600(void);
|
||||
extern void sub_800D670(u32, s32 *, u32);
|
||||
extern void sub_800D68C(u32);
|
||||
|
||||
|
@ -1,18 +1,18 @@
|
||||
#include "global.h"
|
||||
#include "memory.h"
|
||||
#include "code_80130A8.h"
|
||||
#include "code_8094F88.h"
|
||||
#include "dungeon.h"
|
||||
#include "input.h"
|
||||
#include "items.h"
|
||||
#include "menu.h"
|
||||
#include "main_menu.h"
|
||||
#include "memory.h"
|
||||
#include "menu_input.h"
|
||||
#include "pokemon.h"
|
||||
#include "rescue_password_menu.h"
|
||||
#include "save.h"
|
||||
#include "text1.h"
|
||||
#include "text2.h"
|
||||
#include "main_menu.h"
|
||||
#include "rescue_password_menu.h"
|
||||
#include "code_8094F88.h"
|
||||
#include "wonder_mail.h"
|
||||
#include "menu_input.h"
|
||||
#include "dungeon.h"
|
||||
|
||||
#define RESCUE_PASSWORD_SIZE 0x36
|
||||
|
||||
@ -242,7 +242,6 @@ ALIGNED(4) const u8 sUnknown_80E75CC[] = _("{CENTER_ALIGN}There is no space for
|
||||
|
||||
static const u8 fill0[] = "pksdir0";
|
||||
|
||||
extern s32 sub_8035D74(void);
|
||||
extern void sub_80151C0(u32, u8 *);
|
||||
extern void sub_8031D70(u32, u32);
|
||||
extern void sub_80155F0(void);
|
||||
@ -250,7 +249,6 @@ extern void sub_8031E10(void);
|
||||
extern u32 sub_80154F0(void);
|
||||
extern u32 sub_8031DCC(void);
|
||||
extern void sub_8031E00(void);
|
||||
extern void xxx_draw_string_80144C4(void);
|
||||
|
||||
void DisplayRescuePasswordError(u32 error);
|
||||
void sub_8039174(void);
|
||||
|
Loading…
x
Reference in New Issue
Block a user