mirror of
https://github.com/zeldaret/tp
synced 2026-08-10 03:06:00 -04:00
npcT / JUTGamePad work
This commit is contained in:
+46
-26
@@ -7,21 +7,30 @@
|
||||
|
||||
class daNpcT_MotionSeqMngr_c {
|
||||
public:
|
||||
struct sequenceStepData_c {};
|
||||
class sequenceStepData_c {
|
||||
public:
|
||||
s16 field_0x0;
|
||||
s8 field_0x2;
|
||||
s8 field_0x3;
|
||||
}; // Size: 0x4?
|
||||
|
||||
/* 80145898 */ void initialize();
|
||||
/* 801458C0 */ void play(u16, int*, f32*);
|
||||
/* 80145A24 */ void checkEndSequence();
|
||||
/* 801458C0 */ int play(u16, int*, f32*);
|
||||
/* 80145A24 */ s32 checkEndSequence();
|
||||
|
||||
bool checkEntryNewMotion() {
|
||||
return mStepNo == 0 && field_0x14 == -1;
|
||||
}
|
||||
|
||||
private:
|
||||
/* 0x00 */ sequenceStepData_c* field_0x0;
|
||||
/* 0x00 */ sequenceStepData_c* mpSeqData;
|
||||
/* 0x04 */ int field_0x4;
|
||||
/* 0x08 */ int mNo;
|
||||
/* 0x0C */ int mOffset;
|
||||
/* 0x10 */ int mStepNo;
|
||||
/* 0x14 */ int field_0x14;
|
||||
/* 0x18 */ f32 field_0x18;
|
||||
/* 0x1C */ u8 field_0x1c;
|
||||
/* 0x1C */ bool mEndSequence;
|
||||
|
||||
public:
|
||||
/* 8014D0C0 */ virtual ~daNpcT_MotionSeqMngr_c();
|
||||
@@ -35,14 +44,14 @@ public:
|
||||
/* 801456D4 */ void initialize();
|
||||
/* 801456E0 */ void entry(fopAc_ac_c*);
|
||||
/* 801456FC */ void remove();
|
||||
/* 80145708 */ void getActorP();
|
||||
/* 80145708 */ fopAc_ac_c* getActorP();
|
||||
|
||||
/* 8014D108 */ virtual ~daNpcT_ActorMngr_c();
|
||||
};
|
||||
|
||||
class daNpcT_JntAnm_c {
|
||||
private:
|
||||
/* 0x000 */ daNpcT_ActorMngr_c field_0x0;
|
||||
/* 0x000 */ daNpcT_ActorMngr_c mActrMngr;
|
||||
/* 0x008 */ cXyz field_0x8;
|
||||
/* 0x014 */ cXyz field_0x14;
|
||||
/* 0x020 */ cXyz* field_0x20;
|
||||
@@ -77,6 +86,8 @@ public:
|
||||
/* 80147C38 */ void calcJntRad(f32, f32, f32);
|
||||
|
||||
/* 8014D150 */ virtual ~daNpcT_JntAnm_c();
|
||||
|
||||
void clrDirectFlag() { mDirectFlag = 0; }
|
||||
};
|
||||
|
||||
class daNpcT_DmgStagger_c {
|
||||
@@ -98,7 +109,9 @@ struct daNpcT_faceMotionAnmData_c {};
|
||||
|
||||
struct daNpcT_pntData_c {};
|
||||
|
||||
struct daNpcT_motionAnmData_c {};
|
||||
struct daNpcT_motionAnmData_c {
|
||||
u8 data[8];
|
||||
};
|
||||
|
||||
class mDoExt_McaMorfSO;
|
||||
|
||||
@@ -197,28 +210,31 @@ public:
|
||||
/* 0xE32 */ u8 field_0xe32;
|
||||
/* 0xE33 */ u8 field_0xe33;
|
||||
/* 0xE34 */ u8 field_0xe34;
|
||||
/* 0xE35 */ u8 field_0xe35[7];
|
||||
/* 0xE35 */ u8 field_0xe35;
|
||||
/* 0xE36 */ u8 field_0xe36;
|
||||
/* 0xE37 */ u8 field_0xe37;
|
||||
/* 0xE38 */ u8 field_0xe38;
|
||||
/* 0xE3C vtable */
|
||||
|
||||
public:
|
||||
/* 80147FA4 */ void tgHitCallBack(fopAc_ac_c*, dCcD_GObjInf*, fopAc_ac_c*, dCcD_GObjInf*);
|
||||
/* 80147FD4 */ void srchActor(void*, void*);
|
||||
/* 80148058 */ void getTrnsfrmAnmP(char const*, int);
|
||||
/* 80148094 */ void getTrnsfrmKeyAnmP(char const*, int);
|
||||
/* 801480D0 */ void getTexPtrnAnmP(char const*, int);
|
||||
/* 8014810C */ void getTexSRTKeyAnmP(char const*, int);
|
||||
/* 80148148 */ void getTevRegKeyAnmP(char const*, int);
|
||||
/* 80148184 */ void getColorAnmP(char const*, int);
|
||||
/* 80147FD4 */ static int srchActor(void*, void*);
|
||||
/* 80148058 */ J3DAnmTransform* getTrnsfrmAnmP(char const*, int);
|
||||
/* 80148094 */ J3DAnmTransformKey* getTrnsfrmKeyAnmP(char const*, int);
|
||||
/* 801480D0 */ J3DAnmTexPattern* getTexPtrnAnmP(char const*, int);
|
||||
/* 8014810C */ J3DAnmTextureSRTKey* getTexSRTKeyAnmP(char const*, int);
|
||||
/* 80148148 */ J3DAnmTevRegKey* getTevRegKeyAnmP(char const*, int);
|
||||
/* 80148184 */ J3DAnmColor* getColorAnmP(char const*, int);
|
||||
/* 801481C0 */ void setBckAnm(J3DAnmTransform*, f32, int, int, int, bool);
|
||||
/* 80148204 */ void setMcaMorfAnm(J3DAnmTransformKey*, f32, f32, int, int, int);
|
||||
/* 80148204 */ int setMcaMorfAnm(J3DAnmTransformKey*, f32, f32, int, int, int);
|
||||
/* 801482F8 */ void setBtpAnm(J3DAnmTexPattern*, J3DModelData*, f32, int);
|
||||
/* 80148338 */ void setBtkAnm(J3DAnmTextureSRTKey*, J3DModelData*, f32, int);
|
||||
/* 80148378 */ void setBrkAnm(J3DAnmTevRegKey*, J3DModelData*, f32, int);
|
||||
/* 801483B8 */ void setBpkAnm(J3DAnmColor*, J3DModelData*, f32, int);
|
||||
/* 801483F8 */ void loadRes(s8 const*, char const**);
|
||||
/* 801483F8 */ int loadRes(s8 const*, char const**);
|
||||
/* 801484AC */ void deleteRes(s8 const*, char const**);
|
||||
/* 8014852C */ void execute();
|
||||
/* 8014886C */ void draw(int, int, f32, _GXColorS10*, f32, int, int, int);
|
||||
/* 8014852C */ int execute();
|
||||
/* 8014886C */ int draw(int, int, f32, _GXColorS10*, f32, int, int, int);
|
||||
/* 80148C70 */ void setEnvTevColor();
|
||||
/* 80148CCC */ void setRoomNo();
|
||||
/* 80148D10 */ void checkEndAnm(f32);
|
||||
@@ -233,7 +249,7 @@ public:
|
||||
/* 8014A908 */ void setPos(cXyz);
|
||||
/* 8014AA18 */ void setAngle(s16);
|
||||
/* 8014A99C */ void setAngle(csXyz);
|
||||
/* 8014AA40 */ void hitChk(dCcD_GObjInf*, u32);
|
||||
/* 8014AA40 */ fopAc_ac_c* hitChk(dCcD_GObjInf*, u32);
|
||||
/* 8014AAD0 */ void setDamage(int, int, int);
|
||||
/* 8014ABD0 */ void chkActorInSight(fopAc_ac_c*, f32, s16);
|
||||
/* 8014ACF0 */ void chkPointInArea(cXyz, cXyz, f32, f32, f32, s16);
|
||||
@@ -275,7 +291,7 @@ public:
|
||||
/* 8014CC70 */ virtual bool evtEndProc();
|
||||
/* 8014CC68 */ virtual bool evtCutProc();
|
||||
/* 8014CC64 */ virtual void setAfterTalkMotion();
|
||||
/* 8014997C */ virtual void evtProc();
|
||||
/* 8014997C */ virtual int evtProc();
|
||||
/* 8014CC20 */ virtual void action();
|
||||
/* 8014CC1C */ virtual void beforeMove();
|
||||
/* 8014CC18 */ virtual void afterMoved();
|
||||
@@ -289,7 +305,7 @@ public:
|
||||
/* 8014A0B0 */ virtual void evtOrder();
|
||||
/* 8014CBF4 */ virtual void decTmr();
|
||||
/* 8014A324 */ virtual void clrParam();
|
||||
/* 8014CC30 */ virtual bool drawDbgInfo();
|
||||
/* 8014CC30 */ virtual int drawDbgInfo();
|
||||
/* 8014CC28 */ virtual void drawOtherMdl();
|
||||
/* 8014CC2C */ virtual void drawGhost();
|
||||
/* 8014CCA0 */ virtual bool afterSetFaceMotionAnm(int, int, f32, int);
|
||||
@@ -302,12 +318,16 @@ public:
|
||||
/* 8014CCE8 */ virtual void changeBtk(int*, int*);
|
||||
/* 8014A628 */ virtual void setMotionAnm(int, f32, int);
|
||||
|
||||
bool checkHide() {
|
||||
return !field_0xe25 && (!dComIfGs_wolfeye_effect_check() && field_0xa89);
|
||||
}
|
||||
|
||||
static u8 const mCcDObjData[48];
|
||||
static u8 mCcDCyl[68];
|
||||
static u8 mCcDSph[64];
|
||||
static u8 mFindActorPtrs[200];
|
||||
static u8 mSrchName[2 + 2 /* padding */];
|
||||
static u8 mFindCount[4];
|
||||
static fopAc_ac_c* mFindActorPtrs[50];
|
||||
static s16 mSrchName;
|
||||
static s32 mFindCount;
|
||||
};
|
||||
|
||||
STATIC_ASSERT(sizeof(daNpcT_c) == 0xE40);
|
||||
|
||||
@@ -58,6 +58,8 @@ public:
|
||||
/* 8008523C */ virtual ~dCcD_GStts() {}
|
||||
void ClrTg() { mTg = 0; }
|
||||
void SetAtApid(unsigned int id) { mAtApid = id; }
|
||||
u8 GetRoomId() { return mRoomId; }
|
||||
void SetRoomId(int id) { mRoomId = id; }
|
||||
|
||||
// private:
|
||||
/* 0x04 */ u8 mAt;
|
||||
@@ -213,6 +215,7 @@ public:
|
||||
u8 GetAtSe() { return mGObjAt.GetSe(); }
|
||||
s32 GetAtSpl() { return mGObjAt.GetSpl(); }
|
||||
u8 GetAtMtrl() { return mGObjAt.GetMtrl(); }
|
||||
fopAc_ac_c* GetTgHitAc() { return mGObjTg.GetAc(); }
|
||||
|
||||
static u32 const m_hitSeID[24];
|
||||
|
||||
|
||||
@@ -650,6 +650,7 @@ void* dComIfG_getOldStageRes(char const* resName);
|
||||
void dComIfG_get_timelayer(int* layer);
|
||||
int dComIfG_resDelete(request_of_phase_process_class* i_phase, char const* resName);
|
||||
int dComIfG_changeOpeningScene(scene_class* scene, s16 procName);
|
||||
int dComIfG_resLoad(request_of_phase_process_class* i_phase, char const* arc_name);
|
||||
|
||||
inline void dComIfG_setBrightness(u8 brightness) {
|
||||
g_dComIfG_gameInfo.mFadeBrightness = brightness;
|
||||
@@ -755,6 +756,7 @@ void dComIfGs_offZoneSwitch(int param_0, int param_1);
|
||||
void dComIfGs_offOneZoneSwitch(int param_0, int param_1);
|
||||
s8 dComIfGp_getReverb(int roomNo);
|
||||
void dComIfGs_gameStart();
|
||||
int dComIfGs_wolfeye_effect_check();
|
||||
|
||||
inline void dComIfGs_onDungeonItemMap() {
|
||||
g_dComIfG_gameInfo.info.getMemory().getBit().onDungeonItemMap();
|
||||
|
||||
@@ -14,19 +14,6 @@
|
||||
#include "dolphin/mtx/mtxvec.h"
|
||||
#include "dolphin/types.h"
|
||||
|
||||
struct mDoExt_3DlineMat_c {};
|
||||
|
||||
class mDoExt_3DlineMatSortPacket : public J3DPacket {
|
||||
public:
|
||||
mDoExt_3DlineMatSortPacket();
|
||||
|
||||
virtual void draw();
|
||||
virtual ~mDoExt_3DlineMatSortPacket();
|
||||
|
||||
private:
|
||||
/* 0x10 */ mDoExt_3DlineMat_c* mp3DlineMat;
|
||||
};
|
||||
|
||||
class cM_rnd_c {
|
||||
public:
|
||||
/* 80053CDC */ void init(int, int, int);
|
||||
|
||||
@@ -11,6 +11,8 @@
|
||||
#include "dolphin/types.h"
|
||||
#include "m_Do/m_Do_ext.h"
|
||||
|
||||
class cBgS_PolyInfo;
|
||||
|
||||
void dKankyo_DayProc();
|
||||
void dKy_set_nexttime(f32);
|
||||
void dKy_itudemo_se();
|
||||
@@ -20,6 +22,7 @@ void dKy_FiveSenses_fullthrottle_dark();
|
||||
s32 dKy_daynight_check();
|
||||
void dKy_clear_game_init();
|
||||
void dKy_setLight_init();
|
||||
u8 dKy_pol_sound_get(cBgS_PolyInfo const* param_0);
|
||||
|
||||
struct LIGHT_INFLUENCE {
|
||||
/* 800CFC7C */ ~LIGHT_INFLUENCE();
|
||||
@@ -141,7 +144,7 @@ public:
|
||||
/* 0x358 */ u16 field_0x358;
|
||||
/* 0x35A */ u16 field_0x35a;
|
||||
/* 0x35C */ u16 field_0x35c;
|
||||
/* 0x35E */ u8 field_0x35e[2];
|
||||
/* 0x35E */ u16 field_0x35e;
|
||||
/* 0x360 */ u8 field_0x360;
|
||||
/* 0x361 */ u8 field_0x361;
|
||||
/* 0x362 */ u8 field_0x362;
|
||||
|
||||
Reference in New Issue
Block a user