Implement & link m_cpwarning_ovl

This commit is contained in:
Cuyler36
2024-10-23 19:44:02 -04:00
parent 6ed80adf8d
commit 4d5d9293f7
7 changed files with 227 additions and 11 deletions
+1 -1
View File
@@ -7,7 +7,7 @@
extern "C" {
#endif
typedef struct bank_ovl_s mBN_Overlay_c;
typedef struct bank_ovl_s mBN_Ovl_c;
#ifdef __cplusplus
}
+14
View File
@@ -2,11 +2,25 @@
#define M_CPWARNING_OVL_H
#include "types.h"
#include "m_cpwarning_ovl_h.h"
#include "m_submenu.h"
#ifdef __cplusplus
extern "C" {
#endif
struct cpwarning_ovl_s {
u8 _00;
u8 _01;
u8 move_dir;
u8 _03;
u8 _04;
u8 diary_edit_mode;
s16 _06;
f32 scale;
f32 _0C;
};
extern void mCW_cpwarning_ovl_construct(Submenu* submenu);
extern void mCW_cpwarning_ovl_destruct(Submenu* submenu);
extern void mCW_cpwarning_ovl_set_proc(Submenu* submenu);
+2
View File
@@ -7,6 +7,8 @@
extern "C" {
#endif
typedef struct cpwarning_ovl_s mCW_Ovl_c;
#ifdef __cplusplus
}
#endif
+3 -2
View File
@@ -36,6 +36,7 @@
#include "m_needlework_ovl_h.h"
#include "m_gba_ovl_h.h"
#include "m_cpedit_ovl_h.h"
#include "m_cpwarning_ovl_h.h"
#ifdef __cplusplus
extern "C" {
@@ -191,11 +192,11 @@ struct submenu_overlay_s {
/* 0x9B8 */ mNT_Ovl_c* notice_ovl;
/* 0x9BC */ mBR_Ovl_c* birthday_ovl;
/* 0x9C0 */ mCM_Ovl_c* cpmail_ovl;
/* 0x9C4 */ void* _9C4;
/* 0x9C4 */ mCW_Ovl_c* cpwarning_ovl;
/* 0x9C8 */ mCE_Ovl_c* cpedit_ovl;
/* 0x9CC */ mCL_Ovl_c* catalog_ovl;
/* 0x9D0 */ mMU_Ovl_c* music_ovl;
/* 0x9D4 */ mBN_Overlay_c* bank_ovl;
/* 0x9D4 */ mBN_Ovl_c* bank_ovl;
/* 0x9D8 */ mNW_Ovl_c* needlework_ovl;
/* 0x9DC */ mCO_Ovl_c* cporiginal_ovl;
/* 0x9E0 */ void* _9E0;