diff options
author | who-knows-who <j.williams97@outlook.com> | 2021-02-27 17:57:20 +0000 |
---|---|---|
committer | who-knows-who <j.williams97@outlook.com> | 2021-02-27 18:05:20 +0000 |
commit | 50eafa9b79d992f409a688fc7c8fb1029020130a (patch) | |
tree | 3da688f83fbe960c7314879a6b1d95ae4b6d7203 /include | |
parent | f2284a721b91fc2af49bd2b5d1d43ff24de46ba6 (diff) |
Move struct and function definitions to header files
Diffstat (limited to 'include')
-rw-r--r-- | include/unk_0201CBEC.h | 6 | ||||
-rw-r--r-- | include/unk_02029FB0.h | 2 | ||||
-rw-r--r-- | include/unk_0202A8F4.h | 26 | ||||
-rw-r--r-- | include/unk_0202ABBC.h | 23 | ||||
-rw-r--r-- | include/unk_0202C0E0.h | 14 |
5 files changed, 69 insertions, 2 deletions
diff --git a/include/unk_0201CBEC.h b/include/unk_0201CBEC.h new file mode 100644 index 00000000..a8c617d9 --- /dev/null +++ b/include/unk_0201CBEC.h @@ -0,0 +1,6 @@ +#ifndef POKEDIAMOND_UNK_0201CBEC_H +#define POKEDIAMOND_UNK_0201CBEC_H + +int FUN_0201CBEC(int a0, int a1, int a2, int a3); + +#endif //POKEDIAMOND_UNK_0201CBEC_H diff --git a/include/unk_02029FB0.h b/include/unk_02029FB0.h index 1cea6b45..0185bff4 100644 --- a/include/unk_02029FB0.h +++ b/include/unk_02029FB0.h @@ -1,8 +1,6 @@ #ifndef POKEDIAMOND_UNK_02029FB0_H #define POKEDIAMOND_UNK_02029FB0_H -#include "save_block_2.h" -#include "pokedex.h" struct UnkStruct_02029FB0 { u8 unk[0x14C]; diff --git a/include/unk_0202A8F4.h b/include/unk_0202A8F4.h new file mode 100644 index 00000000..aaca6e56 --- /dev/null +++ b/include/unk_0202A8F4.h @@ -0,0 +1,26 @@ +#ifndef POKEDIAMOND_UNK_0202A8F4_H +#define POKEDIAMOND_UNK_0202A8F4_H + +struct Unk0202A8F4 +{ + u8 u_0; + u8 u_1; + u8 u_2; + u8 u_3; + u8 u_4; + u8 u_5; + u8 u_6; + u8 u_7; + u8 u_8; + u8 u_9; + u8 u_A; + u8 u_B; + u8 u_C; + u8 u_D; +}; + +u32 FUN_0202A8F4(); +void FUN_0202A8F8(struct Unk0202A8F4 *unk); +void *FUN_0202A918(struct SaveBlock2 *sav2); + +#endif //POKEDIAMOND_UNK_0202A8F4_H diff --git a/include/unk_0202ABBC.h b/include/unk_0202ABBC.h new file mode 100644 index 00000000..bf793fbb --- /dev/null +++ b/include/unk_0202ABBC.h @@ -0,0 +1,23 @@ +#ifndef POKEDIAMOND_UNK_0202ABBC_H +#define POKEDIAMOND_UNK_0202ABBC_H + +struct Unk0202ABBC +{ + /* 0x000 */ u32 filler[59]; + /* 0x0ec */ u16 unk_EC; + /* 0x0ee */ u16 unk_EE; + /* 0x0f0 */ u32 unk_F0; +}; // size: 0xF4 + +void *FUN_0202ABBC(struct SaveBlock2* sav2); +u32 FUN_0202ABC8(); +void FUN_0202ABCC(struct Unk0202ABBC* unk); +u16 FUN_0202ABDC(struct Unk0202ABBC* unk); +void FUN_0202ABE4(struct Unk0202ABBC* unk, u16 data); +void FUN_0202ABEC(void *srcp, void *destp); +void FUN_0202ABF8(void *destp, void *srcp); +u32 FUN_0202AC08(struct Unk0202ABBC* unk); +void FUN_0202AC10(struct Unk0202ABBC* unk, u32 data); +u16 FUN_0202AC18(struct Unk0202ABBC* unk); + +#endif //POKEDIAMOND_UNK_0202ABBC_H diff --git a/include/unk_0202C0E0.h b/include/unk_0202C0E0.h new file mode 100644 index 00000000..eb972ed3 --- /dev/null +++ b/include/unk_0202C0E0.h @@ -0,0 +1,14 @@ +#ifndef POKEDIAMOND_UNK_0202C0E0_H +#define POKEDIAMOND_UNK_0202C0E0_H + +struct UnkSaveStruct0202C0E4 +{ + u16 data[5][4]; +}; + +u32 FUN_0202C0E0(); +void FUN_0202C0E4(struct UnkSaveStruct0202C0E4 *unkStruct); +void FUN_0202C108(struct SaveBlock2 *sav2, u32 a1, u32 a2); +u16 FUN_0202C12C(struct SaveBlock2 *sav2, u32 a1, u32 a2); + +#endif //POKEDIAMOND_UNK_0202C0E0_H |