mirror of
https://github.com/zeldaret/tp
synced 2026-07-09 23:01:41 -04:00
almost all of daAlink_demo done (#1987)
* almost all of alink_demo done * remove asm * decideDoStatus OK
This commit is contained in:
+42
-22
@@ -650,6 +650,7 @@ public:
|
||||
};
|
||||
|
||||
enum daAlink_FTANM {
|
||||
FTANM_UNK_0 = 0,
|
||||
FTANM_UNK_3 = 3,
|
||||
FTANM_UNK_4 = 4,
|
||||
FTANM_UNK_8 = 8,
|
||||
@@ -667,11 +668,15 @@ public:
|
||||
FTANM_UNK_8A = 0x8A,
|
||||
FTANM_UNK_90 = 0x90,
|
||||
FTANM_UNK_96 = 0x96,
|
||||
FTANM_UNK_9C = 0x9C,
|
||||
FTANM_UNK_9D = 0x9D,
|
||||
FTANM_UNK_9F = 0x9F,
|
||||
FTANM_UNK_A0 = 0xA0,
|
||||
};
|
||||
|
||||
enum daAlink_WARP_MAT_MODE {
|
||||
WARP_MAT_MODE_1 = 1,
|
||||
WARP_MAT_MODE_0,
|
||||
WARP_MAT_MODE_1,
|
||||
};
|
||||
|
||||
enum daAlink_WANM {
|
||||
@@ -1340,7 +1345,7 @@ public:
|
||||
/* 800AC738 */ void setDoubleAnimeBlendRatio(f32);
|
||||
/* 800AC754 */ void commonDoubleAnime(J3DAnmTransform*, J3DAnmTransform*, J3DAnmTransform*,
|
||||
J3DAnmTransform*, f32, f32, f32, int);
|
||||
/* 800ACA14 */ void setDoubleAnime(f32, f32, f32, daAlink_c::daAlink_ANM,
|
||||
/* 800ACA14 */ int setDoubleAnime(f32, f32, f32, daAlink_c::daAlink_ANM,
|
||||
daAlink_c::daAlink_ANM, int, f32);
|
||||
/* 800ACD40 */ void commonSingleAnime(J3DAnmTransform*, J3DAnmTransform*, f32, f32, s16);
|
||||
/* 800ACF80 */ void setSingleAnimeBase(daAlink_c::daAlink_ANM anmID);
|
||||
@@ -1483,7 +1488,7 @@ public:
|
||||
/* 800B994C */ BOOL checkItemChangeFromButton();
|
||||
/* 800B9D2C */ BOOL checkNextActionFromButton();
|
||||
/* 800B9F50 */ BOOL checkGroundSpecialMode();
|
||||
/* 800BA09C */ void commonCheckNextAction(int);
|
||||
/* 800BA09C */ int commonCheckNextAction(int);
|
||||
/* 800BA0D0 */ int checkNextAction(int);
|
||||
/* 800BA6A0 */ void commonChangeItem();
|
||||
/* 800BA914 */ void setItemAction();
|
||||
@@ -1702,7 +1707,7 @@ public:
|
||||
/* 800D23C0 */ int checkCutAction();
|
||||
/* 800D26EC */ int getCutDirection();
|
||||
/* 800D2760 */ BOOL checkCutCancelNextMode(int);
|
||||
/* 800D27E4 */ void checkDoCutAction();
|
||||
/* 800D27E4 */ BOOL checkDoCutAction();
|
||||
/* 800D2890 */ BOOL checkCutBackState();
|
||||
/* 800D28F4 */ BOOL checkCutHeadState();
|
||||
/* 800D29D4 */ BOOL checkDownAttackState();
|
||||
@@ -1818,7 +1823,7 @@ public:
|
||||
/* 800DDBA8 */ int procGuardAttack();
|
||||
/* 800DDE58 */ int procGuardBreakInit();
|
||||
/* 800DDF2C */ int procGuardBreak();
|
||||
/* 800DE008 */ bool procTurnMoveInit(int);
|
||||
/* 800DE008 */ int procTurnMoveInit(int);
|
||||
/* 800DE380 */ int procTurnMove();
|
||||
/* 800DE64C */ void getArrowFlyData(f32*, f32*, int) const;
|
||||
/* 800DE740 */ f32 getArrowIncAtR() const;
|
||||
@@ -1935,7 +1940,7 @@ public:
|
||||
/* 800E3800 */ f32 getBombWaterMaxFallSpeed() const;
|
||||
/* 800E3810 */ f32 getBombExplodeWaterEffectLimit() const;
|
||||
/* 800E3820 */ s16 getBombInsectLimitAngle() const;
|
||||
/* 800E38EC */ void checkGrabLineCheck();
|
||||
/* 800E38EC */ BOOL checkGrabLineCheck();
|
||||
/* 800E3BCC */ f32 getGrabThrowRate();
|
||||
/* 800E3C1C */ BOOL checkGrabThrowAnime() const;
|
||||
/* 800E3C6C */ BOOL checkGrabAnime() const;
|
||||
@@ -1973,7 +1978,7 @@ public:
|
||||
/* 800E6E0C */ int procGrabRebound();
|
||||
/* 800E6EEC */ int procGrabStandInit();
|
||||
/* 800E6FE0 */ int procGrabStand();
|
||||
/* 800E70C0 */ bool checkInsectActorName(fopAc_ac_c*);
|
||||
/* 800E70C0 */ BOOL checkInsectActorName(fopAc_ac_c*);
|
||||
/* 800E70FC */ int procInsectCatchInit();
|
||||
/* 800E71D4 */ bool procInsectCatch();
|
||||
/* 800E7254 */ int procPickUpInit();
|
||||
@@ -1983,7 +1988,7 @@ public:
|
||||
/* 800E7894 */ void checkSetChainPullAnime(s16);
|
||||
/* 800E794C */ s16 getChainStickAngleY(s16) const;
|
||||
/* 800E7994 */ u8 checkChainEmphasys();
|
||||
/* 800E79F8 */ u8 searchFmChainPos();
|
||||
/* 800E79F8 */ BOOL searchFmChainPos();
|
||||
/* 800E7AEC */ void setFmChainPosFromOut(fopAc_ac_c*, cXyz*, int);
|
||||
/* 800E7C30 */ int procFmChainUpInit();
|
||||
/* 800E7CC0 */ int procFmChainUp();
|
||||
@@ -1991,8 +1996,8 @@ public:
|
||||
/* 800E7E50 */ int procFmChainStrongPull();
|
||||
/* 800E7ED0 */ void setWallGrabStatus(u8, u8);
|
||||
/* 800E7EE4 */ int getWallGrabStatus();
|
||||
/* 800E7EF4 */ void wallGrabTrigger();
|
||||
/* 800E7F18 */ void wallGrabButton();
|
||||
/* 800E7EF4 */ BOOL wallGrabTrigger();
|
||||
/* 800E7F18 */ BOOL wallGrabButton();
|
||||
/* 800E7F3C */ void setPushPullKeepData(dBgW_Base::PushPullLabel, int);
|
||||
/* 800E80A4 */ void checkPushPullTurnBlock();
|
||||
/* 800E8148 */ void checkPullBehindWall();
|
||||
@@ -2337,7 +2342,7 @@ public:
|
||||
/* 80101D70 */ void swimBgCheck(f32);
|
||||
/* 801023E4 */ void setSpeedAndAngleSwim();
|
||||
/* 801029C8 */ int checkNextActionSwim();
|
||||
/* 80102B1C */ void checkSwimAction(int);
|
||||
/* 80102B1C */ int checkSwimAction(int);
|
||||
/* 80103058 */ int checkSwimUpAction();
|
||||
/* 801032C8 */ void swimOutAfter(int);
|
||||
/* 80103398 */ bool checkSwimFall();
|
||||
@@ -2557,7 +2562,7 @@ public:
|
||||
/* 80118FF8 */ void setHighModelBck(mDoExt_bckAnm*, u16);
|
||||
/* 801190A4 */ void setHighModelFaceBtk(u16);
|
||||
/* 80119134 */ void setDemoBrk(J3DAnmTevRegKey**, J3DModel*, u16);
|
||||
/* 801191C4 */ void setStickAnmData(J3DAnmBase*, int, int, u16, int);
|
||||
/* 801191C4 */ f32 setStickAnmData(J3DAnmBase*, int, int, u16, int);
|
||||
/* 801195C0 */ int procDemoCommon();
|
||||
/* 801195F8 */ int procCoToolDemoInit();
|
||||
/* 801196D8 */ int procCoToolDemo();
|
||||
@@ -2644,13 +2649,13 @@ public:
|
||||
/* 8011F658 */ bool checkAcceptWarp();
|
||||
/* 8011F7D8 */ void dungeonReturnWarp();
|
||||
/* 8011F9EC */ void checkWarpStart();
|
||||
/* 8011FBC0 */ void warpModelTexScroll();
|
||||
/* 8011FBC0 */ int warpModelTexScroll();
|
||||
/* 8011FD4C */ int procCoWarpInit(int, int);
|
||||
/* 80120124 */ int procCoWarp();
|
||||
/* 80120440 */ void commonWaitTurnInit();
|
||||
/* 80120440 */ int commonWaitTurnInit();
|
||||
/* 80120474 */ int commonGrabPutInit();
|
||||
/* 80120500 */ void commonLargeDamageUpInit(int, int, s16, s16);
|
||||
/* 80120534 */ void commonFallInit(int);
|
||||
/* 80120500 */ int commonLargeDamageUpInit(int, int, s16, s16);
|
||||
/* 80120534 */ int commonFallInit(int);
|
||||
/* 80120580 */ JPABaseEmitter* setEmitter(u32*, u16, cXyz const*, csXyz const*);
|
||||
/* 80120634 */ JPABaseEmitter* setEmitterPolyColor(u32*, u16, cBgS_PolyInfo&, cXyz const*, csXyz const*);
|
||||
/* 801206C4 */ JPABaseEmitter* setEmitterColor(u32*, u16, cXyz const*, csXyz const*);
|
||||
@@ -3083,7 +3088,7 @@ public:
|
||||
virtual bool checkCanoeFishingGetRight() const;
|
||||
virtual u8 checkBeeChildDrink() const;
|
||||
virtual void skipPortalObjWarp();
|
||||
virtual bool checkTreasureRupeeReturn(int) const;
|
||||
virtual BOOL checkTreasureRupeeReturn(int) const;
|
||||
virtual void setSumouReady(fopAc_ac_c*);
|
||||
virtual bool checkAcceptDungeonWarpAlink(int);
|
||||
virtual s16 getSumouCounter() const;
|
||||
@@ -3180,6 +3185,7 @@ public:
|
||||
bool checkBoomerangCatchAnime() const { return checkUpperAnime(0x52); }
|
||||
BOOL checkCopyRodReadyAnime() const { return mEquipItem == COPY_ROD && checkUpperAnime(0x54); }
|
||||
BOOL checkCanoeFishingWaitAnime() const { return checkUpperAnime(0x5D) || checkUpperAnime(0x260); }
|
||||
BOOL checkCopyRodControllAnime() const { return checkUpperAnime(0x202); }
|
||||
|
||||
s16 checkWolfEyeUp() const { return mWolfEyeUp; }
|
||||
void onModeFlg(u32 flag) { mModeFlg |= flag; }
|
||||
@@ -3206,6 +3212,13 @@ public:
|
||||
void setFaceBasicBck(u16 param_0) { setFaceBck(param_0, 0, 0xFFFF); }
|
||||
void setFaceBasicBtp(u16 param_0) { setFaceBtp(param_0, 0, 0xFFFF); }
|
||||
void setFaceBasicBtk(u16 param_0) { setFaceBtk(param_0, 0, 0xFFFF); }
|
||||
void setFaceDemoBck(u16 param_0) { setFaceBck(param_0, 0, 0); }
|
||||
void setFaceDemoBtp(u16 param_0) { setFaceBtp(param_0, 0, 0); }
|
||||
void setFaceDemoBtk(u16 param_0) { setFaceBtk(param_0, 0, 0); }
|
||||
|
||||
void setGrabStatus(u8 i_status, u8 param_1) { setWallGrabStatus(i_status, param_1); }
|
||||
void setChainGrabStatus(u8 i_status) { setGrabStatus(i_status, 2); }
|
||||
|
||||
void cancelFmChainGrabFromOut() {
|
||||
field_0x2fa3 = 0;
|
||||
field_0x2844.clearData();
|
||||
@@ -3280,6 +3293,8 @@ public:
|
||||
bool checkGrabGlide() { return checkGrabRooster(); }
|
||||
|
||||
bool checkCopyRodRevive() const { return mProcID == PROC_COPY_ROD_REVIVE; }
|
||||
bool checkHorseGetOffMode() const { return mProcID == PROC_HORSE_GETOFF; }
|
||||
bool checkHorseRideOn() const { return mProcID == PROC_HORSE_RIDE; }
|
||||
|
||||
BOOL i_checkRideOn() const { return mRideStatus != 0; }
|
||||
|
||||
@@ -3346,7 +3361,13 @@ public:
|
||||
static u8 const m_handLeftInSidePos[12];
|
||||
static u8 const m_handRightInSidePos[12];
|
||||
static u8 m_procInitTable[5632];
|
||||
|
||||
#ifdef NONMATCHING
|
||||
static daAlink_procFunc m_demoInitTable[];
|
||||
#else
|
||||
static u8 m_demoInitTable[1140];
|
||||
#endif
|
||||
|
||||
static u8 m_fEffParamProc[72];
|
||||
|
||||
private:
|
||||
@@ -3375,7 +3396,7 @@ private:
|
||||
/* 0x0068C */ J3DAnmTextureSRTKey* field_0x068c;
|
||||
/* 0x00690 */ mDoExt_bckAnm* mpDemoFCTmpBck;
|
||||
/* 0x00694 */ J3DDeformData* mpDemoFCTmpBls;
|
||||
/* 0x00698 */ void* field_0x0698;
|
||||
/* 0x00698 */ J3DAnmCluster* field_0x0698;
|
||||
/* 0x0069C */ mDoExt_blkAnm* field_0x069c;
|
||||
/* 0x006A0 */ J3DModel* mpDemoHLTmpModel;
|
||||
/* 0x006A4 */ mDoExt_bckAnm* mpDemoHLTmpBck;
|
||||
@@ -3399,7 +3420,7 @@ private:
|
||||
/* 0x006EC */ J3DShape* field_0x06ec;
|
||||
/* 0x006F0 */ J3DShape* field_0x06f0;
|
||||
/* 0x006F4 */ J3DAnmTevRegKey* field_0x06f4;
|
||||
/* 0x006F8 */ J3DAnmBase* field_0x06f8;
|
||||
/* 0x006F8 */ J3DAnmTevRegKey* field_0x06f8;
|
||||
/* 0x006FC */ J3DModel* field_0x06fc; // related to human link
|
||||
/* 0x00700 */ J3DModel* field_0x0700;
|
||||
/* 0x00704 */ J3DAnmBase* field_0x0704;
|
||||
@@ -3510,7 +3531,7 @@ private:
|
||||
/* 0x0285C */ daPy_actorKeep_c field_0x285c;
|
||||
/* 0x02864 */ dMsgFlow_c mMsgFlow;
|
||||
/* 0x028B0 */ int field_0x28b0[0x10];
|
||||
/* 0x028F0 */ u32 mMsgClassID;
|
||||
/* 0x028F0 */ unsigned int mMsgClassID;
|
||||
/* 0x028F4 */ int mAtnActorID;
|
||||
/* 0x028F8 */ int field_0x28f8;
|
||||
/* 0x028FC */ int field_0x28fc;
|
||||
@@ -3818,8 +3839,7 @@ private:
|
||||
/* 0x03220 */ u32 field_0x3220;
|
||||
/* 0x03224 */ u32 field_0x3224;
|
||||
/* 0x03228 */ u32 field_0x3228[2][3];
|
||||
/* 0x03240 */ u32 field_0x3240;
|
||||
/* 0x03244 */ u8 field_0x3244[20];
|
||||
/* 0x03240 */ u32 field_0x3240[6];
|
||||
/* 0x03258 */ u32 field_0x3258;
|
||||
/* 0x0325C */ u32 field_0x325c;
|
||||
/* 0x03260 */ u32 field_0x3260[2];
|
||||
|
||||
@@ -140,6 +140,11 @@ class daBoomerang_c;
|
||||
|
||||
class daPy_demo_c {
|
||||
public:
|
||||
enum {
|
||||
DEMO_LAST_e = 0x5F,
|
||||
DEMO_NEW_ANM0_e = 0x200,
|
||||
};
|
||||
|
||||
void setSpecialDemoType();
|
||||
|
||||
void setDemoType(u16 pType) { mDemoType = pType; }
|
||||
@@ -147,6 +152,7 @@ public:
|
||||
void setDemoMode(u32 mode) { mDemoMode = mode; }
|
||||
u32 getDemoMode() const { return mDemoMode; }
|
||||
int getParam1() const { return mParam1; }
|
||||
s16 getParam2() const { return mParam2; }
|
||||
void setOriginalDemoType() { setDemoType(3); }
|
||||
void i_setSpecialDemoType() { setDemoType(5); }
|
||||
void setSystemDemoType() { setDemoType(2); }
|
||||
@@ -159,6 +165,12 @@ public:
|
||||
void setParam1(int value) { mParam1 = value;}
|
||||
void setParam2(int value) { mParam2 = value;}
|
||||
void setPos0(const cXyz* pos) { mDemoPos0 = *pos;}
|
||||
void setToolDemoType() { setDemoType(1); }
|
||||
s16 getTimer() const { return mTimer; }
|
||||
void decTimer() { mTimer--; }
|
||||
void setTimer(s16 i_timer) { mTimer = i_timer; }
|
||||
cXyz* getPos0() { return &mDemoPos0; }
|
||||
void resetDemoType() { setDemoType(0); }
|
||||
|
||||
private:
|
||||
/* 0x00 */ u16 mDemoType;
|
||||
@@ -215,6 +227,7 @@ public:
|
||||
FLG0_UNK_10000000 = 0x10000000,
|
||||
FLG0_UNK_1000000 = 0x1000000,
|
||||
FLG0_UNDERWATER = 0x800000,
|
||||
FLG0_UNK_200000 = 0x200000,
|
||||
FLG0_UNK_100000 = 0x100000,
|
||||
FLG0_UNK_80000 = 0x80000,
|
||||
FLG0_UNK_40000 = 0x40000,
|
||||
@@ -224,6 +237,7 @@ public:
|
||||
FLG0_UNK_2000 = 0x2000,
|
||||
FLG0_MAGNE_BOOTS_ON = 0x1000,
|
||||
FLG0_PUSH_PULL_KEEP = 0x800,
|
||||
FLG0_UNK_400 = 0x400,
|
||||
FLG0_UNK_100 = 0x100,
|
||||
FLG0_UNK_80 = 0x80,
|
||||
FLG0_UNK_40 = 0x40,
|
||||
@@ -235,6 +249,7 @@ public:
|
||||
|
||||
FLG0_HVY_STATE = FLG0_UNK_40000000 | FLG0_EQUIP_HVY_BOOTS | FLG0_UNK_20000,
|
||||
FLG0_UNK_14000 = 0x14000,
|
||||
FLG0_UNK_10400 = 0x10400,
|
||||
FLG0_UNK_18 = FLG0_UNK_10 | FLG0_UNK_8,
|
||||
};
|
||||
|
||||
@@ -251,6 +266,7 @@ public:
|
||||
FLG1_UNK_2000 = 0x2000,
|
||||
FLG1_UNK_1000 = 0x1000,
|
||||
FLG1_UNK_800 = 0x800,
|
||||
FLG1_UNK_200 = 0x200,
|
||||
FLG1_UNK_80 = 0x80,
|
||||
FLG1_UNK_40 = 0x40,
|
||||
FLG1_UNK_20 = 0x20,
|
||||
@@ -346,6 +362,7 @@ public:
|
||||
ERFLG1_UNK_20000000 = 0x20000000,
|
||||
ERFLG1_UNK_10000000 = 0x10000000,
|
||||
ERFLG1_UNK_4000000 = 0x4000000,
|
||||
ERFLG1_UNK_100000 = 0x100000,
|
||||
ERFLG1_UNK_40000 = 0x40000,
|
||||
ERFLG1_UNK_2000 = 0x2000,
|
||||
ERFLG1_UNK_800 = 0x800,
|
||||
@@ -371,6 +388,7 @@ public:
|
||||
enum daPy_RFLG0 {
|
||||
RFLG0_UNK_8000000 = 0x8000000,
|
||||
RFLG0_UNK_4000000 = 0x4000000,
|
||||
RFLG0_UNK_20000 = 0x20000,
|
||||
RFLG0_UNK_4000 = 0x4000,
|
||||
RFLG0_FRONT_ROLL_CRASH = 0x2000,
|
||||
RFLG0_ENEMY_ATTN_LOCK = 0x1000,
|
||||
@@ -380,10 +398,12 @@ public:
|
||||
RFLG0_UNK_80 = 0x80,
|
||||
RFLG0_UNK_40 = 0x40,
|
||||
RFLG0_UNK_10 = 0x10,
|
||||
RFLG0_UNK_8 = 0x8,
|
||||
RFLG0_UNK_2 = 0x2,
|
||||
};
|
||||
|
||||
enum daPy_RFLG1 {
|
||||
RFLG1_UNK_100 = 0x100,
|
||||
RFLG1_UNK_30 = 0x30,
|
||||
RFLG1_UNK_2 = 0x2,
|
||||
RFLG1_WOLF_ATTACK_REVERSE = 0x1,
|
||||
@@ -654,7 +674,7 @@ public:
|
||||
virtual bool checkCanoeFishingGetRight() const;
|
||||
virtual u8 checkBeeChildDrink() const;
|
||||
virtual void skipPortalObjWarp();
|
||||
virtual bool checkTreasureRupeeReturn(int) const;
|
||||
virtual BOOL checkTreasureRupeeReturn(int) const;
|
||||
virtual void setSumouReady(fopAc_ac_c*);
|
||||
virtual bool checkAcceptDungeonWarpAlink(int);
|
||||
virtual s16 getSumouCounter() const;
|
||||
|
||||
@@ -161,6 +161,8 @@ public:
|
||||
void SetWallHit() { m_flags |= WALL_HIT; }
|
||||
void ClrWallNone() { m_flags &= ~WALL_NONE; }
|
||||
void OnLineCheckNone() { m_flags |= LINE_CHECK_NONE; }
|
||||
void OffLineCheckNone() { m_flags &= ~LINE_CHECK_NONE; }
|
||||
void SetWallNone() { m_flags |= WALL_NONE; }
|
||||
cM3dGCyl* GetWallBmdCylP() { return &m_wall_cyl; }
|
||||
|
||||
// inline dupe
|
||||
|
||||
@@ -3002,6 +3002,14 @@ inline void dComIfGp_evmng_cutEnd(int param_0) {
|
||||
dComIfGp_getPEvtManager()->cutEnd(param_0);
|
||||
}
|
||||
|
||||
inline cXyz* dComIfGp_evmng_getGoal() {
|
||||
return dComIfGp_getPEvtManager()->getGoal();
|
||||
}
|
||||
|
||||
inline BOOL i_dComIfGp_evmng_startCheck(char const* i_event) {
|
||||
return g_dComIfG_gameInfo.play.getEvtManager().startCheckOld(i_event);
|
||||
}
|
||||
|
||||
inline BOOL dComIfGp_evmng_endCheck(const char* event) {
|
||||
return g_dComIfG_gameInfo.play.getEvtManager().endCheckOld(event);
|
||||
}
|
||||
@@ -3022,6 +3030,10 @@ inline void dComIfGp_event_setItemPartnerId(unsigned int id) {
|
||||
g_dComIfG_gameInfo.play.getEvent().setPtI_Id(id);
|
||||
}
|
||||
|
||||
inline u8 dComIfGp_event_getGtItm() {
|
||||
return g_dComIfG_gameInfo.play.getEvent().getGtItm();
|
||||
}
|
||||
|
||||
inline int dComIfGp_evmng_startDemo(int param_0) {
|
||||
return dComIfGp_getPEvtManager()->setStartDemo(param_0);
|
||||
}
|
||||
|
||||
+2
-1
@@ -56,7 +56,7 @@ public:
|
||||
/* 80038128 */ fopAc_ac_c* getActor();
|
||||
/* 8003815C */ void setActor(fopAc_ac_c*);
|
||||
/* 8003819C */ f32 getPrm_Morf();
|
||||
/* 80038338 */ void getDemoIDData(int*, int*, int*, u16*, u8*);
|
||||
/* 80038338 */ int getDemoIDData(int*, int*, int*, u16*, u8*);
|
||||
|
||||
/* 80038098 */ virtual ~dDemo_actor_c();
|
||||
/* 800387EC */ virtual void JSGSetData(u32, void const*, u32);
|
||||
@@ -280,6 +280,7 @@ public:
|
||||
static void onStatus(u32 status) { m_status |= status; }
|
||||
static void offStatus(u32 status) { m_status &= ~status; }
|
||||
static void setBranchData(const u8* p_data) { m_branchData = p_data; }
|
||||
static s16 getBranchId() { return m_branchId; }
|
||||
|
||||
static s16 m_branchId;
|
||||
static dDemo_system_c* m_system;
|
||||
|
||||
@@ -80,6 +80,7 @@ public:
|
||||
/* 8019B864 */ int _delete();
|
||||
|
||||
s32 deleteCheck() { return mProc == 8; }
|
||||
void animeStart() { mIsDemoSave = true; }
|
||||
|
||||
/* 0x0FC */ dMenu_save_c* dMs_c;
|
||||
/* 0x100 */ dDlst_GameOverScrnDraw_c* dgo_screen_c;
|
||||
@@ -109,4 +110,19 @@ inline s32 d_GameOver_CheckDelete(unsigned int& id) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
inline s32 d_GameOver_animeStart(unsigned int& id) {
|
||||
if (id != UINT32_MAX) {
|
||||
dGameover_c* gameover = (dGameover_c*)fopMsgM_SearchByID(id);
|
||||
|
||||
if (gameover != NULL) {
|
||||
gameover->animeStart();
|
||||
return 1;
|
||||
} else {
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
#endif /* D_D_GAMEOVER_H */
|
||||
|
||||
@@ -161,6 +161,7 @@ public:
|
||||
fopAc_ac_c* getPtT() { return convPId(mPtT); }
|
||||
bool isChangeOK(void* param_0) { return mChangeOK == param_0; }
|
||||
u8 getPreItemNo() { return mPreItemNo; }
|
||||
u8 getGtItm() { return mGtItm; }
|
||||
|
||||
public:
|
||||
/* 0x000 */ u8 field_0x0[4];
|
||||
|
||||
@@ -50,6 +50,7 @@ static void dKy_twilight_camelight_set();
|
||||
u8 dKy_shadow_mode_check(u8 mode);
|
||||
void dKy_shadow_mode_set(u8 mode);
|
||||
void dKy_shadow_mode_reset(u8 mode);
|
||||
void dKy_Itemgetcol_chg_on();
|
||||
|
||||
struct LIGHT_INFLUENCE {
|
||||
/* 0x00 */ cXyz mPosition;
|
||||
|
||||
@@ -30,7 +30,7 @@ class J2DPicture;
|
||||
class dMeterMap_c;
|
||||
|
||||
enum dMeter2Info_warpStatus {
|
||||
/* 0x3 */ WARP_DECIDED = 3,
|
||||
/* 0x3 */ WARP_STATUS_DECIDED_e = 3,
|
||||
};
|
||||
|
||||
class dMeter2Info_c {
|
||||
|
||||
@@ -30,6 +30,7 @@ public:
|
||||
bool checkJumpRideFlg() { return mJumpRideFlg; }
|
||||
void incShapeOffsetY(f32 offset) { mShapeOffsetY += offset; }
|
||||
void incShapeAngleZ(s16 incZ) { shape_angle.z += incZ; }
|
||||
void onRodID(unsigned int i_rodID) { mRodID = i_rodID; }
|
||||
|
||||
/* 0x0568 */ request_of_phase_process_class mPhaseReq;
|
||||
/* 0x0570 */ J3DModel* mpModel;
|
||||
|
||||
@@ -1,6 +1,98 @@
|
||||
#ifndef D_A_COW_H
|
||||
#define D_A_COW_H
|
||||
|
||||
#include "dolphin/types.h"
|
||||
#include "f_op/f_op_actor_mng.h"
|
||||
|
||||
class daCow_c : public fopAc_ac_c {
|
||||
public:
|
||||
/* 806585CC */ void calcRunAnime(int);
|
||||
/* 80658730 */ void setBck(int, u8, f32, f32);
|
||||
/* 806587D4 */ void checkBck(int);
|
||||
/* 80658830 */ void setEffect();
|
||||
/* 80658AA4 */ void isChaseCowGame();
|
||||
/* 80658B10 */ void setCarryStatus();
|
||||
/* 80658C18 */ void setActetcStatus();
|
||||
/* 80658C78 */ void checkNadeNadeFinish();
|
||||
/* 80658CA4 */ void checkNadeNade();
|
||||
/* 80658CD0 */ void setSeSnort();
|
||||
/* 80658D3C */ void setRushVibration(int);
|
||||
/* 80658DB8 */ void checkThrow();
|
||||
/* 80658E98 */ void setBodyAngle(s16);
|
||||
/* 80658F94 */ void setBodyAngle2(s16);
|
||||
/* 806590E8 */ void checkProcess(void (daCow_c::*)());
|
||||
/* 80659114 */ void setProcess(void (daCow_c::*)(), int);
|
||||
/* 806591BC */ void damage_check();
|
||||
/* 8065945C */ void setEnterCow20();
|
||||
/* 80659540 */ void setEnterCow10();
|
||||
/* 80659630 */ void setGroundAngle();
|
||||
/* 80659970 */ void checkRun();
|
||||
/* 806599C0 */ void checkNearCowRun();
|
||||
/* 80659ADC */ void action_wait();
|
||||
/* 8065A0E8 */ void action_eat();
|
||||
/* 8065A594 */ void action_moo();
|
||||
/* 8065A8A4 */ void action_shake();
|
||||
/* 8065ACC8 */ void checkNearWolf();
|
||||
/* 8065AD2C */ void checkPlayerWait();
|
||||
/* 8065ADB0 */ void checkPlayerSurprise();
|
||||
/* 8065AE88 */ void checkPlayerPos();
|
||||
/* 8065B034 */ void checkBeforeBg();
|
||||
/* 8065B760 */ void checkOutOfGate(cXyz);
|
||||
/* 8065B8A8 */ void getCowshedAngle();
|
||||
/* 8065B8D8 */ void getCowshedDist();
|
||||
/* 8065BA30 */ void checkCowIn(f32, f32);
|
||||
/* 8065BB34 */ void checkCowInOwn(int);
|
||||
/* 8065BC68 */ void action_run();
|
||||
/* 8065C32C */ void checkCurringPen();
|
||||
/* 8065C508 */ void setCowInCage();
|
||||
/* 8065C680 */ void setEnterCount();
|
||||
/* 8065C70C */ void action_enter();
|
||||
/* 8065CFBC */ void isAngry();
|
||||
/* 8065D03C */ void isGuardFad();
|
||||
/* 8065D0B8 */ void setAngryHit();
|
||||
/* 8065D17C */ void checkBeforeBgAngry(s16);
|
||||
/* 8065D230 */ void setRedTev();
|
||||
/* 8065D29C */ void setAngryTurn();
|
||||
/* 8065D2F0 */ void action_angry();
|
||||
/* 8065DC08 */ void calcCatchPos(f32, int);
|
||||
/* 8065DE70 */ void executeCrazyWait();
|
||||
/* 8065DF40 */ void executeCrazyDash();
|
||||
/* 8065E6BC */ void initCrazyBeforeCatch(int);
|
||||
/* 8065E6E8 */ void executeCrazyBeforeCatch();
|
||||
/* 8065E7D0 */ void initCrazyCatch(int);
|
||||
/* 8065E888 */ void executeCrazyCatch();
|
||||
/* 8065EAF4 */ void initCrazyThrow(int);
|
||||
/* 8065EBF0 */ void executeCrazyThrow();
|
||||
/* 8065F088 */ void initCrazyAttack(int);
|
||||
/* 8065F144 */ void executeCrazyAttack();
|
||||
/* 8065F308 */ void initCrazyAway(int);
|
||||
/* 8065F37C */ void executeCrazyAway();
|
||||
/* 8065F6E0 */ void executeCrazyEnd();
|
||||
/* 8065F744 */ void initCrazyBack(int);
|
||||
/* 8065F7DC */ void executeCrazyBack();
|
||||
/* 8065FE50 */ void action_crazy();
|
||||
/* 8066010C */ void executeCrazyBack2();
|
||||
/* 80660544 */ void action_thrown();
|
||||
/* 806607B8 */ void checkWolfBusters();
|
||||
/* 806608F0 */ void action_wolf();
|
||||
/* 806612DC */ void action_damage();
|
||||
/* 806613EC */ void action();
|
||||
/* 80661580 */ void setMtx();
|
||||
/* 806615EC */ void setAttnPos();
|
||||
/* 80661720 */ void setCollisions();
|
||||
/* 80661940 */ void Execute();
|
||||
/* 80661AF0 */ void CreateHeap();
|
||||
/* 80661D24 */ void createHeapCallBack(fopAc_ac_c*);
|
||||
/* 80661D44 */ void initialize();
|
||||
/* 80662228 */ void create();
|
||||
/* 80662710 */ void ctrlJoint(J3DJoint*, J3DModel*);
|
||||
/* 80662920 */ void ctrlJointCallBack(J3DJoint*, int);
|
||||
/* 8066296C */ void Draw();
|
||||
/* 80662BE4 */ void Delete();
|
||||
/* 80662D70 */ void getShapeAngle();
|
||||
|
||||
void setNaderu() { field_0x568 |= 0x80; }
|
||||
|
||||
/* 0x568 */ u16 field_0x568;
|
||||
};
|
||||
|
||||
#endif /* D_A_COW_H */
|
||||
|
||||
@@ -195,6 +195,7 @@ public:
|
||||
bool checkLand() const { return field_0x16b4 == 5 && field_0x171a == 0; }
|
||||
bool checkGetOff() const { return fabsf(speedF) < 3.0f; }
|
||||
bool checkEnemySearch() { return checkResetStateFlg0(ENEMY_SEARCH); }
|
||||
bool checkOriginalDemo() const { return field_0x16b8 == 3; }
|
||||
|
||||
void onTagJump(f32 param_0, f32 param_1, f32 param_2) {
|
||||
field_0x1768 = param_0;
|
||||
|
||||
@@ -35,6 +35,7 @@ public:
|
||||
};
|
||||
|
||||
enum daMidna_FLG1 {
|
||||
FLG1_UNK_100 = 0x100,
|
||||
FLG1_FORCE_NORMAL_COL = 8,
|
||||
FLG1_FORCE_TIRED_COL = 4,
|
||||
FLG1_SHADOW_MODEL_DRAW_DEMO_FORCE = 2,
|
||||
@@ -96,6 +97,8 @@ public:
|
||||
void onEndResetStateFlg0(daMidna_ERFLG0 pFlg) { mEndResetStateFlg0 |= pFlg; }
|
||||
void onStateFlg0(daMidna_FLG0 i_flag) { mStateFlg0 |= i_flag; }
|
||||
void offStateFlg0(daMidna_FLG0 i_flag) { mStateFlg0 &= ~i_flag; }
|
||||
void onStateFlg1(daMidna_FLG1 i_flag) { mStateFlg1 |= i_flag; }
|
||||
void offStateFlg1(daMidna_FLG1 i_flag) { mStateFlg1 &= ~i_flag; }
|
||||
u32 checkStateFlg0(daMidna_FLG0 flag) const { return mStateFlg0 & flag; }
|
||||
u32 checkStateFlg1(daMidna_FLG1 flag) const { return mStateFlg1 & flag; }
|
||||
void setFaceNum(int num) { mFaceNum = num; }
|
||||
@@ -130,6 +133,10 @@ public:
|
||||
onStateFlg0(FLG0_UNK_80000000);
|
||||
}
|
||||
|
||||
void onSideWarp() {
|
||||
onStateFlg1(FLG1_UNK_100);
|
||||
}
|
||||
|
||||
bool checkReturnAnime() const {
|
||||
return field_0x5e4[0].getIdx() == 0x1CA;
|
||||
}
|
||||
|
||||
@@ -116,7 +116,8 @@ public:
|
||||
/* 80495AF0 */ int Draw();
|
||||
/* 80495C9C */ int Delete();
|
||||
/* 804961B0 */ int Create();
|
||||
/* 804961B8 */ bool checkSmallTbox();
|
||||
|
||||
/* 804961B8 */ virtual BOOL checkSmallTbox();
|
||||
|
||||
u32 getEvent() { return fopAcM_GetParam(this) >> 24; }
|
||||
int getShapeType() { return (fopAcM_GetParam(this) >> 20) & 0xf; }
|
||||
|
||||
@@ -1,6 +1,33 @@
|
||||
#ifndef D_A_KYTAG04_H
|
||||
#define D_A_KYTAG04_H
|
||||
|
||||
#include "dolphin/types.h"
|
||||
#include "f_op/f_op_actor_mng.h"
|
||||
|
||||
class kytag04_class : public fopAc_ac_c {
|
||||
public:
|
||||
/* 0x568 */ J3DModel* mpModel;
|
||||
/* 0x56C */ mDoExt_btkAnm mBtk;
|
||||
/* 0x584 */ mDoExt_brkAnm mBrk;
|
||||
/* 0x59C */ request_of_phase_process_class mPhaseReq;
|
||||
/* 0x5A4 */ JPABaseEmitter* field_0x5a4;
|
||||
/* 0x5A8 */ JPABaseEmitter* field_0x5a8;
|
||||
/* 0x5AC */ JPABaseEmitter* field_0x5ac;
|
||||
/* 0x5B0 */ int mStageNo;
|
||||
/* 0x5B4 */ u8 field_0x5b4;
|
||||
/* 0x5B5 */ u8 field_0x5b5;
|
||||
/* 0x5B6 */ u8 field_0x5b6;
|
||||
/* 0x5B7 */ u8 field_0x5b7;
|
||||
/* 0x5B8 */ u8 field_0x5b8;
|
||||
/* 0x5B9 */ u8 field_0x5b9;
|
||||
/* 0x5BC */ u32 mExitID;
|
||||
/* 0x5C0 */ int field_0x5c0;
|
||||
/* 0x5C4 */ u8 field_0x5c4;
|
||||
/* 0x5C5 */ u8 field_0x5c5;
|
||||
/* 0x5C6 */ u8 mNeedDropNum;
|
||||
/* 0x5C8 */ f32 field_0x5c8;
|
||||
/* 0x5CC */ int field_0x5cc;
|
||||
/* 0x5D0 */ u8 field_0x5d0;
|
||||
/* 0x5D1 */ u8 field_0x5d1;
|
||||
};
|
||||
|
||||
#endif /* D_A_KYTAG04_H */
|
||||
|
||||
@@ -1,6 +1,19 @@
|
||||
#ifndef D_A_TAG_LV6GATE_H
|
||||
#define D_A_TAG_LV6GATE_H
|
||||
|
||||
#include "dolphin/types.h"
|
||||
#include "f_op/f_op_actor_mng.h"
|
||||
|
||||
class daTagLv6Gate_c : public fopAc_ac_c {
|
||||
public:
|
||||
/* 80D4F8B8 */ void createHeap();
|
||||
/* 80D4FBD8 */ void create();
|
||||
/* 80D4FEDC */ void execute();
|
||||
/* 80D506AC */ void draw();
|
||||
|
||||
void stabMasterSword() { field_0x76a = 1; }
|
||||
|
||||
/* 0x568 */ u8 field_0x568[0x76A - 0x568];
|
||||
/* 0x76A */ u8 field_0x76a;
|
||||
};
|
||||
|
||||
#endif /* D_A_TAG_LV6GATE_H */
|
||||
|
||||
@@ -1,6 +1,34 @@
|
||||
#ifndef D_A_TAG_KMSG_H
|
||||
#define D_A_TAG_KMSG_H
|
||||
|
||||
#include "dolphin/types.h"
|
||||
#include "f_op/f_op_actor_mng.h"
|
||||
|
||||
struct daTag_KMsg_c : public fopAc_ac_c {
|
||||
public:
|
||||
/* 8048DE78 */ void create();
|
||||
/* 8048DFDC */ void Delete();
|
||||
/* 8048E010 */ void Execute();
|
||||
/* 8048E8B8 */ bool Draw();
|
||||
/* 8048E8C0 */ void isDelete();
|
||||
/* 8048EA30 */ ~daTag_KMsg_c();
|
||||
|
||||
void stabMasterSword() { field_0x5c2 = 1; }
|
||||
|
||||
int getType() {
|
||||
int param = fopAcM_GetParam(this) >> 0x18;
|
||||
int type;
|
||||
|
||||
if (param == 0xFF) {
|
||||
type = 0;
|
||||
} else {
|
||||
type = param;
|
||||
}
|
||||
|
||||
return type;
|
||||
}
|
||||
|
||||
/* 0x568 */ u8 field_0x568[0x5C2 - 0x568];
|
||||
/* 0x5C2 */ u8 field_0x5c2;
|
||||
};
|
||||
|
||||
#endif /* D_A_TAG_KMSG_H */
|
||||
|
||||
@@ -10,6 +10,8 @@ public:
|
||||
/* 80D5C01C */ ~daTagMwait_c();
|
||||
/* 80D5C0A8 */ int execute();
|
||||
|
||||
bool checkEndMessage() {return i_fopAcM_isSwitch(this, mEnterSw); }
|
||||
|
||||
/* 0x568 */ u8 mOnSw;
|
||||
/* 0x569 */ u8 mEnterSw;
|
||||
/* 0x56A */ bool mInitMsgFlow;
|
||||
|
||||
@@ -6,12 +6,21 @@
|
||||
|
||||
struct dPath;
|
||||
|
||||
struct daTagWljump_c : fopAc_ac_c {
|
||||
class daTagWljump_c : public fopAc_ac_c {
|
||||
public:
|
||||
/* 80D64EB8 */ int create();
|
||||
/* 80D65004 */ ~daTagWljump_c();
|
||||
/* 80D65090 */ int execute();
|
||||
/* 80D6589C */ int draw();
|
||||
|
||||
const cXyz* getLockPos() const {
|
||||
if (field_0x568 < 0) {
|
||||
return NULL;
|
||||
} else {
|
||||
return &mEyePos;
|
||||
}
|
||||
}
|
||||
|
||||
/* 0x568 */ s8 field_0x568;
|
||||
/* 0x568 */ s8 field_0x569;
|
||||
/* 0x568 */ u8 field_0x56a;
|
||||
|
||||
Reference in New Issue
Block a user