mirror of
https://github.com/zeldaret/tp
synced 2026-06-08 20:29:45 -04:00
e_ym / obj_volcball wip. obj_mgate done (#318)
* e_ym / obj_volcball wip. obj_mgate done * remove asm --------- Co-authored-by: root <root@DESKTOP-BTVP2BC>
This commit is contained in:
@@ -377,6 +377,7 @@ public:
|
||||
enum daPy_RFLG1 {
|
||||
RFLG1_UNK_30 = 0x30,
|
||||
RFLG1_UNK_2 = 0x2,
|
||||
RFLG1_WOLF_ATTACK_REVERSE = 0x1,
|
||||
};
|
||||
|
||||
enum {
|
||||
@@ -450,7 +451,7 @@ public:
|
||||
static BOOL checkMasterSwordEquip();
|
||||
static BOOL checkWoodShieldEquip();
|
||||
static f32 getAttentionOffsetY();
|
||||
s16 checkNowWolfEyeUp();
|
||||
static int checkNowWolfEyeUp();
|
||||
static void forceRestartRoom(int, u32, int);
|
||||
static void setFmChainPos(fopAc_ac_c*, cXyz*, int);
|
||||
static void cancelFmChainGrab();
|
||||
@@ -709,6 +710,7 @@ public:
|
||||
bool checkWaterInMove() const { return i_checkNoResetFlg0(FLG0_UNDERWATER); }
|
||||
bool checkSceneChangeAreaStart() const { return i_checkNoResetFlg2(FLG2_SCN_CHG_START); }
|
||||
bool checkFrontRollCrash() const { return i_checkResetFlg0(RFLG0_FRONT_ROLL_CRASH); }
|
||||
bool checkWolfAttackReverse() const { return checkResetFlg1(RFLG1_WOLF_ATTACK_REVERSE); }
|
||||
|
||||
void onForceAutoJump() { i_onEndResetFlg0(ERFLG0_FORCE_AUTO_JUMP); }
|
||||
void onNotAutoJump() { i_onEndResetFlg0(ERFLG0_NOT_AUTO_JUMP); }
|
||||
@@ -749,6 +751,7 @@ public:
|
||||
void i_offEndResetFlg2(daPy_ERFLG2 flag) { mEndResetFlg2 &= ~flag; }
|
||||
|
||||
int i_checkResetFlg0(daPy_py_c::daPy_RFLG0 flag) const { return mResetFlg0 & flag; }
|
||||
int checkResetFlg1(daPy_py_c::daPy_RFLG1 flag) const { return mResetFlg1 & flag; }
|
||||
|
||||
int i_checkEndResetFlg0(daPy_py_c::daPy_ERFLG0 flag) const { return mEndResetFlg0 & flag; }
|
||||
int i_checkEndResetFlg1(daPy_py_c::daPy_ERFLG1 flag) const { return mEndResetFlg1 & flag; }
|
||||
|
||||
@@ -112,7 +112,7 @@ bool dBgS_CheckBWallPoly(cBgS_PolyInfo const&);
|
||||
void dBgS_MoveBGProc_Typical(dBgW* param_0, void* param_1, cBgS_PolyInfo const& param_2,
|
||||
bool param_3, cXyz* param_4, csXyz* param_5, csXyz* param_6);
|
||||
void dBgS_MoveBGProc_TypicalRotY(dBgW* param_0, void* param_1, cBgS_PolyInfo const& param_2,
|
||||
bool param_3, cXyz* param_4, csXyz* param_5, csXyz* param_6);
|
||||
bool param_3, cXyz* param_4, csXyz* param_5, csXyz* param_6);
|
||||
f32 dBgS_GetNY(cBgS_PolyInfo const& poly);
|
||||
|
||||
#endif /* D_BG_D_BG_S_H */
|
||||
|
||||
@@ -20,6 +20,8 @@ public:
|
||||
/* 800788DC */ int MoveBGDelete();
|
||||
/* 80078950 */ int MoveBGExecute();
|
||||
|
||||
int MoveBGDraw() { return Draw(); }
|
||||
|
||||
/* 80078688 */ virtual int CreateHeap();
|
||||
/* 80078690 */ virtual int Create();
|
||||
/* 80078698 */ virtual int Execute(f32 (**)[3][4]);
|
||||
|
||||
+4
-2
@@ -1,12 +1,14 @@
|
||||
#ifndef D_D_LIB_H
|
||||
#define D_D_LIB_H
|
||||
|
||||
#include "dolphin/types.h"
|
||||
#include "dolphin/os/OS.h"
|
||||
#include "dolphin/mtx/quat.h"
|
||||
#include "dolphin/os/OS.h"
|
||||
#include "f_op/f_op_actor.h"
|
||||
|
||||
struct JKRAramArchive;
|
||||
u32 dLib_getExpandSizeFromAramArchive(JKRAramArchive* arc, char const* resName);
|
||||
BOOL dLib_checkActorInRectangle(fopAc_ac_c* param_0, fopAc_ac_c* param_1, cXyz const* param_2,
|
||||
cXyz const* param_3);
|
||||
|
||||
struct STControl {
|
||||
STControl() {
|
||||
|
||||
@@ -13,7 +13,7 @@ public:
|
||||
/* 8006FB10 */ bool StartQuake(int, int, cXyz);
|
||||
/* 8006FD94 */ int StopQuake(int);
|
||||
/* 8006FE00 */ void Kill();
|
||||
/* 8006FE5C */ int CheckQuake();
|
||||
/* 8006FE5C */ bool CheckQuake();
|
||||
/* 8006FE84 */ void setDefault();
|
||||
/* 8006FF04 */ void Init();
|
||||
/* 8006FF38 */ void Pause();
|
||||
|
||||
@@ -21,6 +21,11 @@ struct action_class {
|
||||
};
|
||||
|
||||
struct dEvLib_callback_c {
|
||||
dEvLib_callback_c(fopAc_ac_c* param_0) {
|
||||
mActor = param_0;
|
||||
mAction = NULL;
|
||||
}
|
||||
|
||||
/* 8004886C */ BOOL eventUpdate();
|
||||
/* 800488A4 */ BOOL setEvent(int, int, int);
|
||||
/* 80048940 */ void orderEvent(int, int, int);
|
||||
|
||||
@@ -58,6 +58,7 @@ public:
|
||||
class dPa_followEcallBack : public dPa_levelEcallBack {
|
||||
public:
|
||||
/* 80049580 */ dPa_followEcallBack(u8, u8);
|
||||
/* 80D22230 */ void __defctor(); // compiler generated
|
||||
|
||||
/* 80050200 */ virtual ~dPa_followEcallBack();
|
||||
/* 800495BC */ virtual void execute(JPABaseEmitter*);
|
||||
|
||||
Reference in New Issue
Block a user