mirror of
https://github.com/encounter/tp.git
synced 2026-07-11 06:18:46 -07:00
d_menu_save / pane_class / rename some data (#205)
* work on fop actor / actor mng, daalink, d_a_obj_item * d_a_title mostly decompiled * daalink / d_event / JMessage / dmsg_out_font work * msg_scrn_base / msg_scrn_boss * some work on mDo machine, d_menu_save, d_tresure, and various * remove asm * progress * finish d_menu_save / d_pane_class_alpha / d_pane_class / rename some data * rename more data * remove asm / progress * match all of d_pane_class * fixes / some dKankyo doc
This commit is contained in:
@@ -25,11 +25,11 @@ public:
|
||||
/* 802545B0 */ void paneTrans(f32, f32);
|
||||
/* 80254638 */ void paneScale(f32, f32);
|
||||
/* 802547CC */ bool scaleAnime(s16, f32, f32, u8);
|
||||
/* 802548BC */ void colorAnime(s16, JUtility::TColor, JUtility::TColor, JUtility::TColor,
|
||||
/* 802548BC */ bool colorAnime(s16, JUtility::TColor, JUtility::TColor, JUtility::TColor,
|
||||
JUtility::TColor, u8);
|
||||
/* 80254C90 */ void getGlobalVtx(J2DPane*, f32 (*)[3][4], u8, bool, s16);
|
||||
/* 80254C90 */ Vec getGlobalVtx(J2DPane*, f32 (*)[3][4], u8, bool, s16);
|
||||
/* 80254EBC */ Vec getGlobalVtxCenter(J2DPane*, bool, s16);
|
||||
/* 80254FB8 */ void getBounds(J2DPane*);
|
||||
/* 80254FB8 */ JGeometry::TBox2<f32>* getBounds(J2DPane*);
|
||||
|
||||
Vec getGlobalVtxCenter(bool param_0, s16 param_1) {
|
||||
return getGlobalVtxCenter(getPanePtr(), param_0, param_1);
|
||||
@@ -39,6 +39,7 @@ public:
|
||||
|
||||
void scale(f32 h, f32 v) { getPanePtr()->scale(h, v); }
|
||||
void scaleAnimeStart(s16 v) { mScaleAnime = v; }
|
||||
void colorAnimeStart(s16 start) { mColorAnime = start; }
|
||||
|
||||
f32 getPosX() { return getPanePtr()->getBounds().i.x; }
|
||||
f32 getPosY() { return getPanePtr()->getBounds().i.y; }
|
||||
@@ -58,9 +59,11 @@ public:
|
||||
f32 getInitPosX() { return mInitPos.x; }
|
||||
f32 getInitPosY() { return mInitPos.y; }
|
||||
|
||||
JUtility::TColor getInitBlack() { return mInitBlack; }
|
||||
|
||||
private:
|
||||
/* 0x1C */ void* mpFirstStackSize;
|
||||
/* 0x20 */ void* field_0x20;
|
||||
/* 0x20 */ s16* field_0x20;
|
||||
/* 0x24 */ JGeometry::TVec2<f32> mInitPos;
|
||||
/* 0x2C */ JGeometry::TVec2<f32> mGlobalPos;
|
||||
/* 0x34 */ JGeometry::TVec2<f32> mInitSize;
|
||||
|
||||
@@ -6,16 +6,6 @@
|
||||
#include "JSystem/JKernel/JKRExpHeap.h"
|
||||
#include "dolphin/types.h"
|
||||
|
||||
struct CPaneMgrAlphaMorf {
|
||||
/* 80255C68 */ CPaneMgrAlphaMorf(J2DScreen*, u64, u8, JKRExpHeap*);
|
||||
/* 80255CAC */ ~CPaneMgrAlphaMorf();
|
||||
/* 80255D48 */ void initiateAlphaMorf();
|
||||
/* 80255DD0 */ void setBackupAlpha();
|
||||
/* 80255E28 */ void setAlphaMorfRate(f32);
|
||||
/* 80255E98 */ void childPaneBackupAlpha(J2DPane*);
|
||||
/* 80255F28 */ void childPaneSetAlphaMorf(J2DPane*, f32);
|
||||
};
|
||||
|
||||
class CPaneMgrAlpha {
|
||||
public:
|
||||
/* 8025546C */ virtual ~CPaneMgrAlpha();
|
||||
@@ -26,29 +16,47 @@ public:
|
||||
/* 802554E0 */ void initiateAlpha(J2DPane*, JKRExpHeap*);
|
||||
/* 802555C8 */ void show();
|
||||
/* 80255608 */ void hide();
|
||||
/* 8025564C */ void isVisible();
|
||||
/* 8025564C */ bool isVisible();
|
||||
/* 80255658 */ f32 rateCalc(s16, s16, u8);
|
||||
/* 802557D0 */ void setAlphaRate(f32);
|
||||
/* 80255828 */ f32 getAlphaRate();
|
||||
/* 80255878 */ void alphaAnime(s16, u8, u8, u8);
|
||||
/* 80255964 */ void alphaAnimeLoop(s16, u8, u8, u8);
|
||||
/* 80255878 */ bool alphaAnime(s16 timer, u8 startAlpha, u8 endAlpha, u8 calcType);
|
||||
/* 80255964 */ bool alphaAnimeLoop(s16, u8, u8, u8);
|
||||
/* 80255A60 */ void childPaneCount(J2DPane*);
|
||||
/* 80255ACC */ void childPaneGetAlpha(J2DPane*);
|
||||
/* 80255B5C */ void childPaneSetAlpha(J2DPane*, u8);
|
||||
|
||||
J2DPane* getPanePtr() { return (J2DPane*)mWindow; }
|
||||
J2DPane* getPanePtr() { return mPane; }
|
||||
u8 getAlpha() { return getPanePtr()->getAlpha(); }
|
||||
s16 getAlphaTimer() { return mAlphaTimer; }
|
||||
void alphaAnimeStart(s16 start) { mAlphaTimer = start; }
|
||||
|
||||
/* 0x04 */ J2DWindow* mWindow;
|
||||
/* 0x04 */ J2DPane* mPane;
|
||||
/* 0x08 */ JKRExpHeap* heap;
|
||||
/* 0x0C */ void* mpFirstStackAlpha;
|
||||
/* 0x10 */ void* field_0x10;
|
||||
/* 0x10 */ u8* field_0x10;
|
||||
/* 0x14 */ s16 mChildPaneCount;
|
||||
/* 0x16 */ s16 mAlphaTimer;
|
||||
/* 0x18 */ u8 mInitAlpha;
|
||||
/* 0x19 */ u8 mFlags;
|
||||
};
|
||||
|
||||
class CPaneMgrAlphaMorf : public CPaneMgrAlpha {
|
||||
public:
|
||||
/* 80255C68 */ CPaneMgrAlphaMorf(J2DScreen*, u64, u8, JKRExpHeap*);
|
||||
/* 80255D48 */ void initiateAlphaMorf();
|
||||
/* 80255DD0 */ void setBackupAlpha();
|
||||
/* 80255E28 */ void setAlphaMorfRate(f32);
|
||||
/* 80255E98 */ void childPaneBackupAlpha(J2DPane*);
|
||||
/* 80255F28 */ void childPaneSetAlphaMorf(J2DPane*, f32);
|
||||
|
||||
/* 80255CAC */ virtual ~CPaneMgrAlphaMorf();
|
||||
|
||||
private:
|
||||
/* 0x1C */ void* mpFirstSaveAlpha;
|
||||
/* 0x20 */ u8* field_0x20;
|
||||
/* 0x24 */ void* mpFirstGetAlpha;
|
||||
/* 0x28 */ u8* field_0x28;
|
||||
};
|
||||
|
||||
#endif /* D_PANE_D_PANE_CLASS_ALPHA_H */
|
||||
|
||||
Reference in New Issue
Block a user