mirror of
https://github.com/ACreTeam/ac-decomp
synced 2026-07-07 12:03:27 -04:00
Implement & link m_timeIn_ovl
This commit is contained in:
@@ -17,6 +17,10 @@ typedef struct notice_board_post_s {
|
||||
/* 0xC0 */ lbRTC_time_c post_time; /* date-time of post */
|
||||
} mNtc_board_post_c;
|
||||
|
||||
extern void mNtc_SetInitData();
|
||||
extern int mNtc_notice_write_num();
|
||||
extern void mNtc_notice_write(mNtc_board_post_c* new_post);
|
||||
extern void mNtc_auto_nwrite_time_ct();
|
||||
extern void mNtc_set_auto_nwrite_data();
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
#include "m_address_ovl_h.h"
|
||||
#include "m_editEndChk_h.h"
|
||||
#include "m_haniwaPortrait_ovl_h.h"
|
||||
#include "m_timeIn_ovl_h.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
@@ -127,7 +128,9 @@ 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[0x9A4 - 0x998];
|
||||
/* 0x998 */ void* _998;
|
||||
/* 0x99C */ void* _99C;
|
||||
/* 0x9A0 */ mTI_Ovl_c* timeIn_ovl;
|
||||
/* 0x9A4 */ mEE_Ovl_c* editEndChk_ovl;
|
||||
/* 0x9A8 */ mWR_Ovl_c* warning_ovl;
|
||||
/* 0x9AC */ void* _9AC;
|
||||
|
||||
@@ -0,0 +1,46 @@
|
||||
#ifndef M_TIMEIN_OVL_H
|
||||
#define M_TIMEIN_OVL_H
|
||||
|
||||
#include "types.h"
|
||||
#include "m_timeIn_ovl_h.h"
|
||||
#include "m_submenu_ovl.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#define mTI_MIN_YEAR 1
|
||||
#define mTI_MAX_YEAR 30
|
||||
|
||||
enum {
|
||||
mTI_IDX_HOUR,
|
||||
mTI_IDX_MIN,
|
||||
mTI_IDX_MONTH,
|
||||
mTI_IDX_DAY,
|
||||
mTI_IDX_YEAR,
|
||||
mTI_IDX_OK,
|
||||
|
||||
mTI_IDX_NUM = mTI_IDX_OK
|
||||
};
|
||||
|
||||
enum {
|
||||
mTI_OVL_OPEN_NORMAL,
|
||||
mTI_OVL_OPEN_INITIAL,
|
||||
|
||||
mTI_OVL_OPEN_NUM
|
||||
};
|
||||
|
||||
struct timeIn_ovl_s {
|
||||
u16 values[mTI_IDX_NUM];
|
||||
int sel_idx;
|
||||
u16 saved_min;
|
||||
u16 input_disabled_flag;
|
||||
lbRTC_time_c original_time;
|
||||
int init_flag;
|
||||
};
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,16 @@
|
||||
#ifndef M_TIMEIN_OVL_H_H
|
||||
#define M_TIMEIN_OVL_H_H
|
||||
|
||||
#include "types.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef struct timeIn_ovl_s mTI_Ovl_c;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user