Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

d_a_sail 100% #678

Merged
merged 3 commits into from
Sep 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 24 additions & 13 deletions include/d/actor/d_a_sail.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,23 +15,27 @@ class daSail_packet_c : public J3DPacket {
m1C36 = 0;
m1C3B = 1;
}
void getMtx() {}
void getNrm() {}
void getPos() {}
void getPosSpd() {}
void getStickMtx() {}
void getTexMtx() {}
void setTevStr(dKy_tevstr_c*) {}

Mtx* getMtx() { return &mMtx; }
cXyz* getNrm() { return m0C74 + (0x54 * m1C3A); }
cXyz* getPos() { return m00A4 + (0x54 * m1C3A); }
cXyz* getPosSpd() { return m0884; }
Mtx* getStickMtx() { return &mStickMtx; }
Mtx* getTexMtx() { return &mTexMtx; }
void setTevStr(dKy_tevstr_c* tevStr) { mTevStr = tevStr; }

void setCorrectNrmAngle(s16, f32);
void setNrmMtx();
void setBackNrm();
void setNrmVtx(cXyz*, int, int);
virtual void draw();
virtual ~daSail_packet_c() {}

public:
/* 0x0010 */ u8 m0010[0x00A4 - 0x0010];
/* 0x0010 */ Mtx mMtx;
/* 0x0040 */ Mtx mTexMtx;
/* 0x0070 */ Mtx mStickMtx;
/* 0x00A0 */ dKy_tevstr_c* mTevStr;
/* 0x00A4 */ cXyz m00A4[0x54 * 2];
/* 0x0884 */ cXyz m0884[0x54];
/* 0x0C74 */ cXyz m0C74[0x54 * 2];
Expand All @@ -41,18 +45,23 @@ class daSail_packet_c : public J3DPacket {
/* 0x1C38 */ s16 m1C38;
/* 0x1C3A */ u8 m1C3A;
/* 0x1C3B */ u8 m1C3B;
/* 0x1C3C */ J3DModel* m1C3C;
/* 0x1C40 */ u8 m1C40[0x1C44 - 0x1C40];
/* 0x1C3C */ J3DModel* mStickModel;
/* 0x1C40 */ s32 m1C40;
/* 0x1C44 */ f32 m1C44;
/* 0x1C48 */ f32 m1C48;
/* 0x1C4C */ f32 m1C4C;
/* 0x1C50 */ s16 m1C50;
/* 0x1C52 */ s16 m1C52;
};

class sail_class : public fopAc_ac_c {
public:
sail_class() {}

public:
/* 0x0290 */ request_of_phase_process_class mClothPhase;
/* 0x0298 */ request_of_phase_process_class mKaizokusenPhase;
/* 0x02A0 */ daSail_packet_c mSailPacket;
/* 0x1EEC */ u8 m1EEC[0x1EF4 - 0x1EEC];
LagoLunatic marked this conversation as resolved.
Show resolved Hide resolved
};

class daSail_HIO_c : public JORReflexible {
Expand All @@ -73,7 +82,9 @@ class daSail_HIO_c : public JORReflexible {
/* 0x05 */ u8 m05;
/* 0x06 */ u8 m06;
/* 0x07 */ u8 m07;
/* 0x08 */ u8 m08[0x10 - 0x08];
/* 0x08 */ u8 m08;
/* 0x09 */ u8 m09[0x0C - 0x09];
/* 0x0C */ f32 m0C;
/* 0x10 */ f32 m10;
};

Expand Down
1 change: 1 addition & 0 deletions include/d/d_kankyo.h
Original file line number Diff line number Diff line change
Expand Up @@ -396,6 +396,7 @@ void dKy_instant_rainchg();
SND_INFLUENCE * dKy_Sound_get();
void dKy_Sound_set(cXyz i_pos, int param_1, fpc_ProcID i_actorID, int param_3);
void dKy_SordFlush_set(cXyz hitPos, int lightType);
cXyz dKy_FirstlightVec_get(cXyz* param_0);
void dKy_itudemo_se();
void dKy_actor_addcol_set(s16, s16, s16, f32);
void dKy_actor_addcol_amb_set(s16, s16, s16, f32);
Expand Down
Loading