mirror of
https://github.com/zeldaret/tww.git
synced 2026-06-19 07:17:19 -04:00
match daPy_Create, rename headers
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
#ifndef D_A_PY_PY
|
||||
#define D_A_PY_PY
|
||||
#ifndef D_A_PLAYER
|
||||
#define D_A_PLAYER
|
||||
|
||||
#include "JSystem/J3DGraphAnimator/J3DMaterialAnm.h"
|
||||
#include "d/d_cc_d.h"
|
||||
#include "d/d_com_inf_game.h"
|
||||
#include "f_op/f_op_actor_mng.h"
|
||||
|
||||
class daPy_matAnm_c : public J3DMaterialAnm {
|
||||
@@ -15,6 +16,17 @@ public:
|
||||
virtual void calc(J3DMaterial*) const;
|
||||
};
|
||||
|
||||
class daPy_mtxFollowEcallBack_c {
|
||||
public:
|
||||
void execute(JPABaseEmitter*);
|
||||
void end();
|
||||
void makeEmitter(unsigned short, float(*)[4], const cXyz*, const cXyz*);
|
||||
void makeEmitterColor(unsigned short, float(*)[4], const cXyz*, const _GXColor*, const _GXColor*);
|
||||
void setup(JPABaseEmitter*, const cXyz*, const csXyz*, signed char);
|
||||
|
||||
/* 0x0 */ u8 field_0x0[0xC];
|
||||
};
|
||||
|
||||
class daPy_HIO_c {
|
||||
public:
|
||||
};
|
||||
@@ -51,9 +63,7 @@ private:
|
||||
|
||||
class daPy_py_c : public fopAc_ac_c {
|
||||
public:
|
||||
enum daPy_PROC {
|
||||
/* 0x000 */ PROC_0,
|
||||
};
|
||||
enum daPy_PROC {};
|
||||
|
||||
/* 0x290 */ u8 mAttackState;
|
||||
/* 0x291 */ u8 field_0x291;
|
||||
@@ -128,4 +138,4 @@ public:
|
||||
void getRopePos() const;
|
||||
};
|
||||
|
||||
#endif /* D_A_PY_PY */
|
||||
#endif /* D_A_PLAYER */
|
||||
@@ -1,5 +1,5 @@
|
||||
#ifndef D_A_PY_LK
|
||||
#define D_A_PY_LK
|
||||
#ifndef D_A_PLAYER_LINK
|
||||
#define D_A_PLAYER_LINK
|
||||
|
||||
#include "JAZelAudio/JAIZelBasic.h"
|
||||
#include "d/d_attention.h"
|
||||
@@ -7,8 +7,7 @@
|
||||
#include "d/d_bg_s_lin_chk.h"
|
||||
#include "d/d_drawlist.h"
|
||||
#include "m_Do/m_Do_ext.h"
|
||||
#include "d/d_com_inf_game.h"
|
||||
#include "d/actor/daPy_py.h"
|
||||
#include "d/actor/d_a_player.h"
|
||||
|
||||
class mDoExt_MtxCalcOldFrame;
|
||||
|
||||
@@ -97,11 +96,6 @@ public:
|
||||
/* 0x0 */ u8 field_0x0[0x28];
|
||||
};
|
||||
|
||||
class daPy_mtxFollowEcallBack_c {
|
||||
public:
|
||||
/* 0x0 */ u8 field_0x0[0xC];
|
||||
};
|
||||
|
||||
class dPa_smokeEcallBack {
|
||||
public:
|
||||
/* 0x0 */ u8 field_0x0[0x20];
|
||||
@@ -1306,4 +1300,4 @@ public:
|
||||
/* 0x4AF0 */ dCcD_Cps field_0x4af0;
|
||||
};
|
||||
|
||||
#endif /* D_A_PY_LK */
|
||||
#endif /* D_A_PLAYER_LINK */
|
||||
@@ -6,7 +6,7 @@
|
||||
#include "d/d_item.h"
|
||||
#include "d/d_item_data.h"
|
||||
#include "d/actor/d_a_item.h"
|
||||
#include "d/actor/daPy_lk.h"
|
||||
#include "d/actor/d_a_player_link.h"
|
||||
#include "d/d_com_inf_game.h"
|
||||
#include "d/d_procname.h"
|
||||
#include "dolphin/types.h"
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
// Translation Unit: d_a_player.cpp
|
||||
//
|
||||
|
||||
#include "daPy_lk.h"
|
||||
#include "dolphin/types.h"
|
||||
#include "d/actor/d_a_player.h"
|
||||
|
||||
/* 801028FC-80102940 .text changePlayer__9daPy_py_cFP10fopAc_ac_c */
|
||||
void daPy_py_c::changePlayer(fopAc_ac_c*) {
|
||||
|
||||
@@ -4,8 +4,9 @@
|
||||
//
|
||||
|
||||
#include "dolphin/types.h"
|
||||
#include "d/actor/daPy_lk.h"
|
||||
#include "d/actor/d_a_player_link.h"
|
||||
#include "d/d_com_inf_game.h"
|
||||
#include "d/d_com_lib_game.h"
|
||||
|
||||
/* 80102E8C-80102EAC .text daPy_createHeap__FP10fopAc_ac_c */
|
||||
void daPy_createHeap(fopAc_ac_c*) {
|
||||
@@ -1504,15 +1505,15 @@ void phase_3(daPy_lk_c*) {
|
||||
/* Nonmatching */
|
||||
}
|
||||
|
||||
/* 80127B70-80127BA0 .text daPy_Create__FP10fopAc_ac_c */
|
||||
void daPy_Create(fopAc_ac_c* i_this) {
|
||||
// static int (*l_method[3])(void*) = {
|
||||
// (int (*)(void*))phase_1,
|
||||
// (int (*)(void*))phase_2,
|
||||
// (int (*)(void*))phase_3,
|
||||
// };
|
||||
|
||||
// dComLbG_PhaseHandler(&(<static_cast>(i_this)->mPhsLoad), l_method, i_this);
|
||||
static int (*l_method[3])(void*) = {
|
||||
(int (*)(void*))phase_1,
|
||||
(int (*)(void*))phase_2,
|
||||
(int (*)(void*))phase_3,
|
||||
};
|
||||
daPy_lk_c* link = (daPy_lk_c*)i_this;
|
||||
|
||||
dComLbG_PhaseHandler(&link->mPhsLoad, l_method, link);
|
||||
}
|
||||
|
||||
/* 80127BA0-80127CC0 .text setSeAnime__9daPy_lk_cFPC14daPy_anmHeap_cP12J3DFrameCtrl */
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
#include "d/d_cc_d.h"
|
||||
#include "d/d_procname.h"
|
||||
#include "d/d_com_inf_game.h"
|
||||
#include "d/actor/daPy_lk.h"
|
||||
#include "d/actor/d_a_player_link.h"
|
||||
#include "JSystem/JKernel/JKRHeap.h"
|
||||
#include "dolphin/types.h"
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
#include "JSystem/JUtility/JUTAssert.h"
|
||||
#include "MSL_C/string.h"
|
||||
#include "SSystem/SComponent/c_phase.h"
|
||||
#include "d/actor/daPy_lk.h"
|
||||
#include "d/actor/d_a_player_link.h"
|
||||
#include "d/d_com_lib_game.h"
|
||||
#include "d/d_demo.h"
|
||||
#include "d/d_flower.h"
|
||||
|
||||
Reference in New Issue
Block a user