mirror of
https://github.com/ACreTeam/ac-decomp
synced 2026-09-02 16:48:05 -04:00
Implement & link m_birthday_ovl
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
#ifndef M_BIRTHDAY_OVL_H
|
||||
#define M_BIRTHDAY_OVL_H
|
||||
|
||||
#include "types.h"
|
||||
#include "m_birthday_ovl_h.h"
|
||||
#include "m_submenu_ovl.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
enum {
|
||||
mBR_Ovl_IDX_MONTH,
|
||||
mBR_Ovl_IDX_DAY,
|
||||
mBR_Ovl_IDX_DATE_NUM,
|
||||
|
||||
mBR_Ovl_IDX_OK = mBR_Ovl_IDX_DATE_NUM,
|
||||
mBR_Ovl_IDX_NUM
|
||||
};
|
||||
|
||||
struct birthday_ovl_s {
|
||||
u16 birthday_data[mBR_Ovl_IDX_DATE_NUM];
|
||||
int idx;
|
||||
};
|
||||
|
||||
extern void mBR_birthday_ovl_set_proc(Submenu* submenu);
|
||||
extern void mBR_birthday_ovl_construct(Submenu* submenu);
|
||||
extern void mBR_birthday_ovl_destruct(Submenu* submenu);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,16 @@
|
||||
#ifndef M_BIRTHDAY_OVL_H_H
|
||||
#define M_BIRTHDAY_OVL_H_H
|
||||
|
||||
#include "types.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef struct birthday_ovl_s mBR_Ovl_c;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
@@ -23,6 +23,7 @@
|
||||
#include "m_timeIn_ovl_h.h"
|
||||
#include "m_repay_ovl_h.h"
|
||||
#include "m_notice_ovl_h.h"
|
||||
#include "m_birthday_ovl_h.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
@@ -139,7 +140,11 @@ struct submenu_overlay_s {
|
||||
/* 0x9B0 */ void* _9B0;
|
||||
/* 0x9B4 */ mMP_Overlay_c* map_ovl;
|
||||
/* 0x9B8 */ mNT_Ovl_c* notice_ovl;
|
||||
/* 0x9BC */ u8 _9BC[0x9D0 - 0x9BC];
|
||||
/* 0x9BC */ mBR_Ovl_c* birthday_ovl;
|
||||
/* 0x9C0 */ void* _9C0;
|
||||
/* 0x9C4 */ void* _9C4;
|
||||
/* 0x9C8 */ void* _9C8;
|
||||
/* 0x9CC */ void* _9CC;
|
||||
/* 0x9D0 */ mMU_Overlay_c* music_ovl;
|
||||
/* 0x9D4 */ mBN_Overlay_c* bank_ovl;
|
||||
/* 0x9D8 */ void* _9D8;
|
||||
|
||||
Reference in New Issue
Block a user