d_ovlp_fade4 work

This commit is contained in:
Jasper St. Pierre
2024-07-13 15:58:17 -07:00
parent 18b82cdc5a
commit 2a65dfdb6e
9 changed files with 200 additions and 204 deletions
+2 -2
View File
@@ -36,8 +36,8 @@ public:
class JFWDisplay {
public:
enum EDrawDone {
/* 0x0 */ UNK_METHOD_0 = 0,
/* 0x1 */ UNK_METHOD_1 = 1
/* 0x0 */ Sync = 0,
/* 0x1 */ Async = 1,
};
void ctor_subroutine(const _GXRenderModeObj*, bool enableAlpha);
+8 -7
View File
@@ -7,13 +7,14 @@
class JUTFader {
public:
enum EStatus {
UNKSTATUS_M1 = -1,
UNKSTATUS_0 = 0,
WaitOut,
WaitIn,
FadeIn,
FadeOut,
};
JUTFader(int, int, int, int, JUtility::TColor);
void control();
void setStatus(JUTFader::EStatus, int);
virtual ~JUTFader() {};
virtual bool startFadeIn(int);
@@ -24,12 +25,12 @@ public:
void setColor(JUtility::TColor& color) { mColor.set(color); }
/* 0x04 */ s32 mStatus;
/* 0x08 */ u16 field_0x8;
/* 0x0A */ u16 field_0xa;
/* 0x08 */ u16 mFadeTime;
/* 0x0A */ u16 mTimer;
/* 0x0C */ JUtility::TColor mColor;
/* 0x10 */ JGeometry::TBox2<f32> mBox;
/* 0x20 */ int mEStatus;
/* 0x24 */ u32 field_0x24;
/* 0x20 */ int mDelayTimer;
/* 0x24 */ u32 mDelayStatus;
};
#endif /* JUTFADER_H */
+3 -4
View File
@@ -9,10 +9,9 @@ class JKRHeap;
class JUTXfb {
public:
enum EXfbNumber { // TODO: placeholder
UNK_0 = 0,
UNK_1 = 1,
UNK_2 = 2,
UNK_3 = 3,
Single = 1,
Double = 2,
Triple = 3,
};
void clearIndex();
+23 -23
View File
@@ -54,16 +54,16 @@ public:
void init(_GXColor);
void draw();
/* 0x004 */ f32 field_0x4;
/* 0x008 */ u8 field_0x8;
/* 0x00C */ dDlst_snapShot2_c field_0xc;
/* 0x018 */ dDlst_2Dt_Sp_c field_0x18;
/* 0x064 */ dDlst_snapShot2_c field_0x64;
/* 0x070 */ dDlst_2Dt_Sp_c field_0x70;
/* 0x0BC */ dDlst_snapShot2_c field_0xbc;
/* 0x0C8 */ dDlst_2Dt_Sp_c field_0xc8;
/* 0x114 */ u16 field_0x114;
/* 0x116 */ u16 field_0x116;
/* 0x004 */ f32 timer;
/* 0x008 */ bool first;
/* 0x00C */ dDlst_snapShot2_c snap_dlst;
/* 0x018 */ dDlst_2Dt_Sp_c redraw_dlst;
/* 0x064 */ dDlst_snapShot2_c save_dlst;
/* 0x070 */ dDlst_2Dt_Sp_c blur0_dlst;
/* 0x0BC */ dDlst_snapShot2_c blur0Snap_dlst;
/* 0x0C8 */ dDlst_2Dt_Sp_c composite_dlst;
/* 0x114 */ u16 curWidth;
/* 0x116 */ u16 curHeight;
};
class dOvlpFd4_c : public overlap_task_class {
@@ -84,22 +84,22 @@ public:
/* 0x0CC */ ExecuteFunc mExecuteFunc;
/* 0x0D8 */ DrawFunc mDrawFunc;
/* 0x0E4 */ dDlst_snapShot2_c field_0xe4;
/* 0x0F0 */ dDlst_snapShot2_c field_0xf0;
/* 0x0FC */ dDlst_2Dt_Sp_c field_0xfc;
/* 0x148 */ dDlst_2Dt_Sp_c field_0x148;
/* 0x194 */ dDlst_2DtEff1_c tEff1_dlst;
/* 0x2AC */ u8 field_0x2ac;
/* 0x2AD */ u8 field_0x2ad;
/* 0x2AE */ s8 field_0x2ae;
/* 0x2B0 */ s16 field_0x2b0;
/* 0x2B4 */ f32 field_0x2b4;
/* 0x0E4 */ dDlst_snapShot2_c fadeOutBlur0_dlst;
/* 0x0F0 */ dDlst_snapShot2_c fadeOutSnap_dlst;
/* 0x0FC */ dDlst_2Dt_Sp_c fadeOutComposite_dlst;
/* 0x148 */ dDlst_2Dt_Sp_c fadeOutBlur1_dlst;
/* 0x194 */ dDlst_2DtEff1_c fadeIn_dlst;
/* 0x2AC */ u8 first;
/* 0x2AD */ u8 fadeOutStatus;
/* 0x2AE */ s8 totalTime;
/* 0x2B0 */ s16 timer;
/* 0x2B4 */ f32 delayPercent;
/* 0x2B8 */ u8 field_0x2b8[0x2BC - 0x2B8];
/* 0x2BC */ f32 field_0x2bc;
/* 0x2C0 */ u8 field_0x2c0;
/* 0x2C1 */ s8 field_0x2c1;
/* 0x2C0 */ u8 sizeStep;
/* 0x2C1 */ s8 startTime;
/* 0x2C2 */ u8 field_0x2c2[0x2C8 - 0x2C2];
/* 0x2C8 */ f32 field_0x2c8;
/* 0x2C8 */ f32 timerStep;
/* 0x2CC */ u8 field_0x2cc;
};