d_a_title (#666)

* d_a_title work

* daTitle_proc_c::proc_draw matching

* daTitle_proc_c::~daTitle_proc_c matching

* daTitle_proc_c::daTitle_proc_c matching

* d_a_title work

* daTitle_proc_c::set_mtx matching

* proc_execute matching

* daTitle_proc_c::model_draw matching

* daTitle_c inlines matching

* daTitle_proc_c::calc_2d_alpha matching

* Fixed mDoExt_bpkAnm::remove inline

* Updated configure.py

* d_a_title cleanup

* Updated configure.py
This commit is contained in:
Daniel Hajjar
2024-07-14 19:05:20 +02:00
committed by GitHub
parent 0614e8cb9e
commit 347f996cd4
4 changed files with 491 additions and 26 deletions
+37 -3
View File
@@ -1,9 +1,11 @@
#ifndef D_A_TITLE_H
#define D_A_TITLE_H
#include "d/d_com_inf_game.h"
#include "d/d_drawlist.h"
#include "f_op/f_op_actor.h"
class daTitle_proc_c {
class daTitle_proc_c : public dDlst_base_c {
public:
daTitle_proc_c();
~daTitle_proc_c();
@@ -15,21 +17,53 @@ public:
void proc_execute();
void model_draw();
void proc_draw();
BOOL draw();
inline void draw();
s32 getEnterMode() { return mEnterMode; }
static void daTitle_Kirakira_Sound_flag_on();
static bool daTitle_Kirakira_Sound_flag;
public:
/* 0x004 */ JPABaseEmitter* mpEmitter;
/* 0x008 */ JPABaseEmitter* mpEmitter2;
/* 0x00C */ cXyz m00C;
/* 0x018 */ s32 m018;
/* 0x01C */ s32 m01C;
/* 0x020 */ s32 m020;
/* 0x024 */ s32 m024;
/* 0x028 */ s32 m028;
/* 0x02C */ s32 m02C;
/* 0x030 */ s32 mEnterMode;
/* 0x034 */ u8 m034[0x038 - 0x034];
/* 0x038 */ J3DModel* mModel_ship;
/* 0x03C */ J3DModel* mModel_subtitle;
/* 0x040 */ J3DModel* mModel_kirari;
/* 0x044 */ mDoExt_bckAnm mBckShip;
/* 0x054 */ mDoExt_bpkAnm mBpkShip;
/* 0x068 */ mDoExt_btkAnm mBtkSub;
/* 0x07C */ mDoExt_btkAnm mBtkKirari;
/* 0x090 */ u8 m090;
/* 0x094 */ f32 m094;
/* 0x098 */ s32 m098;
/* 0x09C */ J2DScreen* m_Screen;
/* 0x0A0 */ J2DPane* m0A0[6];
/* 0x0B8 */ fopMsgM_pane_class pane[6];
/* 0x208 */ JKRExpHeap* m_exp_heap;
/* 0x20C */ JKRSolidHeap* m_solid_heap;
};
class daTitle_c : public fopAc_ac_c {
public:
inline ~daTitle_c();
inline s32 create();
inline BOOL draw();
inline BOOL execute();
public:
/* Place member variables here */
/* 0x290 */ request_of_phase_process_class mPhs;
/* 0x298 */ daTitle_proc_c* mpTitleProc;
/* 0x29C */ bool m29C;
};
#endif /* D_A_TITLE_H */
+2
View File
@@ -164,6 +164,8 @@ public:
void entry(J3DModelData* i_modelData) { entry(i_modelData, getFrame()); }
int remove(J3DModelData* i_modelData) { return i_modelData->removeMatColorAnimator(mpAnm); }
private:
/* 0x08 */ J3DAnmColor* mpAnm;
/* 0x0C */ J3DMatColorAnm* field_0xc;