mirror of
https://github.com/ACreTeam/ac-decomp
synced 2026-06-27 17:02:57 -04:00
Implement & link m_editEndChk_ovl.c
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
#ifndef M_ENDEDITCHK_H
|
||||
#define M_ENDEDITCHK_H
|
||||
|
||||
#include "types.h"
|
||||
#include "m_editEndChk_h.h"
|
||||
#include "m_submenu_ovl.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* TODO: verify these */
|
||||
enum {
|
||||
mEE_TYPE_DIARY,
|
||||
mEE_TYPE_NOTICE,
|
||||
mEE_TYPE_MSCORE,
|
||||
mEE_TYPE_CPORIGINAL,
|
||||
mEE_TYPE_ORIGINAL_DESIGN,
|
||||
|
||||
mEE_TYPE_NUM
|
||||
};
|
||||
|
||||
struct end_edit_chk_s {
|
||||
u8 moving_in;
|
||||
u8 selected_answer;
|
||||
u8 question_alpha_step;
|
||||
u8 question_alpha;
|
||||
f32 scale;
|
||||
};
|
||||
|
||||
extern void mEE_editEndChk_ovl_set_proc(Submenu* submenu);
|
||||
extern void mEE_editEndChk_ovl_construct(Submenu* submenu);
|
||||
extern void mEE_editEndChk_ovl_destruct(Submenu* submenu);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,16 @@
|
||||
#ifndef M_ENDEDITCHK_H_H
|
||||
#define M_ENDEDITCHK_H_H
|
||||
|
||||
#include "types.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef struct end_edit_chk_s mEE_Ovl_c;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
@@ -18,6 +18,7 @@
|
||||
#include "m_board_ovl_h.h"
|
||||
#include "m_diary_ovl_h.h"
|
||||
#include "m_address_ovl_h.h"
|
||||
#include "m_editEndChk_h.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
@@ -119,7 +120,8 @@ struct submenu_overlay_s {
|
||||
/* 0x98C */ mED_Ovl_c* editor_ovl;
|
||||
/* 0x990 */ mBD_Ovl_c* board_ovl;
|
||||
/* 0x994 */ mAD_Ovl_c* address_ovl;
|
||||
/* 0x998 */ u8 _998[0x9A8 - 0x998];
|
||||
/* 0x998 */ u8 _998[0x9A4 - 0x998];
|
||||
/* 0x9A4 */ mEE_Ovl_c* editEndChk_ovl;
|
||||
/* 0x9A8 */ mWR_Ovl_c* warning_ovl;
|
||||
/* 0x9AC */ void* _9AC;
|
||||
/* 0x9B0 */ void* _9B0;
|
||||
|
||||
Reference in New Issue
Block a user