d_a_warp_bug OK

This commit is contained in:
TakaRikka
2023-07-07 01:16:47 -07:00
parent 2c8bfedbba
commit 60b613ba4e
7 changed files with 192 additions and 196 deletions
@@ -63,6 +63,7 @@ public:
J3DNBTScale* getNBTScale() const { return mTexGenBlock->getNBTScale(); }
u32 getTexNo(u32 idx) const { return mTevBlock->getTexNo(idx); }
GXColor* getTevKColor(u32 param_0) { return mTevBlock->getTevKColor(param_0); }
GXColorS10* getTevColor(u32 param_0) { return mTevBlock->getTevColor(param_0); }
J3DFog* getFog() { return mPEBlock->getFog(); }
J3DTexMtx* getTexMtx(u32 idx) { return mTexGenBlock->getTexMtx(idx); }
u16 getIndex() { return mIndex; }
+2
View File
@@ -722,6 +722,8 @@ public:
s16 getBodyAngleX() const { return mBodyAngle.x; }
s16 getBodyAngleY() const { return mBodyAngle.y; }
BOOL checkMidnaWarp() const { return 0; }
// some functions use these function as an inline
// is there a better way to handle this?
int i_checkNoResetFlg0(daPy_FLG0 pFlag) const { return mNoResetFlg0 & pFlag; }
+5
View File
@@ -3372,6 +3372,11 @@ inline void dComIfGd_setListDark() {
g_dComIfG_gameInfo.drawlist.setXluListDark();
}
inline void dComIfGd_setListDarkBG() {
g_dComIfG_gameInfo.drawlist.setOpaListDarkBG();
g_dComIfG_gameInfo.drawlist.setXluListDarkBG();
}
inline void dComIfGd_setList() {
g_dComIfG_gameInfo.drawlist.setOpaList();
g_dComIfG_gameInfo.drawlist.setXluList();
+2
View File
@@ -315,6 +315,8 @@ public:
void setOpaListSky() { setOpaDrawList(mDrawBuffers[DB_OPA_LIST_SKY]); }
void setXluListDark() { setXluDrawList(mDrawBuffers[DB_XLU_LIST_DARK]); }
void setOpaListDark() { setOpaDrawList(mDrawBuffers[DB_OPA_LIST_DARK]); }
void setXluListDarkBG() { setXluDrawList(mDrawBuffers[DB_XLU_LIST_DARK_BG]); }
void setOpaListDarkBG() { setOpaDrawList(mDrawBuffers[DB_OPA_LIST_DARK_BG]); }
void setOpaList() { setOpaDrawList(mDrawBuffers[DB_OPA_LIST]); }
void setXluList() { setXluDrawList(mDrawBuffers[DB_XLU_LIST]); }
void setOpaListItem3D() { setOpaDrawList(mDrawBuffers[DB_OPA_LIST_ITEM3D]); }
+20 -1
View File
@@ -1,6 +1,25 @@
#ifndef D_A_WARP_BUG_H
#define D_A_WARP_BUG_H
#include "dolphin/types.h"
#include "f_op/f_op_actor_mng.h"
class daWarpBug_c : public fopAc_ac_c {
public:
inline ~daWarpBug_c();
/* 80D67E38 */ void create_init();
/* 80D68068 */ int draw();
inline int createHeap();
inline int execute();
inline int create();
/* 0x568 */ J3DModel* mpModel;
/* 0x56C */ mDoExt_brkAnm* mpBrk;
/* 0x570 */ mDoExt_btkAnm* mpBtk;
/* 0x574 */ request_of_phase_process_class mPhase;
/* 0x57C */ s16 field_0x57c;
/* 0x57E */ u8 field_0x57e;
};
#endif /* D_A_WARP_BUG_H */