summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/file_system.h1
-rw-r--r--include/input.h13
-rw-r--r--include/text.h2
3 files changed, 8 insertions, 8 deletions
diff --git a/include/file_system.h b/include/file_system.h
index 45f6aac..6d93b88 100644
--- a/include/file_system.h
+++ b/include/file_system.h
@@ -36,5 +36,6 @@ struct OpenedFile *OpenFile(const char *filename, const struct FileArchive *arc)
u8 *GetFileDataPtr(struct OpenedFile *openedFile, int unused);
struct OpenedFile *OpenFileAndGetFileDataPtr(const char *filename, const struct FileArchive *arc);
struct OpenedFile *Call_OpenFileAndGetFileDataPtr(const char *filename, const struct FileArchive *arc);
+void CloseFile(struct OpenedFile *openedFile);
#endif //GUARD_FILE_SYSTEM_H
diff --git a/include/input.h b/include/input.h
index 17e2baf..9c93128 100644
--- a/include/input.h
+++ b/include/input.h
@@ -1,7 +1,7 @@
#ifndef GUARD_INPUT_H
#define GUARD_INPUT_H
-struct UnkInputStruct1
+struct Inputs
{
/* 0x0 */ u16 held;
/* 0x2 */ u16 pressed;
@@ -12,7 +12,7 @@ struct UnkInputStruct1
/* 0xC */ s32 repeatTimerDpad;
};
-struct UnkInputStruct2
+struct InputTimers
{
/* 0x0 */ s16 holdTimerB;
/* 0x2 */ s16 holdTimerR;
@@ -20,7 +20,7 @@ struct UnkInputStruct2
/* 0x6 */ u16 unk6;
};
-struct Input
+struct UnusedInputStruct
{
/* 0x0 */ u16 unk0;
/* 0x2 */ u16 unk2;
@@ -34,7 +34,7 @@ struct Input
/* 0x12 */ u16 unk12;
/* 0x14 */ u16 unk14;
/* 0x16 */ u16 unk16;
- /* 0x16 */ u16 unk18;
+ /* 0x18 */ u16 unk18;
/* 0x1A */ u16 unk1A;
/* 0x1C */ u16 unk1C;
/* 0x1E */ u16 unk1E;
@@ -43,8 +43,7 @@ struct Input
/* 0x24 */ u16 unk26;
/* 0x28 */ u8 unk28;
/* 0x29 */ u8 unk29;
- /* 0x2A */ u8 unk2A;
- /* 0x2B */ u8 padding;
+ /* 0x2A..0x2B - padding */
};
void InitInput(void);
@@ -57,7 +56,7 @@ u8 sub_80048C8(void);
u8 sub_80048CC(void);
void ResetRepeatTimers(void);
void UnpressButtons(void);
-void sub_8004914(void);
+void ResetUnusedInputStruct(void);
void UpdateInput(void);
#endif // GUARD_INPUT_H
diff --git a/include/text.h b/include/text.h
index d23ccf7..b786812 100644
--- a/include/text.h
+++ b/include/text.h
@@ -18,7 +18,7 @@ struct UnkTextStruct2 {
u8 fill12[0x06];
};
-void sub_8006218(void);
+void LoadCharmaps(void);
u32 xxx_update_some_bg_tiles(u32 a0);
void sub_8006438(const struct UnkTextStruct2 *a0, u8 a1, u8 a2, u32 *a3);
void sub_8006554(void *a0, void *a1, void *a2, void *a3, u32 a4, const struct UnkTextStruct2 *a5, u8 a6, u32 a7, u32 *a8, u32 a9);