diff options
| author | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2023-11-25 23:53:05 -0500 |
|---|---|---|
| committer | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2023-11-25 23:53:05 -0500 |
| commit | 5039fe661cd3882d77b22dd72a2b3555aa658acd (patch) | |
| tree | 6160e28e8421a08b0559f716d802cd6bc58fa30c /src/d/d_throwstone.cpp | |
| parent | 30357c1712773d6538fc597cde60f2fe15e10c86 (diff) | |
Finished porting all actor classes to headers
Diffstat (limited to 'src/d/d_throwstone.cpp')
| -rw-r--r-- | src/d/d_throwstone.cpp | 18 |
1 files changed, 2 insertions, 16 deletions
diff --git a/src/d/d_throwstone.cpp b/src/d/d_throwstone.cpp index eb12db2e..13fd1a69 100644 --- a/src/d/d_throwstone.cpp +++ b/src/d/d_throwstone.cpp @@ -3,6 +3,7 @@ // Translation Unit: d_throwstone.cpp // +#include "d/d_throwstone.h" #include "f_op/f_op_actor.h" #include "f_op/f_op_actor_mng.h" #include "d/d_com_inf_game.h" @@ -11,21 +12,6 @@ #include "m_Do/m_Do_mtx.h" #include "JSystem/JKernel/JKRHeap.h" -class daThrowstone_c : fopAc_ac_c { -public: - s32 CreateHeap(); - inline s32 _create(); - inline BOOL _delete(); - inline BOOL _execute(); - inline bool _draw(); - static const char M_arcname[5]; - -public: - /* 0x290 */ request_of_phase_process_class mPhs; - /* 0x298 */ J3DModel * mpModel; - /* 0x29C */ Mtx mMtx; -}; - const char daThrowstone_c::M_arcname[] = "Aisi"; /* 8023B544-8023B564 .text CheckCreateHeap__FP10fopAc_ac_c */ @@ -35,7 +21,7 @@ static BOOL CheckCreateHeap(fopAc_ac_c* i_actor) { } /* 8023B564-8023B5DC .text CreateHeap__14daThrowstone_cFv */ -s32 daThrowstone_c::CreateHeap() { +BOOL daThrowstone_c::CreateHeap() { J3DModelData* pModelData = (J3DModelData*)dComIfG_getObjectRes(M_arcname, 0x03); if (pModelData == NULL) return FALSE; |
