mirror of
https://github.com/encounter/tp.git
synced 2026-07-11 06:18:46 -07:00
almost all of daAlink_demo done (#1987)
* almost all of alink_demo done * remove asm * decideDoStatus OK
This commit is contained in:
@@ -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