mirror of
https://github.com/pret/pokeplatinum.git
synced 2026-04-26 00:32:20 -05:00
Zip component structs and function types into render_text:
- funcptr_0201D834 - struct_0201D738 - struct_0201D834
This commit is contained in:
parent
f96d8e4dba
commit
e92094c0fb
|
|
@ -1,8 +0,0 @@
|
|||
#ifndef POKEPLATINUM_FUNCPTR_0201D834_H
|
||||
#define POKEPLATINUM_FUNCPTR_0201D834_H
|
||||
|
||||
#include "struct_defs/struct_0201D738.h"
|
||||
|
||||
typedef BOOL (*UnkFuncPtr_0201D834)(UnkStruct_0201D738 *, u16);
|
||||
|
||||
#endif // POKEPLATINUM_FUNCPTR_0201D834_H
|
||||
|
|
@ -1,7 +1,50 @@
|
|||
#ifndef POKEPLATINUM_UNK_02002328_H
|
||||
#define POKEPLATINUM_UNK_02002328_H
|
||||
|
||||
#include "struct_defs/struct_0201D834.h"
|
||||
#include "struct_defs/struct_0205AA50.h"
|
||||
|
||||
#include "strbuf.h"
|
||||
|
||||
typedef struct {
|
||||
union {
|
||||
const u16 *unk_00_val1;
|
||||
const Strbuf *unk_00_val2;
|
||||
};
|
||||
Window *unk_04;
|
||||
u8 unk_08;
|
||||
u8 unk_09;
|
||||
u8 unk_0A;
|
||||
u8 unk_0B;
|
||||
u16 unk_0C;
|
||||
u16 unk_0E;
|
||||
u16 unk_10;
|
||||
u16 unk_12;
|
||||
u8 unk_14;
|
||||
u8 unk_15;
|
||||
u8 unk_16;
|
||||
u8 unk_17;
|
||||
u16 unk_18;
|
||||
u8 unk_1A;
|
||||
u8 unk_1B;
|
||||
} UnkStruct_0201D738;
|
||||
|
||||
typedef BOOL (*UnkFuncPtr_0201D834)(UnkStruct_0201D738 *, u16);
|
||||
|
||||
typedef struct {
|
||||
UnkStruct_0201D738 unk_00;
|
||||
UnkFuncPtr_0201D834 unk_1C;
|
||||
u8 unk_20[7];
|
||||
u8 unk_27;
|
||||
u8 unk_28;
|
||||
u8 unk_29_0 : 7;
|
||||
u8 unk_29_7 : 1;
|
||||
u8 unk_2A;
|
||||
u8 unk_2B;
|
||||
u8 unk_2C;
|
||||
u8 unk_2D;
|
||||
u16 unk_2E;
|
||||
void *unk_30;
|
||||
} UnkStruct_0201D834;
|
||||
|
||||
int sub_02002328(UnkStruct_0201D834 *param0);
|
||||
void sub_020027A8(u16 param0);
|
||||
|
|
|
|||
|
|
@ -1,31 +0,0 @@
|
|||
#ifndef POKEPLATINUM_STRUCT_0201D738_H
|
||||
#define POKEPLATINUM_STRUCT_0201D738_H
|
||||
|
||||
#include "struct_defs/struct_0205AA50.h"
|
||||
|
||||
#include "strbuf.h"
|
||||
|
||||
typedef struct {
|
||||
union {
|
||||
const u16 *unk_00_val1;
|
||||
const Strbuf *unk_00_val2;
|
||||
};
|
||||
Window *unk_04;
|
||||
u8 unk_08;
|
||||
u8 unk_09;
|
||||
u8 unk_0A;
|
||||
u8 unk_0B;
|
||||
u16 unk_0C;
|
||||
u16 unk_0E;
|
||||
u16 unk_10;
|
||||
u16 unk_12;
|
||||
u8 unk_14;
|
||||
u8 unk_15;
|
||||
u8 unk_16;
|
||||
u8 unk_17;
|
||||
u16 unk_18;
|
||||
u8 unk_1A;
|
||||
u8 unk_1B;
|
||||
} UnkStruct_0201D738;
|
||||
|
||||
#endif // POKEPLATINUM_STRUCT_0201D738_H
|
||||
|
|
@ -1,24 +0,0 @@
|
|||
#ifndef POKEPLATINUM_STRUCT_0201D834_H
|
||||
#define POKEPLATINUM_STRUCT_0201D834_H
|
||||
|
||||
#include "struct_defs/struct_0201D738.h"
|
||||
|
||||
#include "functypes/funcptr_0201D834.h"
|
||||
|
||||
typedef struct {
|
||||
UnkStruct_0201D738 unk_00;
|
||||
UnkFuncPtr_0201D834 unk_1C;
|
||||
u8 unk_20[7];
|
||||
u8 unk_27;
|
||||
u8 unk_28;
|
||||
u8 unk_29_0 : 7;
|
||||
u8 unk_29_7 : 1;
|
||||
u8 unk_2A;
|
||||
u8 unk_2B;
|
||||
u8 unk_2C;
|
||||
u8 unk_2D;
|
||||
u16 unk_2E;
|
||||
void *unk_30;
|
||||
} UnkStruct_0201D834;
|
||||
|
||||
#endif // POKEPLATINUM_STRUCT_0201D834_H
|
||||
|
|
@ -2,8 +2,8 @@
|
|||
#define POKEPLATINUM_UNK_02002B7C_H
|
||||
|
||||
#include "struct_defs/struct_02002328.h"
|
||||
#include "struct_defs/struct_0201D834.h"
|
||||
|
||||
#include "render_text.h"
|
||||
#include "strbuf.h"
|
||||
|
||||
void sub_02002B7C(void);
|
||||
|
|
|
|||
|
|
@ -2,12 +2,9 @@
|
|||
#define POKEPLATINUM_UNK_0201D670_H
|
||||
|
||||
#include "struct_defs/struct_0201D670.h"
|
||||
#include "struct_defs/struct_0201D738.h"
|
||||
#include "struct_defs/struct_0201D834.h"
|
||||
#include "struct_defs/struct_0205AA50.h"
|
||||
|
||||
#include "functypes/funcptr_0201D834.h"
|
||||
|
||||
#include "render_text.h"
|
||||
#include "strbuf.h"
|
||||
|
||||
void sub_0201D670(const UnkStruct_0201D670 *param0);
|
||||
|
|
|
|||
|
|
@ -25,7 +25,6 @@
|
|||
#include "struct_defs/battle_system.h"
|
||||
#include "struct_defs/chatot_cry.h"
|
||||
#include "struct_defs/struct_0200D0F4.h"
|
||||
#include "struct_defs/struct_0201D738.h"
|
||||
#include "struct_defs/struct_0205AA50.h"
|
||||
#include "struct_defs/trainer_data.h"
|
||||
|
||||
|
|
@ -59,6 +58,7 @@
|
|||
#include "party.h"
|
||||
#include "pokemon.h"
|
||||
#include "poketch_data.h"
|
||||
#include "render_text.h"
|
||||
#include "strbuf.h"
|
||||
#include "string_template.h"
|
||||
#include "trainer_data.h"
|
||||
|
|
|
|||
|
|
@ -3,7 +3,6 @@
|
|||
#include <nitro.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "struct_defs/struct_0201D738.h"
|
||||
#include "struct_defs/struct_0205AA50.h"
|
||||
#include "struct_defs/struct_0207CB08.h"
|
||||
#include "struct_defs/struct_02081CF4.h"
|
||||
|
|
|
|||
|
|
@ -14,7 +14,6 @@
|
|||
#include "struct_defs/sprite_template.h"
|
||||
#include "struct_defs/struct_0200D0F4.h"
|
||||
#include "struct_defs/struct_02013A04_t.h"
|
||||
#include "struct_defs/struct_0201D738.h"
|
||||
#include "struct_defs/struct_0205AA50.h"
|
||||
#include "struct_defs/struct_020997B8.h"
|
||||
#include "struct_defs/struct_02099F80.h"
|
||||
|
|
|
|||
|
|
@ -5,11 +5,11 @@
|
|||
|
||||
#include "struct_defs/struct_02002328.h"
|
||||
#include "struct_defs/struct_02002D18.h"
|
||||
#include "struct_defs/struct_0201D834.h"
|
||||
#include "struct_defs/struct_02101D44.h"
|
||||
|
||||
#include "charcode.h"
|
||||
#include "core_sys.h"
|
||||
#include "render_text.h"
|
||||
#include "unk_02002B7C.h"
|
||||
#include "unk_02005474.h"
|
||||
#include "unk_02018340.h"
|
||||
|
|
|
|||
|
|
@ -7,7 +7,6 @@
|
|||
#include "struct_defs/struct_02002328.h"
|
||||
#include "struct_defs/struct_02002D18.h"
|
||||
#include "struct_defs/struct_0201D670.h"
|
||||
#include "struct_defs/struct_0201D834.h"
|
||||
|
||||
#include "heap.h"
|
||||
#include "render_text.h"
|
||||
|
|
|
|||
|
|
@ -4,13 +4,10 @@
|
|||
#include <string.h>
|
||||
|
||||
#include "struct_defs/struct_0201D670.h"
|
||||
#include "struct_defs/struct_0201D738.h"
|
||||
#include "struct_defs/struct_0201D834.h"
|
||||
#include "struct_defs/struct_0205AA50.h"
|
||||
|
||||
#include "functypes/funcptr_0201D834.h"
|
||||
|
||||
#include "heap.h"
|
||||
#include "render_text.h"
|
||||
#include "strbuf.h"
|
||||
#include "sys_task.h"
|
||||
#include "sys_task_manager.h"
|
||||
|
|
|
|||
|
|
@ -12,7 +12,6 @@
|
|||
#include "struct_defs/archived_sprite.h"
|
||||
#include "struct_defs/pokemon_summary.h"
|
||||
#include "struct_defs/sprite_animation_frame.h"
|
||||
#include "struct_defs/struct_0201D738.h"
|
||||
#include "struct_defs/struct_0202818C.h"
|
||||
#include "struct_defs/struct_0202CA28.h"
|
||||
#include "struct_defs/struct_0207AE68_t.h"
|
||||
|
|
|
|||
|
|
@ -4,7 +4,6 @@
|
|||
#include <string.h>
|
||||
|
||||
#include "struct_decls/struct_02018340_decl.h"
|
||||
#include "struct_defs/struct_0201D738.h"
|
||||
#include "struct_defs/struct_0205AA50.h"
|
||||
#include "struct_defs/struct_0207F248.h"
|
||||
#include "struct_defs/struct_02081CF4.h"
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user